diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-12-09 01:31:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-12-09 01:31:32 +0000 |
commit | e3775a33c1ee5aa845527c3fd9aac11426eac8c5 (patch) | |
tree | 21a6767d828c6ee33178714ea2f1e61ba3c149cd /crypto/pkcs7/pkcs7err.c | |
parent | a4af39ac4482355ffdd61fb61231a0c79b96997b (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/pkcs7err.c')
-rw-r--r-- | crypto/pkcs7/pkcs7err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/pkcs7/pkcs7err.c b/crypto/pkcs7/pkcs7err.c index d0a1f599ab..d8491ff71b 100644 --- a/crypto/pkcs7/pkcs7err.c +++ b/crypto/pkcs7/pkcs7err.c @@ -105,6 +105,7 @@ static ERR_STRING_DATA PKCS7_str_reasons[]= {PKCS7_R_ERROR_SETTING_CIPHER ,"error setting cipher"}, {PKCS7_R_INTERNAL_ERROR ,"internal error"}, {PKCS7_R_INVALID_MIME_TYPE ,"invalid mime type"}, +{PKCS7_R_INVALID_NULL_POINTER ,"invalid null pointer"}, {PKCS7_R_MIME_NO_CONTENT_TYPE ,"mime no content type"}, {PKCS7_R_MIME_PARSE_ERROR ,"mime parse error"}, {PKCS7_R_MIME_SIG_PARSE_ERROR ,"mime sig parse error"}, |