Module Name: src
Committed By: christos
Date: Mon Apr 13 17:44:24 UTC 2015
Modified Files:
src/crypto/external/bsd/openssl/dist/apps: s_time.c
Log Message:
CID 1199067: Unchecked return
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssl/dist/apps/s_time.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssl/dist/apps/s_time.c
diff -u src/crypto/external/bsd/openssl/dist/apps/s_time.c:1.4 src/crypto/external/bsd/openssl/dist/apps/s_time.c:1.5
--- src/crypto/external/bsd/openssl/dist/apps/s_time.c:1.4 Mon Mar 23 06:22:45 2015
+++ src/crypto/external/bsd/openssl/dist/apps/s_time.c Mon Apr 13 13:44:23 2015
@@ -375,7 +375,11 @@ int MAIN(int argc, char **argv)
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;