From 80544fbf7aa9f555721d4c769d842f04a8054ed2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 9 Dec 2013 10:19:04 -0600 Subject: add publickey_dup --- cryptography/hazmat/bindings/openssl/rsa.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cryptography/hazmat/bindings/openssl/rsa.py b/cryptography/hazmat/bindings/openssl/rsa.py index 8ee4b0cf..ad0d37b4 100644 --- a/cryptography/hazmat/bindings/openssl/rsa.py +++ b/cryptography/hazmat/bindings/openssl/rsa.py @@ -41,6 +41,7 @@ void RSA_free(RSA *); int RSA_size(const RSA *); int RSA_generate_key_ex(RSA *, int, BIGNUM *, BN_GENCB *); int RSA_check_key(const RSA *); +RSA *RSAPublicKey_dup(RSA *); int RSA_public_encrypt(int, const unsigned char *, unsigned char *, RSA *, int); int RSA_private_encrypt(int, const unsigned char *, unsigned char *, -- cgit v1.2.3