From 02b8b837c9bfd1e47144dff5ff93d91e66de1f0b Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 21 Oct 2011 11:20:14 +0000 Subject: [PATCH] Allow file to compile without cryptlib again (USE_CRYPTLIB not defined). --- src/sbbs3/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index b162a22779..2888d9a515 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -5103,7 +5103,7 @@ NO_SSH: #endif /* Do SSH stuff here */ - +#ifdef USE_CRYPTLIB if(ssh) { int ssh_failed=0; if(!cryptStatusOK(i=cryptCreateSession(&sbbs->ssh_session, CRYPT_UNUSED, CRYPT_SESSION_SSH_SERVER))) { @@ -5168,7 +5168,7 @@ NO_SSH: } cryptPopData(sbbs->ssh_session, str, sizeof(str), &i); } - +#endif sbbs->client_socket=client_socket; // required for output to the user sbbs->online=ON_REMOTE; -- GitLab