mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 14:12:58 +00:00
Again ported to NetBSD
This commit is contained in:
parent
b5b9ee0031
commit
2ab4b232fc
6 changed files with 43 additions and 3 deletions
|
@ -1121,7 +1121,7 @@ int
|
|||
#elif HAVE_DTLSv1_client_method
|
||||
method = sycDTLSv1_client_method();
|
||||
#else
|
||||
# error "OpenSSL does not seem to provide DTLS client methods"
|
||||
# warning "OpenSSL does not seem to provide DTLS client methods"
|
||||
#endif
|
||||
*use_dtls = true;
|
||||
}
|
||||
|
@ -1192,12 +1192,17 @@ int
|
|||
#elif HAVE_DTLSv1_server_method
|
||||
method = sycDTLSv1_server_method();
|
||||
#else
|
||||
# error "OpenSSL does not seem to provide DTLS server methods"
|
||||
# warning "OpenSSL does not seem to provide DTLS server methods"
|
||||
#endif
|
||||
*use_dtls = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (method == NULL) {
|
||||
Error("no OpenSSL method available");
|
||||
return STAT_NORETRY;
|
||||
}
|
||||
|
||||
if (opt_egd) {
|
||||
#if !defined(OPENSSL_NO_EGD) && HAVE_RAND_egd
|
||||
sycRAND_egd(opt_egd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue