Fixing compilation of the OpenSSL plugin if Elliptic Curve support is disabled.

That is, enable compilation if OpenSSL was configured with
OPENSSL_NO_EC.
This commit is contained in:
Tobias Brunner
2010-06-22 11:55:33 +02:00
parent 5d31217232
commit 5a367e99c3
4 changed files with 25 additions and 3 deletions
@@ -13,6 +13,10 @@
* for more details.
*/
#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC
#include <openssl/ec.h>
#include <openssl/objects.h>
@@ -331,3 +335,5 @@ openssl_ec_diffie_hellman_t *openssl_ec_diffie_hellman_create(diffie_hellman_gro
return &this->public;
}
#endif /* OPENSSL_NO_EC */