Skip to content

Commit 2f874f2

Browse files
ObjatieGrobareaperhulk
authored andcommitted
add key types consts (#776)
1 parent 4121e25 commit 2f874f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OpenSSL/crypto.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171

7272
TYPE_RSA = _lib.EVP_PKEY_RSA
7373
TYPE_DSA = _lib.EVP_PKEY_DSA
74+
TYPE_DH = _lib.EVP_PKEY_DH
75+
TYPE_EC = _lib.EVP_PKEY_EC
7476

7577

7678
class Error(Exception):

0 commit comments

Comments
 (0)