Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37859909
en ru br
ALT Linux repositórios
S:2.7-alt1

Group :: Comunicações
RPM: trustedqsl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: tqsl-ssl-md5.patch
Download


Workaround for F21+ disabling MD5 certificate verification.
https://bugzilla.redhat.com/show_bug.cgi?id=1202157
diff -Naur tqsl-2.0.3.orig/src/tqsllib.cpp tqsl-2.0.3/src/tqsllib.cpp
--- tqsl-2.0.3.orig/src/tqsllib.cpp	2014-07-27 09:18:58.000000000 -0500
+++ tqsl-2.0.3/src/tqsllib.cpp	2015-03-18 07:40:56.110923223 -0500
@@ -156,6 +156,10 @@
 	int wval;
 #endif
 
+#if !defined(_WIN32) && !defined(__APPLE__)
+   setenv("OPENSSL_ENABLE_MD5_VERIFY", "1", 0);
+#endif
+
 	/* OpenSSL API tends to change between minor version numbers, so make sure
 	 * we're using the right version */
 	long SSLver = SSLeay();
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009