diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-01-30 23:18:46 +0100 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-01-30 23:18:46 +0100 |
commit | ca2bf555cd64bc9624af1259ce3cd27f95a5763e (patch) | |
tree | e02beb157e56973ada62c679cb7b3b8756e86dfe /crypto/dh/dh_asn1.c | |
parent | Don't acknowledge a servername following warning alert in servername cb (diff) | |
download | openssl-ca2bf555cd64bc9624af1259ce3cd27f95a5763e.tar.xz openssl-ca2bf555cd64bc9624af1259ce3cd27f95a5763e.zip |
Add support for DH 'modp' group parameters (RFC 3526)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10897)
Diffstat (limited to 'crypto/dh/dh_asn1.c')
-rw-r--r-- | crypto/dh/dh_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_asn1.c b/crypto/dh/dh_asn1.c index 75f2dd5bde..ec589757d0 100644 --- a/crypto/dh/dh_asn1.c +++ b/crypto/dh/dh_asn1.c @@ -100,7 +100,7 @@ DH *d2i_DHxparams(DH **a, const unsigned char **pp, long length) } params = &dh->params; - ffc_params_set0_pqg(params, dhx->p, dhx->q, dhx->g); + DH_set0_pqg(dh, dhx->p, dhx->q, dhx->g); ffc_params_set0_j(params, dhx->j); if (dhx->vparams != NULL) { |