diff options
author | jsing <> | 2017-03-04 12:47:45 +0000 |
---|---|---|
committer | jsing <> | 2017-03-04 12:47:45 +0000 |
commit | d837c6078b05e2698215c124f9c3ce22d6a97e3d (patch) | |
tree | 8322fbc8e1fa532056080067b2cfe529b0216c09 | |
parent | 367d1521ed7abff59a0ba480e767481f95f6b23f (diff) | |
download | openbsd-d837c6078b05e2698215c124f9c3ce22d6a97e3d.tar.gz openbsd-d837c6078b05e2698215c124f9c3ce22d6a97e3d.tar.bz2 openbsd-d837c6078b05e2698215c124f9c3ce22d6a97e3d.zip |
Remove commented out code and fix indentation of surrounding statements.
-rw-r--r-- | src/regress/lib/libssl/ssl/ssltest.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index 2a088c80b3..24f79e302c 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c | |||
@@ -1370,27 +1370,20 @@ doit(SSL *s_ssl, SSL *c_ssl, long count) | |||
1370 | if (SSL_in_init(s_ssl)) | 1370 | if (SSL_in_init(s_ssl)) |
1371 | printf("server waiting in SSL_accept - %s\n", | 1371 | printf("server waiting in SSL_accept - %s\n", |
1372 | SSL_state_string_long(s_ssl)); | 1372 | SSL_state_string_long(s_ssl)); |
1373 | /* else if (s_write) | 1373 | } |
1374 | printf("server:SSL_write()\n"); | ||
1375 | else | ||
1376 | printf("server:SSL_read()\n"); */ | ||
1377 | } | ||
1378 | 1374 | ||
1379 | if (do_client && debug) { | 1375 | if (do_client && debug) { |
1380 | if (SSL_in_init(c_ssl)) | 1376 | if (SSL_in_init(c_ssl)) |
1381 | printf("client waiting in SSL_connect - %s\n", | 1377 | printf("client waiting in SSL_connect - %s\n", |
1382 | SSL_state_string_long(c_ssl)); | 1378 | SSL_state_string_long(c_ssl)); |
1383 | /* else if (c_write) | 1379 | } |
1384 | printf("client:SSL_write()\n"); | ||
1385 | else | ||
1386 | printf("client:SSL_read()\n"); */ | ||
1387 | } | ||
1388 | 1380 | ||
1389 | if (!do_client && !do_server) { | 1381 | if (!do_client && !do_server) { |
1390 | fprintf(stdout, "ERROR IN STARTUP\n"); | 1382 | fprintf(stdout, "ERROR IN STARTUP\n"); |
1391 | ERR_print_errors(bio_err); | 1383 | ERR_print_errors(bio_err); |
1392 | break; | 1384 | break; |
1393 | } | 1385 | } |
1386 | |||
1394 | if (do_client && !(done & C_DONE)) { | 1387 | if (do_client && !(done & C_DONE)) { |
1395 | if (c_write) { | 1388 | if (c_write) { |
1396 | j = (cw_num > (long)sizeof(cbuf)) ? | 1389 | j = (cw_num > (long)sizeof(cbuf)) ? |