libtls: Merge trustchain auth verification details done during TLS handhsake
This commit is contained in:
@@ -324,6 +324,7 @@ static public_key_t *find_public_key(private_tls_peer_t *this)
|
||||
while (enumerator->enumerate(enumerator, ¤t, &auth))
|
||||
{
|
||||
public = current->get_ref(current);
|
||||
this->server_auth->merge(this->server_auth, auth, FALSE);
|
||||
break;
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
|
||||
@@ -551,6 +551,7 @@ static status_t process_cert_verify(private_tls_server_t *this,
|
||||
sig->destroy(sig);
|
||||
if (verified)
|
||||
{
|
||||
this->peer_auth->merge(this->peer_auth, auth, FALSE);
|
||||
break;
|
||||
}
|
||||
DBG1(DBG_TLS, "signature verification failed, trying another key");
|
||||
|
||||
Reference in New Issue
Block a user