aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-09 10:19:04 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-09 10:21:51 -0600
commit80544fbf7aa9f555721d4c769d842f04a8054ed2 (patch)
treecd05c80f15add50ee98c9fdf74d7077722ad7d32
parentac1bd5d4f2c77806affd88be8f1dd5d87a6028f6 (diff)
downloadcryptography-80544fbf7aa9f555721d4c769d842f04a8054ed2.tar.gz
cryptography-80544fbf7aa9f555721d4c769d842f04a8054ed2.tar.bz2
cryptography-80544fbf7aa9f555721d4c769d842f04a8054ed2.zip
add publickey_dup
-rw-r--r--cryptography/hazmat/bindings/openssl/rsa.py1
1 files changed, 1 insertions, 0 deletions
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 *,