summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-12-06 13:14:09 +0000
committerhenning <henning@openbsd.org>2004-12-06 13:14:09 +0000
commit3c41b1be094c9b9a817ef32af8ba75f896dbaf1b (patch)
tree1b83c1ac976a21ef97f2c5391212311ced996415 /usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
parentUsage (diff)
downloadwireguard-openbsd-3c41b1be094c9b9a817ef32af8ba75f896dbaf1b.tar.xz
wireguard-openbsd-3c41b1be094c9b9a817ef32af8ba75f896dbaf1b.zip
kill more dead code, mostly inside #ifdef SOMENONSENSEONSTUPIDOSES
joint work by Michael Knudsen <e@molioner.dk> and Daniel Ouellet <daniel@presscom.net> with my input no change in binaries
Diffstat (limited to 'usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
index f774b2880ca..c4f7e8f3413 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
@@ -168,11 +168,7 @@ DH *ssl_dh_GetParamFromFile(char *file)
if ((bio = BIO_new_file(file, "r")) == NULL)
return NULL;
-#if SSL_LIBRARY_VERSION < 0x00904000
- dh = PEM_read_bio_DHparams(bio, NULL, NULL);
-#else
dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
-#endif
BIO_free(bio);
return (dh);
}