diff options
author | Bodo Möller <bodo@openssl.org> | 2002-11-05 13:54:41 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-11-05 13:54:41 +0000 |
commit | 896e4fef30ab773fd06f531276ac954992d11657 (patch) | |
tree | 0dde6ec49f8fd3cf45d194fc5504bb1e57ebc743 /ssl | |
parent | 38c7271a39224cf91b9c6452e3c1107df932d750 (diff) | |
download | openssl-896e4fef30ab773fd06f531276ac954992d11657.tar.gz |
avoid Purify warnings
Submitted by: Nils Larsch
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssltest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index e9d339a8a3..84b96e49ed 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -903,6 +903,8 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, int i, r; clock_t c_clock = clock(); + memset(cbuf, 0, sizeof(cbuf)); + if (debug) if (SSL_in_init(c_ssl)) printf("client waiting in SSL_connect - %s\n", @@ -987,6 +989,8 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, int i, r; clock_t s_clock = clock(); + memset(sbuf, 0, sizeof(sbuf)); + if (debug) if (SSL_in_init(s_ssl)) printf("server waiting in SSL_accept - %s\n", @@ -1230,6 +1234,9 @@ int doit(SSL *s_ssl, SSL *c_ssl, long count) int c_write,s_write; int do_server=0,do_client=0; + memset(cbuf,0,sizeof(cbuf)); + memset(sbuf,0,sizeof(sbuf)); + c_to_s=BIO_new(BIO_s_mem()); s_to_c=BIO_new(BIO_s_mem()); if ((s_to_c == NULL) || (c_to_s == NULL)) |