mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
ssl: Updated for 11.0.0.
This commit is contained in:
parent
49d7fe81b8
commit
e8a4f22063
@ -71,12 +71,14 @@ typedef enum {
|
|||||||
SslDebugOptionType_AllowDisableVerifyOption = 0, ///< AllowDisableVerifyOption
|
SslDebugOptionType_AllowDisableVerifyOption = 0, ///< AllowDisableVerifyOption
|
||||||
} SslDebugOptionType;
|
} SslDebugOptionType;
|
||||||
|
|
||||||
/// SslVersion. This is a bitmask which controls the min/max TLS versions to use, depending on which lowest/highest bits are set (if Auto isn't set).
|
/// SslVersion. This is a bitmask which controls the min/max TLS versions to use, depending on which lowest/highest bits are set (if Auto* isn't set).
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SslVersion_Auto = BIT(0), ///< TLS version min = 1.0, max = 1.2.
|
SslVersion_Auto = BIT(0), ///< TLS version min = 1.0, max = 1.2.
|
||||||
SslVersion_TlsV10 = BIT(3), ///< TLS 1.0.
|
SslVersion_TlsV10 = BIT(3), ///< TLS 1.0.
|
||||||
SslVersion_TlsV11 = BIT(4), ///< TLS 1.1.
|
SslVersion_TlsV11 = BIT(4), ///< TLS 1.1.
|
||||||
SslVersion_TlsV12 = BIT(5), ///< TLS 1.2.
|
SslVersion_TlsV12 = BIT(5), ///< TLS 1.2.
|
||||||
|
SslVersion_TlsV13 = BIT(6), ///< [11.0.0+] TLS 1.3.
|
||||||
|
SslVersion_Auto24 = BIT(24), ///< [11.0.0+] Same as Auto.
|
||||||
} SslVersion;
|
} SslVersion;
|
||||||
|
|
||||||
/// CertificateFormat
|
/// CertificateFormat
|
||||||
|
Loading…
Reference in New Issue
Block a user