提交 d162340d 编写于 作者: M Matt Caswell
上级 03cdf559
......@@ -1493,7 +1493,12 @@ static int is_tls13_capable(const SSL *s)
{
int i;
if (s->psk_server_callback != NULL || s->psk_find_session_cb != NULL)
#ifndef OPENSSL_NO_PSK
if (s->psk_server_callback != NULL)
return 1;
#endif
if (s->psk_find_session_cb != NULL)
return 1;
for (i = 0; i < SSL_PKEY_NUM; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册