summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_asn1.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-01-30 23:18:46 +0100
committerShane Lontis <shane.lontis@oracle.com>2020-01-30 23:18:46 +0100
commitca2bf555cd64bc9624af1259ce3cd27f95a5763e (patch)
treee02beb157e56973ada62c679cb7b3b8756e86dfe /crypto/dh/dh_asn1.c
parentDon't acknowledge a servername following warning alert in servername cb (diff)
downloadopenssl-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.c2
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) {