commit | 2f874f24d2a597d1e72705a4830b28ed99986aa2 | [log] [tgz] |
---|---|---|
author | Igr <igron99@mail.ru> | Mon Jan 21 21:39:37 2019 +0300 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Mon Jan 21 12:39:37 2019 -0600 |
tree | 929d239a5f5925b9017cb5fd7adbd4cc1b2f3871 | |
parent | 4121e2555d07bbba501ac237408a0eea1b41f467 [diff] [blame] |
add key types consts (#776)
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 @@ 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):