artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490f565
)
Another empty line did not want to go in
author
tb
<tb@openbsd.org>
Mon, 3 Jul 2023 05:48:18 +0000
(
05:48
+0000)
committer
tb
<tb@openbsd.org>
Mon, 3 Jul 2023 05:48:18 +0000
(
05:48
+0000)
lib/libcrypto/ecdsa/ecs_ossl.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/ecdsa/ecs_ossl.c
b/lib/libcrypto/ecdsa/ecs_ossl.c
index
514de21
..
0a2482d
100644
(file)
--- a/
lib/libcrypto/ecdsa/ecs_ossl.c
+++ b/
lib/libcrypto/ecdsa/ecs_ossl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ecs_ossl.c,v 1.4
6 2023/07/03 05:29:03
tb Exp $ */
+/* $OpenBSD: ecs_ossl.c,v 1.4
7 2023/07/03 05:48:18
tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project
*/
@@
-106,6
+106,7
@@
ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *si
if ((s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey)) == NULL)
goto err;
+
if ((outlen = i2d_ECDSA_SIG(s, &sig)) < 0) {
outlen = 0;
goto err;