aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2013-12-29 00:06:02 +0000
committerAlex Stapleton <alexs@prol.etari.at>2013-12-29 00:09:12 +0000
commitddc4e3a7c9f2cfcf618d140730eb799bb5d5055a (patch)
tree1bdcbd2c5c59a3c64f44855ec7d3e3dcfc926b98
parent9020b4845a8667a2f400a0fb1b5138cb8d51eaca (diff)
downloadcryptography-ddc4e3a7c9f2cfcf618d140730eb799bb5d5055a.tar.gz
cryptography-ddc4e3a7c9f2cfcf618d140730eb799bb5d5055a.tar.bz2
cryptography-ddc4e3a7c9f2cfcf618d140730eb799bb5d5055a.zip
time_t is signed
Unless you are on QNX, lulz.
-rw-r--r--cryptography/hazmat/backends/openssl/asn1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/backends/openssl/asn1.py b/cryptography/hazmat/backends/openssl/asn1.py
index bf3cf48f..c6382234 100644
--- a/cryptography/hazmat/backends/openssl/asn1.py
+++ b/cryptography/hazmat/backends/openssl/asn1.py
@@ -33,7 +33,7 @@ TYPES = """
* <fijal> I think you want to declare your value too large (e.g. long)
* <fijal> that way you'll never pass garbage
*/
-typedef uintptr_t time_t;
+typedef intptr_t time_t;
typedef int ASN1_BOOLEAN;
typedef ... ASN1_INTEGER;