summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pkcs7.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-12-09 01:31:32 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-12-09 01:31:32 +0000
commite3775a33c1ee5aa845527c3fd9aac11426eac8c5 (patch)
tree21a6767d828c6ee33178714ea2f1e61ba3c149cd /crypto/pkcs7/pkcs7.h
parenta4af39ac4482355ffdd61fb61231a0c79b96997b (diff)
Make the PKCS#7 S/MIME functions check for passed NULL pointers.
Fix the usage message of smime utility and sanitise the return codes. Add some documentation.
Diffstat (limited to 'crypto/pkcs7/pkcs7.h')
-rw-r--r--crypto/pkcs7/pkcs7.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h
index 7369e324d7..63a97e1540 100644
--- a/crypto/pkcs7/pkcs7.h
+++ b/crypto/pkcs7/pkcs7.h
@@ -455,6 +455,7 @@ int SMIME_text(BIO *in, BIO *out);
#define PKCS7_R_ERROR_SETTING_CIPHER 121
#define PKCS7_R_INTERNAL_ERROR 102
#define PKCS7_R_INVALID_MIME_TYPE 131
+#define PKCS7_R_INVALID_NULL_POINTER 143
#define PKCS7_R_MIME_NO_CONTENT_TYPE 132
#define PKCS7_R_MIME_PARSE_ERROR 133
#define PKCS7_R_MIME_SIG_PARSE_ERROR 134