When renegotiating, verify that any certificate received from the client contains the same username.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-06-13 15:08:40 +02:00
parent 18cef50ebe
commit 1d2f36f9bf
3 changed files with 29 additions and 3 deletions

View File

@@ -378,7 +378,6 @@ int get_auth_handler(worker_st * ws, unsigned http_ver)
return get_auth_handler2(ws, http_ver, NULL);
}
static
int get_cert_names(worker_st * ws, const gnutls_datum_t * raw)
{
gnutls_x509_crt_t crt;