mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Set current certificate to selected certificate.
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2637)
This commit is contained in:
parent
399976c7ba
commit
59088e43b1
@ -2444,6 +2444,7 @@ int tls_choose_sigalg(SSL *s, int *al)
|
||||
}
|
||||
}
|
||||
s->s3->tmp.cert = &s->cert->pkeys[idx];
|
||||
s->cert->key = s->s3->tmp.cert;
|
||||
s->s3->tmp.sigalg = lu;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user