Call 'print_stuff' even if a handshake failed.
This commit is contained in:
parent
076944d920
commit
b166f13eb5
@ -1261,6 +1261,8 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
shut:
|
shut:
|
||||||
|
if (in_init)
|
||||||
|
print_stuff(bio_c_out,con,full_log);
|
||||||
SSL_shutdown(con);
|
SSL_shutdown(con);
|
||||||
SHUTDOWN(SSL_get_fd(con));
|
SHUTDOWN(SSL_get_fd(con));
|
||||||
ret=0;
|
ret=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user