mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-09 09:59:16 +08:00
[stdlib] Fix a few literal values (#15589)
This commit is contained in:
+3
-3
@@ -183,8 +183,8 @@ CERT_REQUIRED: Final = 2
|
||||
|
||||
# verify flags
|
||||
VERIFY_DEFAULT: Final = 0
|
||||
VERIFY_CRL_CHECK_LEAF: Final = 0x4
|
||||
VERIFY_CRL_CHECK_CHAIN: Final = 0x8
|
||||
VERIFY_CRL_CHECK_LEAF: Final = 0x04
|
||||
VERIFY_CRL_CHECK_CHAIN: Final = 0x0C
|
||||
VERIFY_X509_STRICT: Final = 0x20
|
||||
VERIFY_X509_TRUSTED_FIRST: Final = 0x8000
|
||||
if sys.version_info >= (3, 10):
|
||||
@@ -230,7 +230,7 @@ PROTOCOL_TLSv1_1: Final = 4
|
||||
PROTOCOL_TLSv1_2: Final = 5
|
||||
|
||||
# protocol options
|
||||
OP_ALL: Final = 0x80000050
|
||||
OP_ALL: Final[int]
|
||||
OP_NO_SSLv2: Final = 0x0
|
||||
OP_NO_SSLv3: Final = 0x2000000
|
||||
OP_NO_TLSv1: Final = 0x4000000
|
||||
|
||||
Reference in New Issue
Block a user