提交 0e6c20da 编写于 作者: R Richard Levitte

Free the Kerberos context upon freeing the SSL.

Contributed by Andrew Mann <amann@tccgi.com>
上级 f6b659cb
......@@ -477,6 +477,11 @@ void SSL_free(SSL *s)
if (s->method != NULL) s->method->ssl_free(s);
#ifndef OPENSSL_NO_KRB5
if (s->kssl_ctx != NULL)
kssl_ctx_free(s->kssl_ctx);
#endif /* OPENSSL_NO_KRB5 */
OPENSSL_free(s);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册