Skip to content

Commit

Permalink
mention DTLS ciphersuite name
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
  • Loading branch information
nmav authored and Nikos Mavrogiannopoulos committed Feb 3, 2014
1 parent 0b6dfb2 commit bb7929b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dtls.c
Expand Up @@ -220,7 +220,8 @@ int dtls_try_handshake(struct openconnect_info *vpninfo)
int ret = SSL_do_handshake(vpninfo->new_dtls_ssl);

if (ret == 1) {
vpn_progress(vpninfo, PRG_INFO, _("Established DTLS connection (using OpenSSL)\n"));
vpn_progress(vpninfo, PRG_INFO, _("Established DTLS connection (using OpenSSL). Ciphersuite %s.\n"),
vpninfo->dtls_cipher);

dtls_close(vpninfo, 0);
vpninfo->dtls_ssl = vpninfo->new_dtls_ssl;
Expand Down Expand Up @@ -422,7 +423,8 @@ int dtls_try_handshake(struct openconnect_info *vpninfo)
+ 16 /* max padding */);
#endif

vpn_progress(vpninfo, PRG_INFO, _("Established DTLS connection (using GnuTLS)\n"));
vpn_progress(vpninfo, PRG_INFO, _("Established DTLS connection (using GnuTLS). Ciphersuite %s.\n"),
vpninfo->dtls_cipher);

dtls_close(vpninfo, 0);
vpninfo->dtls_ssl = vpninfo->new_dtls_ssl;
Expand Down

0 comments on commit bb7929b

Please sign in to comment.