diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-03 05:48:19 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-03 05:48:19 +0000 |
commit | a688c485c12f2e89f54526ac540adff0f3c3e9d3 (patch) | |
tree | b09372f73ab5e899027b6c0daa560ec5d87dd8bf /lib | |
parent | d87994246cce5590c28733b7731deba1ac3309ac (diff) |
Another empty line did not want to go in
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/ecdsa/ecs_ossl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/ecdsa/ecs_ossl.c b/lib/libcrypto/ecdsa/ecs_ossl.c index 514de21c0c0..0a2482daa62 100644 --- a/lib/libcrypto/ecdsa/ecs_ossl.c +++ b/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; |