diff options
author | tb <> | 2021-05-10 17:05:26 +0000 |
---|---|---|
committer | tb <> | 2021-05-10 17:05:26 +0000 |
commit | 365b597795feb239f1389fd3c6516095ee9efe14 (patch) | |
tree | 4b4347727d1d092b6a5540771bbb5a85e1db59c8 /src/lib/libssl/ssl.h | |
parent | c0bbd8901c307ebd2ab88321036be666f5c05fe5 (diff) | |
download | openbsd-365b597795feb239f1389fd3c6516095ee9efe14.tar.gz openbsd-365b597795feb239f1389fd3c6516095ee9efe14.tar.bz2 openbsd-365b597795feb239f1389fd3c6516095ee9efe14.zip |
Provide SSL_CTX_get_ssl_method(3)
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 02f37fb0d0..2ac2bcbb54 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.187 2021/05/10 17:03:57 tb Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.188 2021/05/10 17:05:26 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1218,6 +1218,8 @@ int SSL_get_max_proto_version(SSL *ssl); | |||
1218 | int SSL_set_min_proto_version(SSL *ssl, uint16_t version); | 1218 | int SSL_set_min_proto_version(SSL *ssl, uint16_t version); |
1219 | int SSL_set_max_proto_version(SSL *ssl, uint16_t version); | 1219 | int SSL_set_max_proto_version(SSL *ssl, uint16_t version); |
1220 | 1220 | ||
1221 | const SSL_METHOD *SSL_CTX_get_ssl_method(const SSL_CTX *ctx); | ||
1222 | |||
1221 | #ifndef LIBRESSL_INTERNAL | 1223 | #ifndef LIBRESSL_INTERNAL |
1222 | #define SSL_CTRL_SET_CURVES SSL_CTRL_SET_GROUPS | 1224 | #define SSL_CTRL_SET_CURVES SSL_CTRL_SET_GROUPS |
1223 | #define SSL_CTRL_SET_CURVES_LIST SSL_CTRL_SET_GROUPS_LIST | 1225 | #define SSL_CTRL_SET_CURVES_LIST SSL_CTRL_SET_GROUPS_LIST |