avoid Purify warnings
Submitted by: Nils Larsch
This commit is contained in:
parent
41c2fb962c
commit
e2a93e38d6
@ -835,6 +835,8 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
|||||||
int i, r;
|
int i, r;
|
||||||
clock_t c_clock = clock();
|
clock_t c_clock = clock();
|
||||||
|
|
||||||
|
memset(cbuf, 0, sizeof(cbuf));
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
if (SSL_in_init(c_ssl))
|
if (SSL_in_init(c_ssl))
|
||||||
printf("client waiting in SSL_connect - %s\n",
|
printf("client waiting in SSL_connect - %s\n",
|
||||||
@ -919,6 +921,8 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
|||||||
int i, r;
|
int i, r;
|
||||||
clock_t s_clock = clock();
|
clock_t s_clock = clock();
|
||||||
|
|
||||||
|
memset(sbuf, 0, sizeof(sbuf));
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
if (SSL_in_init(s_ssl))
|
if (SSL_in_init(s_ssl))
|
||||||
printf("server waiting in SSL_accept - %s\n",
|
printf("server waiting in SSL_accept - %s\n",
|
||||||
@ -1162,6 +1166,9 @@ int doit(SSL *s_ssl, SSL *c_ssl, long count)
|
|||||||
int c_write,s_write;
|
int c_write,s_write;
|
||||||
int do_server=0,do_client=0;
|
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());
|
c_to_s=BIO_new(BIO_s_mem());
|
||||||
s_to_c=BIO_new(BIO_s_mem());
|
s_to_c=BIO_new(BIO_s_mem());
|
||||||
if ((s_to_c == NULL) || (c_to_s == NULL))
|
if ((s_to_c == NULL) || (c_to_s == NULL))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user