summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/errstr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-23 16:10:02 +0000
committerjsing <jsing@openbsd.org>2014-05-23 16:10:02 +0000
commit1ac48a677c57686b7fd45d93304e7de46d6c3fe0 (patch)
tree0f11f6fb1fb0d55d3d0aca1410d685479ea082ec /lib/libssl/src/apps/errstr.c
parentMove include to the top and nuke pointless comments. (diff)
downloadwireguard-openbsd-1ac48a677c57686b7fd45d93304e7de46d6c3fe0.tar.xz
wireguard-openbsd-1ac48a677c57686b7fd45d93304e7de46d6c3fe0.zip
Calling signal once to ignore SIGPIPE is sufficient - we do not need to do
this again in each app. ok miod@
Diffstat (limited to 'lib/libssl/src/apps/errstr.c')
-rw-r--r--lib/libssl/src/apps/errstr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/errstr.c b/lib/libssl/src/apps/errstr.c
index 5c724285a09..7e910a5356c 100644
--- a/lib/libssl/src/apps/errstr.c
+++ b/lib/libssl/src/apps/errstr.c
@@ -76,8 +76,6 @@ errstr_main(int argc, char **argv)
char buf[256];
unsigned long l;
- signal(SIGPIPE, SIG_IGN);
-
SSL_load_error_strings();
if ((argc > 1) && (strcmp(argv[1], "-stats") == 0)) {