summaryrefslogtreecommitdiffstats
path: root/crypto/ossl_typ.h
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-05-15 20:32:08 +0200
committerGeoff Thorpe <geoff@openssl.org>2004-05-15 20:32:08 +0200
commitd6dda126b7921c1067cdc49845e4656c53a5c96b (patch)
tree56add0d2b707f7697918103d858a5f33eac8f050 /crypto/ossl_typ.h
parentThis file implements various functions that have since been redefined as (diff)
downloadopenssl-d6dda126b7921c1067cdc49845e4656c53a5c96b.tar.xz
openssl-d6dda126b7921c1067cdc49845e4656c53a5c96b.zip
Make some more API types opaquely available from ossl_typ.h, meaning the
corresponding headers are only required for API functions or structure details. This now includes the bignum types and BUF_MEM. Subsequent commits will remove various dependencies on bn.h and buffer.h and update the makefile dependencies.
Diffstat (limited to 'crypto/ossl_typ.h')
-rw-r--r--crypto/ossl_typ.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/ossl_typ.h b/crypto/ossl_typ.h
index 41a0558617..86399c4ec0 100644
--- a/crypto/ossl_typ.h
+++ b/crypto/ossl_typ.h
@@ -101,6 +101,18 @@ typedef int ASN1_NULL;
#undef PKCS7_ISSUER_AND_SERIAL
#endif
+#ifdef BIGNUM
+#undef BIGNUM
+#endif
+typedef struct bignum_st BIGNUM;
+typedef struct bignum_ctx BN_CTX;
+typedef struct bn_blinding_st BN_BLINDING;
+typedef struct bn_mont_ctx_st BN_MONT_CTX;
+typedef struct bn_recp_ctx_st BN_RECP_CTX;
+typedef struct bn_gencb_st BN_GENCB;
+
+typedef struct buf_mem_st BUF_MEM;
+
typedef struct evp_cipher_st EVP_CIPHER;
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
typedef struct env_md_st EVP_MD;