Fix typo in comment in DH_set0_pqg function
authorDaniel Bevenius <daniel.bevenius@gmail.com>
Tue, 23 Feb 2021 12:30:13 +0000 (13:30 +0100)
committerPauli <ppzgs1@gmail.com>
Wed, 24 Feb 2021 14:06:41 +0000 (00:06 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14288)

crypto/dh/dh_lib.c

index 46aba02bad75d54ca2626f699060cf7ffb7cbf9b..e3db7a49292e3042485f345d3984f0ca136684d5 100644 (file)
@@ -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)