summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/ciphers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/ciphers.c')
-rw-r--r--src/usr.bin/openssl/ciphers.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c
index caa40854ea..72e12a3aae 100644
--- a/src/usr.bin/openssl/ciphers.c
+++ b/src/usr.bin/openssl/ciphers.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ciphers.c,v 1.7 2015/10/10 22:28:51 doug Exp $ */ 1/* $OpenBSD: ciphers.c,v 1.8 2015/10/17 15:00:11 doug Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -82,8 +82,10 @@ ciphers_main(int argc, char **argv)
82 char *desc; 82 char *desc;
83 83
84 if (single_execution) { 84 if (single_execution) {
85 if (pledge("stdio rpath", NULL) == -1) 85 if (pledge("stdio rpath", NULL) == -1) {
86 perror("pledge"); 86 perror("pledge");
87 exit(1);
88 }
87 } 89 }
88 90
89 memset(&ciphers_config, 0, sizeof(ciphers_config)); 91 memset(&ciphers_config, 0, sizeof(ciphers_config));