summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-03-09 20:56:43 -0500
committerRich Salz <rsalz@akamai.com>2016-03-09 20:58:08 -0500
commit599eccfcbf8d77eb7c89b6338fdc39a7531a9f82 (patch)
tree4c6bd95ca08653dac90dac0f7d507b8d5f1cc6e4 /include
parenta70ca74086e5efe4f390302d10ca6167674d8743 (diff)
RT3676 add: Export ASN.1 DHparams
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/dh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/dh.h b/include/openssl/dh.h
index 50f8e51c08..e852cbe446 100644
--- a/include/openssl/dh.h
+++ b/include/openssl/dh.h
@@ -66,6 +66,7 @@
# endif
# include <openssl/bio.h>
+# include <openssl/asn1.h>
# include <openssl/ossl_typ.h>
# if OPENSSL_API_COMPAT < 0x10100000L
# include <openssl/bn.h>
@@ -159,6 +160,8 @@ struct dh_st {
CRYPTO_RWLOCK *lock;
};
+DECLARE_ASN1_ITEM(DHparams)
+
# define DH_GENERATOR_2 2
/* #define DH_GENERATOR_3 3 */
# define DH_GENERATOR_5 5