Commit 17b035bb authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Protect against gnutls_srp_server_get_username which is not provided on some...

Protect against gnutls_srp_server_get_username which is not provided on some platforms, including Fedora 13
parent 171221f1
......@@ -1049,11 +1049,12 @@ int fd_tls_verify_credentials(gnutls_session_t session, struct cnxctx * conn, in
gnutls_dh_get_prime_bits (session));
}
break;
#ifdef ENABLE_SRP
case GNUTLS_CRD_SRP:
fd_log_debug("\t - SRP session with username %s\n",
gnutls_srp_server_get_username (session));
break;
#endif /* ENABLE_SRP */
default:
fd_log_debug("\t - Different type of credentials for the session (%d).\n", cred);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment