diff options
author | Jonathan Giannuzzi <jonathan@giannuzzi.be> | 2014-03-23 22:54:31 +0100 |
---|---|---|
committer | Jonathan Giannuzzi <jonathan@giannuzzi.be> | 2014-03-30 21:58:08 +0200 |
commit | 2ee8280a6433503cbb3a50ee602aa1cc706a0ee5 (patch) | |
tree | 15cfc6ef7d57dee90dc28696f43418c6a95914e2 | |
parent | 99eff82b9b9ff4c0b21dd8a922d5dba4649b3eee (diff) | |
download | pyopenssl-2ee8280a6433503cbb3a50ee602aa1cc706a0ee5.tar.gz |
Make sure that lines are not longer than 80 characters
-rw-r--r-- | leakcheck/crypto.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/leakcheck/crypto.py b/leakcheck/crypto.py index d534c57..b07d1f0 100644 --- a/leakcheck/crypto.py +++ b/leakcheck/crypto.py @@ -2,7 +2,7 @@ # See LICENSE for details. import sys -import datetime +from datetime import datetime from OpenSSL.crypto import ( FILETYPE_PEM, TYPE_DSA, Error, PKey, X509, load_privatekey, CRL, Revoked) @@ -116,7 +116,7 @@ class Checker_CRL_get_revoked(BaseChecker): for serial in xrange(1000): revoked = Revoked() revoked.set_serial(str(serial)) - revoked.set_rev_date(datetime.datetime.utcnow().strftime('%Y%m%d%H%M%SZ')) + revoked.set_rev_date(datetime.utcnow().strftime('%Y%m%d%H%M%SZ')) crl.add_revoked(revoked) for i in xrange(self.iterations): crl.get_revoked() |