X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fsmtp_in.c;h=2b5cc26d380980600141b5ecf06afb4be34bafc2;hp=d1c10f00fb5b81f3a8ddb9f26390d25425245684;hb=5c8cda3a8089ff340224e6ab147d4bbe18dca0e2;hpb=76fbc01d6f1814bdbc2dedb31a405105b38a70f2 diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index d1c10f00f..2b5cc26d3 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2009 */ +/* Copyright (c) University of Cambridge 1995 - 2012 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions for handling an incoming SMTP call. */ @@ -841,12 +841,10 @@ if ((log_extra_selector & LX_tls_certificate_verified) != 0 && if ((log_extra_selector & LX_tls_peerdn) != 0 && tls_peerdn != NULL) s = string_append(s, &size, &ptr, 3, US" DN=\"", string_printing(tls_peerdn), US"\""); -#ifndef USE_GNUTLS if ((log_extra_selector & LX_tls_sni) != 0 && tls_sni != NULL) s = string_append(s, &size, &ptr, 3, US" SNI=\"", string_printing(tls_sni), US"\""); #endif -#endif sep = (smtp_connection_had[SMTP_HBUFF_SIZE-1] != SCH_NONE)? US" C=..." : US" C="; @@ -1676,8 +1674,7 @@ if (!sender_host_unknown) #ifdef SUPPORT_TLS if (tls_on_connect && - tls_server_start(tls_require_ciphers, - gnutls_require_mac, gnutls_require_kx, gnutls_require_proto) != OK) + tls_server_start(tls_require_ciphers) != OK) return FALSE; #endif @@ -3893,8 +3890,7 @@ while (done <= 0) We must allow for an extra EHLO command and an extra AUTH command after STARTTLS that don't add to the nonmail command count. */ - if ((rc = tls_server_start(tls_require_ciphers, gnutls_require_mac, - gnutls_require_kx, gnutls_require_proto)) == OK) + if ((rc = tls_server_start(tls_require_ciphers)) == OK) { if (!tls_remember_esmtp) helo_seen = esmtp = auth_advertised = pipelining_advertised = FALSE;