summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-05 12:56:52 +0000
committertb <>2023-07-05 12:56:52 +0000
commitca32e33e6bd22ef483321a224959101ab6f01ec5 (patch)
treefc3369177204caf14f6bbc6b4e8898e6e11d22e8 /src/lib
parent7b5ba5f37410e5ecfcea5e5c460215bb3d19362f (diff)
downloadopenbsd-ca32e33e6bd22ef483321a224959101ab6f01ec5.tar.gz
openbsd-ca32e33e6bd22ef483321a224959101ab6f01ec5.tar.bz2
openbsd-ca32e33e6bd22ef483321a224959101ab6f01ec5.zip
Missing . in 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 2da020d0b4..28c5d666dd 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.5 2023/07/05 12:54:46 tb Exp $ */ 1/* $OpenBSD: ecdsa.c,v 1.6 2023/07/05 12:56:52 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 *
@@ -615,7 +615,7 @@ ecdsa_verify(int type, const unsigned char *digest, int digest_len,
615 if (d2i_ECDSA_SIG(&s, &p, sig_len) == NULL) 615 if (d2i_ECDSA_SIG(&s, &p, sig_len) == NULL)
616 goto err; 616 goto err;
617 617
618 /* Ensure signature uses DER and doesn't have trailing garbage */ 618 /* Ensure signature uses DER and doesn't have trailing garbage. */
619 if ((der_len = i2d_ECDSA_SIG(s, &der)) != sig_len) 619 if ((der_len = i2d_ECDSA_SIG(s, &der)) != sig_len)
620 goto err; 620 goto err;
621 if (timingsafe_memcmp(sigbuf, der, der_len)) 621 if (timingsafe_memcmp(sigbuf, der, der_len))