diff options
author | Igr <igron99@mail.ru> | 2019-01-21 21:39:37 +0300 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-01-21 12:39:37 -0600 |
commit | 2f874f24d2a597d1e72705a4830b28ed99986aa2 (patch) | |
tree | 929d239a5f5925b9017cb5fd7adbd4cc1b2f3871 | |
parent | 4121e2555d07bbba501ac237408a0eea1b41f467 (diff) | |
download | pyopenssl-2f874f24d2a597d1e72705a4830b28ed99986aa2.tar.gz |
add key types consts (#776)
-rw-r--r-- | src/OpenSSL/crypto.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 255ec8f..12e92df 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py @@ -71,6 +71,8 @@ FILETYPE_TEXT = 2 ** 16 - 1 TYPE_RSA = _lib.EVP_PKEY_RSA TYPE_DSA = _lib.EVP_PKEY_DSA +TYPE_DH = _lib.EVP_PKEY_DH +TYPE_EC = _lib.EVP_PKEY_EC class Error(Exception): |