aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-09-23 11:34:15 +0000
committerVincent Richard <[email protected]>2013-09-23 11:34:15 +0000
commitc406d451476a85a03a84f55cc935103d40503742 (patch)
treef1c0ae8c729bb759504e458c9c1c3a0a42d445eb /src
parentOrder ciphers according to strength and always exclude ADH (OpenSSL). (diff)
parentMerge pull request #54 from mabrand/fix (diff)
downloadvmime-c406d451476a85a03a84f55cc935103d40503742.tar.gz
vmime-c406d451476a85a03a84f55cc935103d40503742.zip
Merge branch 'master' of https://github.com/kisli/vmime
Diffstat (limited to 'src')
-rw-r--r--src/net/tls/gnutls/TLSSession_GnuTLS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tls/gnutls/TLSSession_GnuTLS.cpp b/src/net/tls/gnutls/TLSSession_GnuTLS.cpp
index 8297e779..52fedc78 100644
--- a/src/net/tls/gnutls/TLSSession_GnuTLS.cpp
+++ b/src/net/tls/gnutls/TLSSession_GnuTLS.cpp
@@ -152,7 +152,7 @@ TLSSession_GnuTLS::TLSSession_GnuTLS(ref <security::cert::certificateVerifier> c
// Sets some default priority on the ciphers, key exchange methods,
// macs and compression methods.
-#if VMIME_HAVE_GNUTLS_PRIORITY_FUNCS
+#ifdef VMIME_HAVE_GNUTLS_PRIORITY_FUNCS
gnutls_dh_set_prime_bits(*m_gnutlsSession, 128);
if ((res = gnutls_priority_set_direct