Make it possible to delete all certificates from an SSL structure.

(backport from HEAD)
This commit is contained in:
Dr. Stephen Henson
2012-12-26 14:18:50 +00:00
parent 2b5e5c3d08
commit d312f7be37
5 changed files with 45 additions and 29 deletions

View File

@@ -524,6 +524,11 @@ int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm)
return X509_VERIFY_PARAM_set1(ssl->param, vpm);
}
void SSL_certs_clear(SSL *s)
{
ssl_cert_clear_certs(s->cert);
}
void SSL_free(SSL *s)
{
int i;