diff options
Diffstat (limited to 'src/usr.bin/openssl/dsa.c')
-rw-r--r-- | src/usr.bin/openssl/dsa.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/dsa.c b/src/usr.bin/openssl/dsa.c index 6a774ee545..3ca174a1e9 100644 --- a/src/usr.bin/openssl/dsa.c +++ b/src/usr.bin/openssl/dsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa.c,v 1.7 2015/10/17 07:51:10 semarie Exp $ */ | 1 | /* $OpenBSD: dsa.c,v 1.8 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 | * |
@@ -241,8 +241,10 @@ dsa_main(int argc, char **argv) | |||
241 | char *passin = NULL, *passout = NULL; | 241 | char *passin = NULL, *passout = NULL; |
242 | 242 | ||
243 | if (single_execution) { | 243 | if (single_execution) { |
244 | if (pledge("stdio rpath wpath cpath tty", NULL) == -1) | 244 | if (pledge("stdio rpath wpath cpath tty", NULL) == -1) { |
245 | perror("pledge"); | 245 | perror("pledge"); |
246 | exit(1); | ||
247 | } | ||
246 | } | 248 | } |
247 | 249 | ||
248 | memset(&dsa_config, 0, sizeof(dsa_config)); | 250 | memset(&dsa_config, 0, sizeof(dsa_config)); |