summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/gendh.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/gendh.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/gendh.c')
-rw-r--r--lib/libssl/src/apps/gendh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/gendh.c b/lib/libssl/src/apps/gendh.c
index 4fd47092dd2..53b09985f75 100644
--- a/lib/libssl/src/apps/gendh.c
+++ b/lib/libssl/src/apps/gendh.c
@@ -103,8 +103,6 @@ gendh_main(int argc, char **argv)
#endif
BIO *out = NULL;
- signal(SIGPIPE, SIG_IGN);
-
BN_GENCB_set(&cb, dh_cb, bio_err);
if (!load_config(bio_err, NULL))