[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Richard Levitte
levitte at openssl.org
Thu Apr 13 11:26:38 UTC 2017
The branch OpenSSL_1_0_2-stable has been updated
via e8f2e2fb3d82485af297717b93358f488e15eae0 (commit)
from 71d66c46c725a88a8d14b747610656e15610109e (commit)
- Log -----------------------------------------------------------------
commit e8f2e2fb3d82485af297717b93358f488e15eae0
Author: junfx <junfx at users.noreply.github.com>
Date: Thu Apr 13 15:56:50 2017 +0800
pkeyutl exit with 0 if the verification succeeded
If exiting non-zero, which not consistent with shell conventions,
the shells/scripts treat the cmd as failed.
CLA: trivial
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3213)
-----------------------------------------------------------------------
Summary of changes:
apps/pkeyutl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c
index 7c62d1c..19f2e5d 100644
--- a/apps/pkeyutl.c
+++ b/apps/pkeyutl.c
@@ -322,8 +322,10 @@ int MAIN(int argc, char **argv)
buf_in, (size_t)buf_inlen);
if (rv == 0)
BIO_puts(out, "Signature Verification Failure\n");
- else if (rv == 1)
+ else if (rv == 1) {
BIO_puts(out, "Signature Verified Successfully\n");
+ ret = 0;
+ }
if (rv >= 0)
goto end;
} else {
More information about the openssl-commits
mailing list