summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2021-02-23 13:30:13 +0100
committerPauli <ppzgs1@gmail.com>2021-02-25 00:06:41 +1000
commitaf9f2ee339acd3958c0a8262e7e1012a632025da (patch)
treee1f23ef2173bf5e70b4f8eccc081ac2899a67b11 /crypto/dh
parent81c15ed00bbe5cb4b864ad9b1fab12a26fa91201 (diff)
Fix typo in comment in DH_set0_pqg function
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14288)
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_lib.c b/crypto/dh/dh_lib.c
index 46aba02bad..e3db7a4929 100644
--- a/crypto/dh/dh_lib.c
+++ b/crypto/dh/dh_lib.c
@@ -222,7 +222,7 @@ void DH_get0_pqg(const DH *dh,
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
{
/*
- * If the fields p and g in d are NULL, the corresponding input
+ * If the fields p and g in dh are NULL, the corresponding input
* parameters MUST be non-NULL. q may remain NULL.
*/
if ((dh->params.p == NULL && p == NULL)