aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/ossl_typ.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-12-09 23:56:57 +0100
committerRichard Levitte <levitte@openssl.org>2015-12-09 23:56:57 +0100
commitf8d3ab49283ef6fa760da8b69aa5dfc4e83b0f01 (patch)
treeb3ecef44c2338ba52c787d3522272d35d4d3814e /include/openssl/ossl_typ.h
parent5e030525606d365f4f14a384d0b67f1cb38f2c6e (diff)
downloadopenssl-f8d3ab49283ef6fa760da8b69aa5dfc4e83b0f01.tar.gz
Move the definitions of EC_KEY and EC_KEY_METHOD to ossl_typ.h
Most of all, that has inclusion of openssl/engine.h work even if EC has been disabled. This is the same as has been done for DH, DSA, RSA and more... Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include/openssl/ossl_typ.h')
-rw-r--r--include/openssl/ossl_typ.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/ossl_typ.h b/include/openssl/ossl_typ.h
index 167974b923..a6d07a0bb3 100644
--- a/include/openssl/ossl_typ.h
+++ b/include/openssl/ossl_typ.h
@@ -148,6 +148,9 @@ typedef struct dsa_method DSA_METHOD;
typedef struct rsa_st RSA;
typedef struct rsa_meth_st RSA_METHOD;
+typedef struct ec_key_st EC_KEY;
+typedef struct ec_key_method_st EC_KEY_METHOD;
+
typedef struct rand_meth_st RAND_METHOD;
typedef struct x509_st X509;