Name: cvsnt
# http://www.cvsnt.org/archive/2.5_stable tell which version is stable
Version: 2.5.05.3744
-Release: 11
+Release: 12
License: GPL v2+/LGPL v2+
Group: Development/Version Control
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
Patch5: %{name}-gcc4.patch
Patch6: format-security.patch
Patch7: cxx.patch
+Patch8: openssl.patch
URL: http://www.cvsnt.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
rm -r protocols/ntlm
--- /dev/null
+--- cvsnt-2.5.05.3744/protocols/sserver.cpp~ 2009-11-24 15:52:23.000000000 +0100
++++ cvsnt-2.5.05.3744/protocols/sserver.cpp 2018-09-20 10:34:35.129443525 +0200
+@@ -260,7 +260,7 @@ int sserver_connect(const struct protoco
+
+ SSL_library_init();
+ SSL_load_error_strings ();
+- ctx = SSL_CTX_new (SSLv3_client_method ());
++ ctx = SSL_CTX_new (SSLv23_client_method ());
+ SSL_CTX_set_options(ctx,SSL_OP_ALL|SSL_OP_NO_SSLv2);
+ SSL_CTX_load_verify_locations(ctx,certs,NULL);
+ if(key)