summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-02-12 16:15:55 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-02-13 15:35:56 +0100
commit847865d0f9810a2f9c0eb7a5dc5d0c29f50b84ba (patch)
tree96020e68bfaf325294ad849b78fe991c42ad0197 /crypto/pkcs7
parentfix error discrepancy (diff)
downloadopenssl-847865d0f9810a2f9c0eb7a5dc5d0c29f50b84ba.tar.xz
openssl-847865d0f9810a2f9c0eb7a5dc5d0c29f50b84ba.zip
Add suppot for ASCII with CRLF canonicalisation.
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r--crypto/pkcs7/pkcs7.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h
index e4d443193c..267a64685a 100644
--- a/crypto/pkcs7/pkcs7.h
+++ b/crypto/pkcs7/pkcs7.h
@@ -276,6 +276,9 @@ DECLARE_PKCS12_STACK_OF(PKCS7)
#define SMIME_BINARY PKCS7_BINARY
#define SMIME_NOATTR PKCS7_NOATTR
+/* CRLF ASCII canonicalisation */
+#define SMIME_ASCIICRLF 0x80000
+
DECLARE_ASN1_FUNCTIONS(PKCS7_ISSUER_AND_SERIAL)
int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data,const EVP_MD *type,