diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-03 05:29:04 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-03 05:29:04 +0000 |
commit | 9c071d3a70b7d74f3d1698d876ffdb94d70e843a (patch) | |
tree | d3e48f66e7c322713a9741571ad3d9468f0ff472 /lib/libcrypto | |
parent | 54b2bf92bd107ecf4154b4d436c23cf265ba1289 (diff) |
Trade a pair of extra braces for a missing empty line
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/ecdsa/ecs_ossl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/ecdsa/ecs_ossl.c b/lib/libcrypto/ecdsa/ecs_ossl.c index adbabb609be..514de21c0c0 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.45 2023/07/02 13:37:09 tb Exp $ */ +/* $OpenBSD: ecs_ossl.c,v 1.46 2023/07/03 05:29:03 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project */ @@ -104,9 +104,8 @@ ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *si int outlen = 0; int ret = 0; - if ((s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey)) == NULL) { + 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; @@ -117,6 +116,7 @@ ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *si err: *siglen = outlen; ECDSA_SIG_free(s); + return ret; } |