diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-28 10:05:45 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-28 10:05:45 -0700 |
commit | 8bf0d3caeeb001e0fe5957abde8755f523c04df6 (patch) | |
tree | 3a2da3b52a97ad1bb19a0c2f152ee0622368c87a | |
parent | 4365b12f01b3f5f501ca4f86c59999e78980790c (diff) | |
parent | 82c9890aad853a6c9d2b9c9d91606a1c38411995 (diff) | |
download | cryptography-8bf0d3caeeb001e0fe5957abde8755f523c04df6.tar.gz cryptography-8bf0d3caeeb001e0fe5957abde8755f523c04df6.tar.bz2 cryptography-8bf0d3caeeb001e0fe5957abde8755f523c04df6.zip |
Merge pull request #1450 from viraptor/add_pkey_cmp
Add pkey comparison function to bindings
-rw-r--r-- | cryptography/hazmat/bindings/openssl/evp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/evp.py b/cryptography/hazmat/bindings/openssl/evp.py index 11834509..033b083b 100644 --- a/cryptography/hazmat/bindings/openssl/evp.py +++ b/cryptography/hazmat/bindings/openssl/evp.py @@ -120,6 +120,8 @@ int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *, int, int, const unsigned char *, int); int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *, const char *, int, const unsigned char *, int); + +int EVP_PKEY_cmp(const EVP_PKEY *, const EVP_PKEY *); """ MACROS = """ |