From 4c1e94d8e0f212f3b611d06698427d77e696e636 Mon Sep 17 00:00:00 2001 From: Jonathan Vanasco Date: Wed, 21 Jun 2023 15:21:17 -0400 Subject: [PATCH] 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 --- stubs/pyOpenSSL/OpenSSL/crypto.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stubs/pyOpenSSL/OpenSSL/crypto.pyi b/stubs/pyOpenSSL/OpenSSL/crypto.pyi index d89bfa256..4482412ec 100644 --- a/stubs/pyOpenSSL/OpenSSL/crypto.pyi +++ b/stubs/pyOpenSSL/OpenSSL/crypto.pyi @@ -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: ...