]> wagner.pp.ru Git - oss/ctypescrypto.git/commitdiff
Fix error message in str
authorVictor Wagner <vitus@wagner.pp.ru>
Mon, 20 Jun 2016 14:55:23 +0000 (17:55 +0300)
committerVictor Wagner <vitus@wagner.pp.ru>
Mon, 20 Jun 2016 14:55:23 +0000 (17:55 +0300)
ctypescrypto/cms.py

index f7e5e166325cf4f057e3dc5d3b55addd8e7ea7d1..4250cbee3ebd66f125cf38553b7b7ba10c029243 100644 (file)
@@ -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):