mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 23:53:25 +00:00
SSL_read,SSL_write errors sometimes stated SSL_connect
This commit is contained in:
parent
12e8dd7188
commit
82f5321204
2 changed files with 7 additions and 2 deletions
|
@ -1939,7 +1939,7 @@ ssize_t xioread_openssl(struct single *pipe, void *buff, size_t bufsiz) {
|
|||
}
|
||||
break;
|
||||
case SSL_ERROR_SSL:
|
||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_connect");
|
||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_read");
|
||||
break;
|
||||
default:
|
||||
Error("unknown error");
|
||||
|
@ -1998,7 +1998,7 @@ ssize_t xiowrite_openssl(struct single *pipe, const void *buff, size_t bufsiz) {
|
|||
}
|
||||
break;
|
||||
case SSL_ERROR_SSL:
|
||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_connect");
|
||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_write");
|
||||
break;
|
||||
default:
|
||||
Error("unknown error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue