diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-01-27 21:18:51 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-01-27 21:18:51 +0000 |
commit | 763602d3e338eb5d9a69d5a9b99bcbd33dabaf11 (patch) | |
tree | e4f6c79ad1a0e165d8fbaa925cb0d8e4d44ba9f8 | |
parent | Updated common.h types for _WIN64. (diff) | |
download | openvpn-763602d3e338eb5d9a69d5a9b99bcbd33dabaf11.tar.xz |
Fixed issue involving an #ifdef in a macro reference that breaks early gcc
compilers.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3903 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r-- | ssl.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3398,14 +3398,17 @@ key_method_2_read (struct buffer *buf, struct tls_multi *multi, struct tls_sessi if ((session->opt->ssl_flags & SSLF_USERNAME_AS_COMMON_NAME)) set_common_name (session, up->username); - msg (D_HANDSHAKE, "TLS: Username/Password authentication %s for username '%s' %s", #ifdef ENABLE_DEF_AUTH + msg (D_HANDSHAKE, "TLS: Username/Password authentication %s for username '%s' %s", ks->auth_deferred ? "deferred" : "succeeded", + up->username, + (session->opt->ssl_flags & SSLF_USERNAME_AS_COMMON_NAME) ? "[CN SET]" : ""); #else + msg (D_HANDSHAKE, "TLS: Username/Password authentication %s for username '%s' %s", "succeeded", -#endif up->username, (session->opt->ssl_flags & SSLF_USERNAME_AS_COMMON_NAME) ? "[CN SET]" : ""); +#endif } else { |