aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-05 20:04:26 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-05 20:04:26 -0500
commitbfecd12d5a3da0cde4cec62f18fe33d075862049 (patch)
tree8be67805d77f25d16e0e9096fac6b504559d48e7
parent69b31c4c6ff764d0f9ad374313a6f4222243576e (diff)
downloadcryptography-bfecd12d5a3da0cde4cec62f18fe33d075862049.tar.gz
cryptography-bfecd12d5a3da0cde4cec62f18fe33d075862049.tar.bz2
cryptography-bfecd12d5a3da0cde4cec62f18fe33d075862049.zip
BN_cmp returns an int, not a BIGNUM *
-rw-r--r--cryptography/hazmat/bindings/openssl/bignum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/bignum.py b/cryptography/hazmat/bindings/openssl/bignum.py
index d505b177..94c2914e 100644
--- a/cryptography/hazmat/bindings/openssl/bignum.py
+++ b/cryptography/hazmat/bindings/openssl/bignum.py
@@ -68,6 +68,7 @@ BIGNUM *BN_bin2bn(const unsigned char *, int, BIGNUM *);
int BN_num_bits(const BIGNUM *);
+int BN_cmp(const BIGNUM *, const BIGNUM *);
int BN_add(BIGNUM *, const BIGNUM *, const BIGNUM *);
int BN_sub(BIGNUM *, const BIGNUM *, const BIGNUM *);
int BN_mul(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
@@ -92,7 +93,6 @@ MACROS = """
int BN_zero(BIGNUM *);
int BN_one(BIGNUM *);
int BN_mod(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
-BIGNUM *BN_cmp(const BIGNUM *, const BIGNUM *);
"""
CUSTOMIZATIONS = """