From 03200124da98b78edb2b31d96989bb35dbab6f8c Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 13 Mar 2016 10:28:24 -0400 Subject: remove pointless comments --- src/_cffi_src/openssl/x509.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/_cffi_src/openssl') diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index 72e63f7f..7acbf6e7 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -396,8 +396,6 @@ void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, if (psig != NULL) *psig = req->signature; if (palg != NULL) - /* In 1.0.2 and below sig_alg is a pointer in the struct, so - we don't want to pass by reference. */ *palg = req->sig_alg; } int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp) @@ -414,12 +412,8 @@ void X509_CRL_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, X509_CRL *crl) { if (psig != NULL) - /* In 1.0.2 and below sigis a pointer in the struct, so - we don't want to pass by reference. */ *psig = crl->signature; if (palg != NULL) - /* In 1.0.2 and below sig_alg is a pointer in the struct, so - we don't want to pass by reference. */ *palg = crl->sig_alg; } ASN1_TIME *X509_REVOKED_get0_revocationDate(X509_REVOKED *x) @@ -428,8 +422,6 @@ ASN1_TIME *X509_REVOKED_get0_revocationDate(X509_REVOKED *x) } ASN1_INTEGER *X509_REVOKED_get0_serialNumber(X509_REVOKED *x) { - /* In 1.0.2 and below serialNumber is a pointer in the struct, so - we don't want to pass by reference. */ return x->serialNumber; } #endif -- cgit v1.2.3