diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 11:38:51 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 11:38:51 +0000 |
commit | 90de4ab78cb6f504178d33f6172d55450163d240 (patch) | |
tree | b4414a60029a42ba8e92186b3e6e311a7306c143 /crypto/openssl/crypto/dsa/dsa.h | |
parent | 30f57c4bdf5ff9efeee09c92d5e30a90ae8484a6 (diff) | |
download | src-90de4ab78cb6f504178d33f6172d55450163d240.tar.gz src-90de4ab78cb6f504178d33f6172d55450163d240.zip |
MFC: OpenSSL 0.9.6
Notes
Notes:
svn path=/stable/4/; revision=69205
Diffstat (limited to 'crypto/openssl/crypto/dsa/dsa.h')
-rw-r--r-- | crypto/openssl/crypto/dsa/dsa.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/crypto/openssl/crypto/dsa/dsa.h b/crypto/openssl/crypto/dsa/dsa.h index 68d9912cbc51..3ebcc4ae0a40 100644 --- a/crypto/openssl/crypto/dsa/dsa.h +++ b/crypto/openssl/crypto/dsa/dsa.h @@ -65,14 +65,13 @@ #ifndef HEADER_DSA_H #define HEADER_DSA_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_DSA #error DSA is disabled. #endif +#ifndef NO_BIO +#include <openssl/bio.h> +#endif #include <openssl/bn.h> #include <openssl/crypto.h> #ifndef NO_DH @@ -81,6 +80,10 @@ extern "C" { #define DSA_FLAG_CACHE_MONT_P 0x01 +#ifdef __cplusplus +extern "C" { +#endif + typedef struct dsa_st DSA; typedef struct DSA_SIG_st @@ -188,7 +191,7 @@ int i2d_DSAPublicKey(DSA *a, unsigned char **pp); int i2d_DSAPrivateKey(DSA *a, unsigned char **pp); int i2d_DSAparams(DSA *a,unsigned char **pp); -#ifdef HEADER_BIO_H +#ifndef NO_BIO int DSAparams_print(BIO *bp, DSA *x); int DSA_print(BIO *bp, DSA *x, int off); #endif |