summaryrefslogtreecommitdiff
path: root/ssh_api.c
diff options
context:
space:
mode:
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;
}