Don't compile login() in openssl_rsa_private_key_t if ENGINE support is disabled in OpenSSL.

This commit is contained in:
Tobias Brunner
2011-05-13 13:11:11 +02:00
parent 38a93a3cd9
commit 0e080d9b64
@@ -455,6 +455,7 @@ openssl_rsa_private_key_t *openssl_rsa_private_key_load(key_type_t type,
return NULL;
}
#ifndef OPENSSL_NO_ENGINE
/**
* Login to engine with a PIN specified for a keyid
*/
@@ -496,6 +497,7 @@ static bool login(ENGINE *engine, chunk_t keyid)
}
return success;
}
#endif /* OPENSSL_NO_ENGINE */
/**
* See header.