From a85cbed79eb84739306350203cd9a95f63a6baa0 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 3 Jul 2023 05:48:18 +0000 Subject: Another empty line did not want to go in --- src/lib/libcrypto/ecdsa/ecs_ossl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: ecs_ossl.c,v 1.46 2023/07/03 05:29:03 tb Exp $ */ +/* $OpenBSD: ecs_ossl.c,v 1.47 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; -- cgit v1.2.3-55-g6feb