python: Adapt to TOFU changes.

* lang/python/pyme/results.py (TofuInfo): Drop.
(Signature): The TOFU information moved to the key.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-09-14 14:32:48 +02:00
parent 99db351288
commit f6cd560ca7

View File

@ -92,12 +92,9 @@ class SignResult(Result):
class Notation(Result):
pass
class TofuInfo(Result):
pass
class Signature(Result):
_type = dict(wrong_key_usage=bool, chain_model=bool)
_map = dict(notations=Notation, tofu=TofuInfo)
_map = dict(notations=Notation)
class VerifyResult(Result):
_map = dict(signatures=Signature)