Merge branch 'development' into dtls
* development: Fix error code description. generate_errors.pl now errors on duplicate codes Avoid nested if's without braces. Move renego SCSV after actual ciphersuites Fix send_close_notify usage. Rename variable for clarity Improve script portability Conflicts: library/ssl_srv.c programs/ssl/ssl_client2.c programs/ssl/ssl_server2.c tests/ssl-opt.sh
This commit is contained in:
commit
3a173f497b
8 changed files with 50 additions and 36 deletions
|
@ -1487,8 +1487,7 @@ close_notify:
|
|||
printf( " . Closing the connection..." );
|
||||
|
||||
/* No error checking, the connection might be closed already */
|
||||
do
|
||||
ret = ssl_close_notify( &ssl );
|
||||
do ret = ssl_close_notify( &ssl );
|
||||
while( ret == POLARSSL_ERR_NET_WANT_WRITE );
|
||||
ret = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue