Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/apps CID 1199067: Unchecked...



details:   https://anonhg.NetBSD.org/src/rev/787ae9504917
branches:  trunk
changeset: 807530:787ae9504917
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 13 17:44:23 2015 +0000

description:
CID 1199067: Unchecked return

diffstat:

 crypto/external/bsd/openssl/dist/apps/s_time.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r c4be7894f902 -r 787ae9504917 crypto/external/bsd/openssl/dist/apps/s_time.c
--- a/crypto/external/bsd/openssl/dist/apps/s_time.c    Mon Apr 13 17:38:20 2015 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/s_time.c    Mon Apr 13 17:44:23 2015 +0000
@@ -375,7 +375,11 @@
 
     if (st_bugs)
         SSL_CTX_set_options(tm_ctx, SSL_OP_ALL);
-    SSL_CTX_set_cipher_list(tm_ctx, tm_cipher);
+    if (!SSL_CTX_set_cipher_list(tm_ctx, tm_cipher)) {
+       /* BIO_printf(bio_err, "Error in cipher list\n"); */
+       goto end;
+    }
+
     if (!set_cert_stuff(tm_ctx, t_cert_file, t_key_file))
         goto end;
 



Home | Main Index | Thread Index | Old Index