summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-07-05 13:01:44 +0000
committertb <>2023-07-05 13:01:44 +0000
commit7acbb1a8ca133b54a2356964bf9622f50fb0cc85 (patch)
tree9f8ccb9db87c934e98f0d73682aebc05128a7eb4
parent13e259acf40a4556f0b7d75dedf06f08d072d607 (diff)
downloadopenbsd-7acbb1a8ca133b54a2356964bf9622f50fb0cc85.tar.gz
openbsd-7acbb1a8ca133b54a2356964bf9622f50fb0cc85.tar.bz2
openbsd-7acbb1a8ca133b54a2356964bf9622f50fb0cc85.zip
Drop an incorrect part from a comment
-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