summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-07-03 05:48:18 +0000
committertb <>2023-07-03 05:48:18 +0000
commita85cbed79eb84739306350203cd9a95f63a6baa0 (patch)
tree658250caf4a0df9e8c05f6c36c0f74fbf5b8cec3 /src
parent17ae1ac5b15361689bec3332903ac80898b214c5 (diff)
downloadopenbsd-a85cbed79eb84739306350203cd9a95f63a6baa0.tar.gz
openbsd-a85cbed79eb84739306350203cd9a95f63a6baa0.tar.bz2
openbsd-a85cbed79eb84739306350203cd9a95f63a6baa0.zip
Another empty line did not want to go in
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_ossl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c
index 514de21c0c..0a2482daa6 100644
--- a/src/lib/libcrypto/ecdsa/ecs_ossl.c
+++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecs_ossl.c,v 1.46 2023/07/03 05:29:03 tb Exp $ */ 1/* $OpenBSD: ecs_ossl.c,v 1.47 2023/07/03 05:48:18 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -106,6 +106,7 @@ ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *si
106 106
107 if ((s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey)) == NULL) 107 if ((s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey)) == NULL)
108 goto err; 108 goto err;
109
109 if ((outlen = i2d_ECDSA_SIG(s, &sig)) < 0) { 110 if ((outlen = i2d_ECDSA_SIG(s, &sig)) < 0) {
110 outlen = 0; 111 outlen = 0;
111 goto err; 112 goto err;