summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-08-25 19:12:37 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-08-25 19:12:37 +0000
commit49b20387b934d1c058d60d5caa0cc33386875e91 (patch)
tree9b95c072ee3e7fb96fc28c1b92494d1f391c7ec6 /lib
parentccdf72b6046905b3635e15484f81dd20b7c85f7b (diff)
Setup /dev/crypto early (SSL_library_init) to make sure it's actually done
for all applications; ok markus and deraadt
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/ssl/ssl_algs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libssl/src/ssl/ssl_algs.c b/lib/libssl/src/ssl/ssl_algs.c
index 3d1299ee7b9..e9d566f1641 100644
--- a/lib/libssl/src/ssl/ssl_algs.c
+++ b/lib/libssl/src/ssl/ssl_algs.c
@@ -106,6 +106,9 @@ int SSL_library_init(void)
EVP_add_digest(EVP_sha());
EVP_add_digest(EVP_dss());
#endif
+#ifdef __OpenBSD__
+ ENGINE_setup_openbsd();
+#endif
return(1);
}