提交 86d4bc3a 编写于 作者: B Bodo Möller

fix length parameter in SSL_set_tlsext_opaque_prf_input() calls

上级 761772d7
......@@ -861,7 +861,7 @@ bad:
/* SSL_set_cipher_list(con,"RC4-MD5"); */
#if 0
#ifdef TLSEXT_TYPE_opaque_prf_input
SSL_set_tlsext_opaque_prf_input(con, "Test client", 1);
SSL_set_tlsext_opaque_prf_input(con, "Test client", 11);
#endif
#endif
......
......@@ -1577,7 +1577,7 @@ static int sv_body(char *hostname, int s, unsigned char *context)
SSL_clear(con);
#if 0
#ifdef TLSEXT_TYPE_opaque_prf_input
SSL_set_tlsext_opaque_prf_input(con, "Test server", 1);
SSL_set_tlsext_opaque_prf_input(con, "Test server", 11);
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册