From 5aa7737aa6788046c1db63e114db07123e90b2f4 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 30 Apr 2014 13:39:22 -0700 Subject: Fixed C style guide violation --- cryptography/hazmat/bindings/openssl/bio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptography/hazmat/bindings/openssl/bio.py b/cryptography/hazmat/bindings/openssl/bio.py index 0c521b4d..6232eca6 100644 --- a/cryptography/hazmat/bindings/openssl/bio.py +++ b/cryptography/hazmat/bindings/openssl/bio.py @@ -123,8 +123,8 @@ long BIO_callback_ctrl( int, void (*)(struct bio_st *, int, const char *, int, long, long) ); -char* BIO_ptr_ctrl(BIO *bp, int cmd, long larg); -long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg); +char* BIO_ptr_ctrl(BIO *, int, long); +long BIO_int_ctrl(BIO *, int, long, int); size_t BIO_ctrl_pending(BIO *b); size_t BIO_ctrl_wpending(BIO *b); int BIO_read(BIO *, void *, int); -- cgit v1.2.3 From 6f44c857437048459b443c0a2d8987295e8d1a01 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 30 Apr 2014 13:42:28 -0700 Subject: Fix two more violations --- cryptography/hazmat/bindings/openssl/bio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptography/hazmat/bindings/openssl/bio.py b/cryptography/hazmat/bindings/openssl/bio.py index 6232eca6..6c36b7c1 100644 --- a/cryptography/hazmat/bindings/openssl/bio.py +++ b/cryptography/hazmat/bindings/openssl/bio.py @@ -125,8 +125,8 @@ long BIO_callback_ctrl( ); char* BIO_ptr_ctrl(BIO *, int, long); long BIO_int_ctrl(BIO *, int, long, int); -size_t BIO_ctrl_pending(BIO *b); -size_t BIO_ctrl_wpending(BIO *b); +size_t BIO_ctrl_pending(BIO *); +size_t BIO_ctrl_wpending(BIO *); int BIO_read(BIO *, void *, int); int BIO_gets(BIO *, char *, int); int BIO_write(BIO *, const void *, int); -- cgit v1.2.3 From 506192b86d55ee0b7cc99c6ee995aed09178a3a6 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 30 Apr 2014 13:43:03 -0700 Subject: Foolish hobgoblin is best hobgoblin. --- cryptography/hazmat/bindings/openssl/bio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptography/hazmat/bindings/openssl/bio.py b/cryptography/hazmat/bindings/openssl/bio.py index 6c36b7c1..cfe6034f 100644 --- a/cryptography/hazmat/bindings/openssl/bio.py +++ b/cryptography/hazmat/bindings/openssl/bio.py @@ -123,7 +123,7 @@ long BIO_callback_ctrl( int, void (*)(struct bio_st *, int, const char *, int, long, long) ); -char* BIO_ptr_ctrl(BIO *, int, long); +char *BIO_ptr_ctrl(BIO *, int, long); long BIO_int_ctrl(BIO *, int, long, int); size_t BIO_ctrl_pending(BIO *); size_t BIO_ctrl_wpending(BIO *); -- cgit v1.2.3