aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-27 11:07:42 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-27 11:07:42 -0800
commitc9aeb34db5f0a675f60742ea82d67d92ea75865c (patch)
tree198e7708da3e36a32950ed379b63bcfd5e32c7b3
parent39e818f64243011e10a77079d38e8a1173462ab4 (diff)
downloadcryptography-c9aeb34db5f0a675f60742ea82d67d92ea75865c.tar.gz
cryptography-c9aeb34db5f0a675f60742ea82d67d92ea75865c.tar.bz2
cryptography-c9aeb34db5f0a675f60742ea82d67d92ea75865c.zip
A handful of style fixes in the cffi bindings
-rw-r--r--cryptography/hazmat/backends/openssl/evp.py2
-rw-r--r--cryptography/hazmat/backends/openssl/objects.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/cryptography/hazmat/backends/openssl/evp.py b/cryptography/hazmat/backends/openssl/evp.py
index d2297a0e..1f8901bf 100644
--- a/cryptography/hazmat/backends/openssl/evp.py
+++ b/cryptography/hazmat/backends/openssl/evp.py
@@ -96,7 +96,7 @@ int EVP_VerifyUpdate(EVP_MD_CTX *, const void *, size_t);
int EVP_VerifyFinal(EVP_MD_CTX *, const unsigned char *, unsigned int,
EVP_PKEY *);
-const EVP_MD *EVP_md5(void);
+const EVP_MD *EVP_md5();
"""
MACROS = """
diff --git a/cryptography/hazmat/backends/openssl/objects.py b/cryptography/hazmat/backends/openssl/objects.py
index aff1c496..ad1b8588 100644
--- a/cryptography/hazmat/backends/openssl/objects.py
+++ b/cryptography/hazmat/backends/openssl/objects.py
@@ -19,17 +19,17 @@ TYPES = """
"""
FUNCTIONS = """
-ASN1_OBJECT * OBJ_nid2obj(int);
-const char * OBJ_nid2ln(int);
-const char * OBJ_nid2sn(int);
+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);
+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 *);
+ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *);
int OBJ_create(const char *, const char *, const char *);
void OBJ_cleanup();
"""