fix length parameter in SSL_set_tlsext_opaque_prf_input() calls

This commit is contained in:
Bodo Möller 2007-09-23 11:08:59 +00:00
parent 761772d7e1
commit 86d4bc3aea
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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