From: Victor Wagner Date: Mon, 20 Jun 2016 14:55:23 +0000 (+0300) Subject: Fix error message in str X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=0776aa758ba8d039df88abed2e371cca1d3fb421;p=oss%2Fctypescrypto.git Fix error message in str --- 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):