Index bug fixed

This commit is contained in:
Alexandre Dulaunoy 2015-04-22 17:08:28 +02:00
parent cfe59cc00c
commit e91731d82b

View file

@ -50,7 +50,7 @@ for l in fileinput.input(args.r):
if ((cert is None) and (len(certstring) > 0)):
y = re.sub(" ", "", certstring).split('=')
a = y[2].split('certificate')[0]
a = y[1].split('certificate')[0]
try:
dercert = binascii.unhexlify(a)
except TypeError: