diff options
-rw-r--r-- | cryptography/hazmat/backends/openssl/asn1.py | 2 | ||||
-rw-r--r-- | cryptography/hazmat/backends/openssl/objects.py | 26 | ||||
-rw-r--r-- | cryptography/hazmat/backends/openssl/rsa.py | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/cryptography/hazmat/backends/openssl/asn1.py b/cryptography/hazmat/backends/openssl/asn1.py index ec25c225..07bb32f9 100644 --- a/cryptography/hazmat/backends/openssl/asn1.py +++ b/cryptography/hazmat/backends/openssl/asn1.py @@ -118,7 +118,7 @@ int ASN1_INTEGER_cmp(ASN1_INTEGER *, ASN1_INTEGER *); long ASN1_INTEGER_get(ASN1_INTEGER *); BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER *, BIGNUM *); -ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); +ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *, ASN1_INTEGER *); """ CUSTOMIZATIONS = """ diff --git a/cryptography/hazmat/backends/openssl/objects.py b/cryptography/hazmat/backends/openssl/objects.py index b3a2c2c9..aff1c496 100644 --- a/cryptography/hazmat/backends/openssl/objects.py +++ b/cryptography/hazmat/backends/openssl/objects.py @@ -19,19 +19,19 @@ TYPES = """ """ FUNCTIONS = """ -ASN1_OBJECT * OBJ_nid2obj(int n); -const char * OBJ_nid2ln(int n); -const char * OBJ_nid2sn(int n); -int OBJ_obj2nid(const ASN1_OBJECT *o); -int OBJ_ln2nid(const char *ln); -int OBJ_sn2nid(const char *sn); -int OBJ_txt2nid(const char *s); -ASN1_OBJECT * OBJ_txt2obj(const char *s, int no_name); -int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); -int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b); -ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *o); -int OBJ_create(const char *oid,const char *sn,const char *ln); -void OBJ_cleanup(void); +ASN1_OBJECT * OBJ_nid2obj(int); +const char * OBJ_nid2ln(int); +const char * OBJ_nid2sn(int); +int OBJ_obj2nid(const ASN1_OBJECT *); +int OBJ_ln2nid(const char *); +int OBJ_sn2nid(const char *); +int OBJ_txt2nid(const char *); +ASN1_OBJECT * OBJ_txt2obj(const char *, int); +int OBJ_obj2txt(char *, int, const ASN1_OBJECT *, int); +int OBJ_cmp(const ASN1_OBJECT *, const ASN1_OBJECT *); +ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *); +int OBJ_create(const char *, const char *, const char *); +void OBJ_cleanup(); """ MACROS = """ diff --git a/cryptography/hazmat/backends/openssl/rsa.py b/cryptography/hazmat/backends/openssl/rsa.py index f9d9cb59..6cee569a 100644 --- a/cryptography/hazmat/backends/openssl/rsa.py +++ b/cryptography/hazmat/backends/openssl/rsa.py @@ -51,7 +51,7 @@ int RSA_public_decrypt(int, const unsigned char *, unsigned char *, RSA *, int); int RSA_private_decrypt(int, const unsigned char *, unsigned char *, RSA *, int); -int RSA_print(BIO *bp, const RSA *r,int offset); +int RSA_print(BIO *, const RSA *, int); """ MACROS = """ |