X-Git-Url: https://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fcms.py;fp=ctypescrypto%2Fcms.py;h=4250cbee3ebd66f125cf38553b7b7ba10c029243;hb=0776aa758ba8d039df88abed2e371cca1d3fb421;hp=f7e5e166325cf4f057e3dc5d3b55addd8e7ea7d1;hpb=0b71a493c4661ee64d8ec27c364c01af11e80737;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/cms.py b/ctypescrypto/cms.py index f7e5e16..4250cbe 100644 --- a/ctypescrypto/cms.py +++ b/ctypescrypto/cms.py @@ -84,7 +84,7 @@ class CMSBase(object): """ bio = Membio() if not libcrypto.i2d_CMS_bio(bio.bio, self.ptr): - raise CMSError("writing CMS to PEM") + raise CMSError("writing CMS to DER") return str(bio) def pem(self):