Fix SSL_key_update() problems (1.1.1)#16098
Closed
mattcaswell wants to merge 2 commits intoopenssl:OpenSSL_1_1_1-stablefrom
Closed
Fix SSL_key_update() problems (1.1.1)#16098mattcaswell wants to merge 2 commits intoopenssl:OpenSSL_1_1_1-stablefrom
mattcaswell wants to merge 2 commits intoopenssl:OpenSSL_1_1_1-stablefrom
Conversation
Sometimes this function gets called when the buffers have already been set up. If there is already a partial packet in the read buffer then the packet pointer will be set to an incorrect value. The packet pointer already gets reset to the correct value when we first read a packet anyway, so we don't also need to do it in ssl3_setup_read_buffer. Fixes openssl#13729
If an application is halfway through writing application data it should not be allowed to attempt an SSL_key_update() operation. Instead the SSL_write() operation should be completed. Fixes openssl#12485
t8m
approved these changes
Jul 16, 2021
kaduk
approved these changes
Jul 16, 2021
Collaborator
|
This pull request is ready to merge |
openssl-machine
pushed a commit
that referenced
this pull request
Jul 19, 2021
Sometimes this function gets called when the buffers have already been set up. If there is already a partial packet in the read buffer then the packet pointer will be set to an incorrect value. The packet pointer already gets reset to the correct value when we first read a packet anyway, so we don't also need to do it in ssl3_setup_read_buffer. Fixes #13729 Reviewed-by: Ben Kaduk <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from #16098)
openssl-machine
pushed a commit
that referenced
this pull request
Jul 19, 2021
If an application is halfway through writing application data it should not be allowed to attempt an SSL_key_update() operation. Instead the SSL_write() operation should be completed. Fixes #12485 Reviewed-by: Ben Kaduk <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from #16098)
Member
|
Merged to 1.1.1. Thank you. |
dstebila
added a commit
to open-quantum-safe/openssl
that referenced
this pull request
Aug 26, 2021
This is a backport of #16077 to 1.1.1