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