summaryrefslogtreecommitdiff
path: root/M2Crypto
diff options
context:
space:
mode:
authorHugo Castilho <hugo.p.castilho@telecom.pt>2014-05-02 15:50:08 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-10-03 17:45:53 +0200
commit62191971f697c0e26e6e948a3a6d70f75a69ad5e (patch)
tree8267d27974abc45d1b17bedf0bf57874632290c1 /M2Crypto
parent89694d940c08c499b4d6a53f86e73b198062c11c (diff)
downloadm2crypto-62191971f697c0e26e6e948a3a6d70f75a69ad5e.tar.gz
Fixed invalid variable name
Diffstat (limited to 'M2Crypto')
-rw-r--r--M2Crypto/ASN1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/M2Crypto/ASN1.py b/M2Crypto/ASN1.py
index 09d9e9f..bb306ef 100644
--- a/M2Crypto/ASN1.py
+++ b/M2Crypto/ASN1.py
@@ -174,7 +174,7 @@ class ASN1_UTCTIME:
raise ValueError("Invalid date: %s" % date)
month, rest = date.split(' ', 1)
if month not in self._ssl_months:
- raise ValueError("Invalid date %s: Invalid month: %s" % (date, m))
+ raise ValueError("Invalid date %s: Invalid month: %s" % (date, month))
if rest.endswith(' GMT'):
timezone = UTC
rest = rest[:-4]