From 601787d5c970e37063d4c3955f147febf8326747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 22 Sep 2017 15:24:49 +0200 Subject: Fix a syntax typo. Fixes #176 --- SWIG/_ssl.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/_ssl.i b/SWIG/_ssl.i index d99bd0d..c9dd576 100644 --- a/SWIG/_ssl.i +++ b/SWIG/_ssl.i @@ -67,7 +67,7 @@ extern const char *SSL_alert_desc_string_long(int); #ifndef OPENSSL_NO_SSL3 #if OPENSSL_VERSION_NUMBER >= 0x11100000L PyErr_WarnEx(PyExc_DeprecationWarning, - "Function SSLv3_method has been deprecated.", 1)) + "Function SSLv3_method has been deprecated.", 1); #endif %rename(sslv3_method) SSLv3_method; extern SSL_METHOD *SSLv3_method(void); @@ -76,7 +76,7 @@ extern SSL_METHOD *SSLv3_method(void); extern SSL_METHOD *SSLv23_method(void); #if OPENSSL_VERSION_NUMBER >= 0x11100000L PyErr_WarnEx(PyExc_DeprecationWarning, - "Function TLSv1_method has been deprecated.", 1)) + "Function TLSv1_method has been deprecated.", 1); #endif %rename(tlsv1_method) TLSv1_method; extern SSL_METHOD *TLSv1_method(void); -- cgit v1.2.1