Группа :: Коммуникации
Пакет: trustedqsl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: tqsl-ssl-md5.patch
Скачать
Скачать
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();