OSDN Git Service

Ver.1.5.39 Fixed link error
[opengate/opengate.git] / opengate / opengatesrv / auth-ftps.c
index 96d4ce3..aaf4b6e 100644 (file)
@@ -220,7 +220,7 @@ int authFtpsi(char *userid, char *passwd)
   /* ----------------------------------------------- */
   /* prepare SSL */
   SSLeay_add_ssl_algorithms();
-  meth = SSLv2_client_method();
+  meth = SSLv23_client_method();
   SSL_load_error_strings();
   ctx = SSL_CTX_new (meth);
   if( ctx == NULL ){