From: Hubert Kario Date: Sat, 6 Jun 2020 20:23:17 +0000 (+0200) Subject: fix doc typo in bn_dh.c X-Git-Tag: openssl-3.0.0-alpha4~159 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=c8636ebf4a951447754d446810349618ddc77a60;ds=sidebyside fix doc typo in bn_dh.c while RFC 2312 refers to S/MIME it doesn't actually declare any groups, RFC 2412 actually talks about DH extensively and the group defined in the code below is defined on page 47 of it Reviewed-by: Kurt Roeckx Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/12076) --- diff --git a/crypto/bn/bn_dh.c b/crypto/bn/bn_dh.c index 9a7cc17f62..74ce024004 100644 --- a/crypto/bn/bn_dh.c +++ b/crypto/bn/bn_dh.c @@ -29,7 +29,7 @@ * The prime is: 2^1536 - 2^1472 - 1 + 2^64 * { [2^1406 pi] + 741804 } * * RFC3526 specifies a generator of 2. - * RFC2312 specifies a generator of 22. + * RFC2412 specifies a generator of 22. */ static const BN_ULONG modp_1536_p[] = { BN_DEF(0xFFFFFFFF, 0xFFFFFFFF), BN_DEF(0xCA237327, 0xF1746C08),