summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-05 13:01:44 +0000
committertb <>2023-07-05 13:01:44 +0000
commit0a0b792020542a8a29c5c9a9a40b6e12af3a46a9 (patch)
tree9f8ccb9db87c934e98f0d73682aebc05128a7eb4 /src/lib
parentca32e33e6bd22ef483321a224959101ab6f01ec5 (diff)
downloadopenbsd-0a0b792020542a8a29c5c9a9a40b6e12af3a46a9.tar.gz
openbsd-0a0b792020542a8a29c5c9a9a40b6e12af3a46a9.tar.bz2
openbsd-0a0b792020542a8a29c5c9a9a40b6e12af3a46a9.zip
Drop an incorrect part from a comment
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.c b/src/lib/libcrypto/ecdsa/ecdsa.c
index 28c5d666dd..b35f70688f 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.c
+++ b/src/lib/libcrypto/ecdsa/ecdsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.c,v 1.6 2023/07/05 12:56:52 tb Exp $ */ 1/* $OpenBSD: ecdsa.c,v 1.7 2023/07/05 13:01:44 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -239,7 +239,7 @@ ecdsa_sign(int type, const unsigned char *digest, int digest_len,
239 239
240/* 240/*
241 * FIPS 186-5, section 6.4.1, steps 3-8 and 11: Generate k, calculate r and 241 * FIPS 186-5, section 6.4.1, steps 3-8 and 11: Generate k, calculate r and
242 * kinv, and clear it. If r == 0, try again with a new random k. 242 * kinv. If r == 0, try again with a new random k.
243 */ 243 */
244 244
245int 245int