mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +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
5
CHANGES
5
CHANGES
|
@ -67,6 +67,11 @@ Corrections:
|
||||||
<port> is allowed.
|
<port> is allowed.
|
||||||
Thanks to John the Scott for reporting this issue.
|
Thanks to John the Scott for reporting this issue.
|
||||||
|
|
||||||
|
Error messages from SSL_read() and SSL_write() sometimes stated
|
||||||
|
SSL_connect instead of originating function name.
|
||||||
|
|
||||||
|
Fixed some more non functional minor issues.
|
||||||
|
|
||||||
Porting:
|
Porting:
|
||||||
In gcc version 10 the default changed from -fcommon to -fno-common.
|
In gcc version 10 the default changed from -fcommon to -fno-common.
|
||||||
Consequently, linking filan and procan failed with error
|
Consequently, linking filan and procan failed with error
|
||||||
|
|
|
@ -1939,7 +1939,7 @@ ssize_t xioread_openssl(struct single *pipe, void *buff, size_t bufsiz) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SSL_ERROR_SSL:
|
case SSL_ERROR_SSL:
|
||||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_connect");
|
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_read");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Error("unknown error");
|
Error("unknown error");
|
||||||
|
@ -1998,7 +1998,7 @@ ssize_t xiowrite_openssl(struct single *pipe, const void *buff, size_t bufsiz) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SSL_ERROR_SSL:
|
case SSL_ERROR_SSL:
|
||||||
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_connect");
|
openssl_SSL_ERROR_SSL(E_ERROR, "SSL_write");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Error("unknown error");
|
Error("unknown error");
|
||||||
|
|
Loading…
Reference in a new issue