aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-13 10:28:24 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-13 10:28:24 -0400
commit03200124da98b78edb2b31d96989bb35dbab6f8c (patch)
tree54ef6e915dba9e835006cff1fb934f34e9014036
parent9fac155adcd593289f7a97577b3a2782da65d663 (diff)
downloadcryptography-03200124da98b78edb2b31d96989bb35dbab6f8c.tar.gz
cryptography-03200124da98b78edb2b31d96989bb35dbab6f8c.tar.bz2
cryptography-03200124da98b78edb2b31d96989bb35dbab6f8c.zip
remove pointless comments
-rw-r--r--src/_cffi_src/openssl/x509.py8
1 files changed, 0 insertions, 8 deletions
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