diff options
author | Jean-Paul Calderone <exarkun@divmod.com> | 2011-05-17 15:49:10 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@divmod.com> | 2011-05-17 15:49:10 -0400 |
commit | ff404b84ff478309c182801333b5e786931c5a69 (patch) | |
tree | b5a5b72ee1dcf408d743a5a5e07db56018cc2401 | |
parent | 5d19052976902d4d76f2a7072cc876e97f7539d8 (diff) | |
download | pyopenssl-ff404b84ff478309c182801333b5e786931c5a69.tar.gz |
always braces, and cuddle them too
-rw-r--r-- | OpenSSL/crypto/x509.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSSL/crypto/x509.c b/OpenSSL/crypto/x509.c index d62b504..f763695 100644 --- a/OpenSSL/crypto/x509.c +++ b/OpenSSL/crypto/x509.c @@ -519,6 +519,7 @@ crypto_X509_gmtime_adj_notAfter(crypto_X509Obj *self, PyObject *args) return Py_None; } + static char crypto_X509_get_signature_algorithm_doc[] = "\n\ Retrieve the signature algorithm used in the certificate\n\ \n\ @@ -528,13 +529,13 @@ Returns: None\n\ "; static PyObject * -crypto_X509_get_signature_algorithm(crypto_X509Obj *self, PyObject *args) -{ +crypto_X509_get_signature_algorithm(crypto_X509Obj *self, PyObject *args) { ASN1_OBJECT *alg; int nid; - if (!PyArg_ParseTuple(args, ":get_signature_algorithm")) + if (!PyArg_ParseTuple(args, ":get_signature_algorithm")) { return NULL; + } alg = self->x509->cert_info->signature->algorithm; nid = OBJ_obj2nid(alg); |