summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/dsaparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/dsaparam.c')
-rw-r--r--src/usr.bin/openssl/dsaparam.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/dsaparam.c b/src/usr.bin/openssl/dsaparam.c
index 73249498fc..37b9a68693 100644
--- a/src/usr.bin/openssl/dsaparam.c
+++ b/src/usr.bin/openssl/dsaparam.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsaparam.c,v 1.6 2015/10/10 22:28:51 doug Exp $ */ 1/* $OpenBSD: dsaparam.c,v 1.7 2015/10/17 15:00:11 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -169,8 +169,10 @@ dsaparam_main(int argc, char **argv)
169 char *strbits = NULL; 169 char *strbits = NULL;
170 170
171 if (single_execution) { 171 if (single_execution) {
172 if (pledge("stdio rpath wpath cpath", NULL) == -1) 172 if (pledge("stdio rpath wpath cpath", NULL) == -1) {
173 perror("pledge"); 173 perror("pledge");
174 exit(1);
175 }
174 } 176 }
175 177
176 memset(&dsaparam_config, 0, sizeof(dsaparam_config)); 178 memset(&dsaparam_config, 0, sizeof(dsaparam_config));