summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_pkey.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-05-17 19:14:22 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-05-17 19:14:22 +0000
commit0f814687b95e5980744240b7a81672c89c255340 (patch)
tree7e65ceeb8d939a4ab4dbadb5170bb879a6c361cd /crypto/evp/evp_pkey.c
parentf0eae953e2a02a92674e39f5ff087c1f67afd7dc (diff)
Deprecate the recursive includes of bn.h from various API headers (asn1.h,
dh.h, dsa.h, ec.h, ecdh.h, ecdsa.h, rsa.h), as the opaque bignum types are already declared in ossl_typ.h. Add explicit includes for bn.h in those C files that need access to structure internals or API functions+macros.
Diffstat (limited to 'crypto/evp/evp_pkey.c')
-rw-r--r--crypto/evp/evp_pkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/evp_pkey.c b/crypto/evp/evp_pkey.c
index dd63e09e55..e81b810dea 100644
--- a/crypto/evp/evp_pkey.c
+++ b/crypto/evp/evp_pkey.c
@@ -63,6 +63,7 @@
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>
+#include <openssl/bn.h>
#ifndef OPENSSL_NO_DSA
static int dsa_pkey2pkcs8(PKCS8_PRIV_KEY_INFO *p8inf, EVP_PKEY *pkey);