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

This commit is contained in:
Dr. Stephen Henson
2012-06-18 12:56:59 +00:00
parent 93ab9e421e
commit a5ee80b910
5 changed files with 45 additions and 29 deletions

View File

@@ -525,6 +525,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;