fix length parameter in SSL_set_tlsext_opaque_prf_input() calls
authorBodo Möller <bodo@openssl.org>
Sun, 23 Sep 2007 11:08:59 +0000 (11:08 +0000)
committerBodo Möller <bodo@openssl.org>
Sun, 23 Sep 2007 11:08:59 +0000 (11:08 +0000)
apps/s_client.c
apps/s_server.c

index eae12871abb273e69d60e489a358c739af5f849b..3474e6c6a74df4458cdd5583254fcdf43b59a602 100644 (file)
@@ -861,7 +861,7 @@ bad:
 /*     SSL_set_cipher_list(con,"RC4-MD5"); */
 #if 0
 #ifdef TLSEXT_TYPE_opaque_prf_input
 /*     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
 
 #endif
 #endif
 
index 0cfdf6afde374384a2e047195b21281bac11e1b0..3b99a620dab44be649967248c958d5450c6a30d5 100644 (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_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
 
 #endif
 #endif