mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 17:43:25 +08:00
Add missing constants to OpenSSL/crypto.pyi (#10345)
Adds typing for missing constants `TYPE_DH` and `TYPE_EC` See https://github.com/pyca/pyopenssl/blob/main/src/OpenSSL/crypto.py#L94-L95
This commit is contained in:
@@ -16,6 +16,8 @@ FILETYPE_TEXT: int
|
||||
|
||||
TYPE_RSA: int
|
||||
TYPE_DSA: int
|
||||
TYPE_DH: int
|
||||
TYPE_EC: int
|
||||
|
||||
class _EllipticCurve:
|
||||
def __init__(self, lib: Incomplete | None, nid: int, name: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user