summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-31 09:02:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-31 09:02:29 +0000
commit926097749cd0c06158a31001abc721359e5c4dcf (patch)
tree88080a9b8164d7909ed5cf73bf24bff7e35b1e0a /usr.sbin
parent69c47d3eeb03f49504e2e5a8bca856844704553a (diff)
#ifdef MOD_SSL for OpenSSL initialization
pointed out buy Stephane Engel Thankski!
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/main/http_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/main/http_main.c b/usr.sbin/httpd/src/main/http_main.c
index 83c56aac71e..2757a45aea5 100644
--- a/usr.sbin/httpd/src/main/http_main.c
+++ b/usr.sbin/httpd/src/main/http_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: http_main.c,v 1.21 2002/07/29 16:47:22 henning Exp $ */
+/* $OpenBSD: http_main.c,v 1.22 2002/07/31 09:02:28 henning Exp $ */
/* ====================================================================
* The Apache Software License, Version 1.1
@@ -5199,7 +5199,9 @@ static void standalone_main(int argc, char **argv)
}
/* initialize /dev/crypto, XXX check for -DSSL option */
+#ifdef MOD_SSL
OpenSSL_add_all_algorithms();
+#endif
if (chroot(ap_server_root) < 0) {
ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf,