1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-09 21:56:33 +00:00

Changes to make socat compile with OpenSSL 1.1

This commit is contained in:
Gerhard Rieger 2016-12-12 18:58:59 +01:00
commit 008229cb9f
5 changed files with 76 additions and 28 deletions

View file

@ -339,6 +339,7 @@ void sycSSL_free(SSL *ssl) {
return;
}
#if !defined(OPENSSL_NO_EGD) && HAVE_RAND_egd
int sycRAND_egd(const char *path) {
int result;
Debug1("RAND_egd(\"%s\")", path);
@ -346,6 +347,7 @@ int sycRAND_egd(const char *path) {
Debug1("RAND_egd() -> %d", result);
return result;
}
#endif
DH *sycPEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) {
DH *result;