]> gitweb.factorcode.org Git - factor.git/commit
io.sockets.secure: call ERR_clear_error before some SSL functions
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 12 Aug 2023 05:36:43 +0000 (00:36 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 12 Aug 2023 05:49:34 +0000 (00:49 -0500)
commitf627d6614360c23ff77c21a6c34566eadbd403d7
treef4f492a97314f474ad71464308ecb8953c79add9
parent1f52a71708105c5c3cb23237d02a41ef1bda5e27
io.sockets.secure: call ERR_clear_error before some SSL functions

Apparently you should do this all the time?

https://stackoverflow.com/questions/18179128/how-to-manage-the-error-queue-in-openssl-ssl-get-error-and-err-get-error
basis/io/sockets/secure/openssl/openssl.factor
basis/io/sockets/secure/unix/unix.factor