summaryrefslogtreecommitdiff
path: root/ssh_api.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-01-30 23:10:17 +1100
committerDamien Miller <djm@mindrot.org>2015-02-18 22:29:32 +1100
commit773dda25e828c4c9a52f7bdce6e1e5924157beab (patch)
tree831507f35a8feb0ae984a7a13f521932a0fedb61 /ssh_api.c
parente89c780886b23600de1e1c8d74aabd1ff61f43f0 (diff)
downloadopenssh-git-773dda25e828c4c9a52f7bdce6e1e5924157beab.tar.gz
repair --without-openssl; broken in refactor
Diffstat (limited to 'ssh_api.c')
-rw-r--r--ssh_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh_api.c b/ssh_api.c
index 265a3e63..ca4789b5 100644
--- a/ssh_api.c
+++ b/ssh_api.c
@@ -81,7 +81,9 @@ ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params)
int r;
if (!called) {
+#ifdef WITH_OPENSSL
OpenSSL_add_all_algorithms();
+#endif /* WITH_OPENSSL */
called = 1;
}