diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-02-06 22:28:36 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-02-06 22:28:36 +1000 |
commit | f11f86f6ec7fb31bde1da2810ac975c032205321 (patch) | |
tree | d263614f6dfee9162499a01d14336bb36d543e3f /crypto/dh/dh_asn1.c | |
parent | 104a733df65dfd8c3dd110de9bd56f6ebfc8f2f6 (diff) |
Add FFC param/key generation
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10909)
Diffstat (limited to 'crypto/dh/dh_asn1.c')
-rw-r--r-- | crypto/dh/dh_asn1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dh/dh_asn1.c b/crypto/dh/dh_asn1.c index ec589757d0..829cc87464 100644 --- a/crypto/dh/dh_asn1.c +++ b/crypto/dh/dh_asn1.c @@ -85,6 +85,7 @@ DH *d2i_DHxparams(DH **a, const unsigned char **pp, long length) FFC_PARAMS *params; int_dhx942_dh *dhx = NULL; DH *dh = NULL; + dh = DH_new(); if (dh == NULL) return NULL; |