From 86d4bc3aeaa7bc0f7551b54c6091b736d0b2732b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sun, 23 Sep 2007 11:08:59 +0000 Subject: [PATCH] fix length parameter in SSL_set_tlsext_opaque_prf_input() calls --- apps/s_client.c | 2 +- apps/s_server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/s_client.c b/apps/s_client.c index eae12871ab..3474e6c6a7 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -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 diff --git a/apps/s_server.c b/apps/s_server.c index 0cfdf6afde..3b99a620da 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -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