X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fdigest.py;h=2963e7034b19eac01bad510ff7ad389e65f0cb1c;hb=26cea2b5ab48f099b08a1cde56cf1bec0062a584;hp=26b46bd7337e5bbd467a8252ec29514775a5edd9;hpb=4367362775bc1936c63cb0bff16a71affc31f8a2;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/digest.py b/ctypescrypto/digest.py index 26b46bd..2963e70 100644 --- a/ctypescrypto/digest.py +++ b/ctypescrypto/digest.py @@ -32,7 +32,7 @@ def new(algname): md=DigestType(algname) return Digest(md) -class DigestType: +class DigestType(object): """ Represents EVP_MD object - constant structure which describes @@ -57,7 +57,7 @@ class DigestType: def oid(self): return Oid(libcrypto.EVP_MD_type(self.digest)) -class Digest: +class Digest(object): """ Represents EVP_MD_CTX object which actually used to calculate digests.