mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
OpenSSL options min-version, max-version
This commit is contained in:
parent
beed38655f
commit
de2f2c471b
10 changed files with 248 additions and 23 deletions
8
xio.h
8
xio.h
|
@ -229,8 +229,14 @@ typedef struct single {
|
|||
#if WITH_OPENSSL
|
||||
struct {
|
||||
struct timeval connect_timeout; /* how long to hang in connect() */
|
||||
SSL_CTX* ctx; /* for freeing on close */
|
||||
SSL *ssl;
|
||||
SSL_CTX* ctx;
|
||||
#if HAVE_SSL_CTX_set_min_proto_version || defined(SSL_CTX_set_min_proto_version)
|
||||
char *min_proto_version;
|
||||
#endif
|
||||
#if HAVE_SSL_CTX_set_max_proto_version || defined(SSL_CTX_set_max_proto_version)
|
||||
char *max_proto_version;
|
||||
#endif
|
||||
} openssl;
|
||||
#endif /* WITH_OPENSSL */
|
||||
#if WITH_TUN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue