[stunnel-users] 4.16 compilation fails for openssl without engine
Hans Werner Strube
strube at physik3.gwdg.de
Fri Sep 1 11:34:43 CEST 2006
When openssl was compiled without engine support, compilation of src/ssl.c
in stunnel-4.16 fails because of a misplaced #endif. Patch:
--- src/ssl.c.ORI Thu Jun 29 23:12:03 2006
+++ src/ssl.c Fri Sep 1 11:30:25 2006
@@ -286,8 +286,6 @@
s_log(LOG_DEBUG, "Engine %d initialized", current_engine+1);
}
-#endif
-
ENGINE *get_engine(int i) {
if(i<1 || i>current_engine)
return NULL;
@@ -294,4 +292,6 @@
return engines[i-1];
}
+#endif
+
/* End of ssl.c */
More information about the stunnel-users
mailing list