diff options
author | 2017-03-04 12:47:45 +0000 | |
---|---|---|
committer | 2017-03-04 12:47:45 +0000 | |
commit | 93b15c7e1525a32676401130463f1a061ca67b44 (patch) | |
tree | c1bb4199837459b0b2de10d45cc484d3cc92b370 /regress/lib/libssl/ssl/ssltest.c | |
parent | In 11n hostap mode, dynamically adjust HT protection settings based on (diff) | |
download | wireguard-openbsd-93b15c7e1525a32676401130463f1a061ca67b44.tar.xz wireguard-openbsd-93b15c7e1525a32676401130463f1a061ca67b44.zip |
Remove commented out code and fix indentation of surrounding statements.
Diffstat (limited to 'regress/lib/libssl/ssl/ssltest.c')
-rw-r--r-- | regress/lib/libssl/ssl/ssltest.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/regress/lib/libssl/ssl/ssltest.c b/regress/lib/libssl/ssl/ssltest.c index 2a088c80b37..24f79e302c3 100644 --- a/regress/lib/libssl/ssl/ssltest.c +++ b/regress/lib/libssl/ssl/ssltest.c @@ -1370,27 +1370,20 @@ doit(SSL *s_ssl, SSL *c_ssl, long count) if (SSL_in_init(s_ssl)) printf("server waiting in SSL_accept - %s\n", SSL_state_string_long(s_ssl)); -/* else if (s_write) - printf("server:SSL_write()\n"); - else - printf("server:SSL_read()\n"); */ - } + } - if (do_client && debug) { + if (do_client && debug) { if (SSL_in_init(c_ssl)) printf("client waiting in SSL_connect - %s\n", SSL_state_string_long(c_ssl)); -/* else if (c_write) - printf("client:SSL_write()\n"); - else - printf("client:SSL_read()\n"); */ - } + } - if (!do_client && !do_server) { + if (!do_client && !do_server) { fprintf(stdout, "ERROR IN STARTUP\n"); ERR_print_errors(bio_err); break; } + if (do_client && !(done & C_DONE)) { if (c_write) { j = (cw_num > (long)sizeof(cbuf)) ? |