summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pkcs7err.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-05-07 23:21:02 +0100
committerMatt Caswell <matt@openssl.org>2014-05-07 23:21:02 +0100
commit2d2e0479eb758dddb4b5236aa6e3288f2682b279 (patch)
tree8c2e69f26ea41293603bc0d59901e093688aad7d /crypto/pkcs7/pkcs7err.c
parentfce3821111e3307a599d2378f2cca2ef2097c6c4 (diff)
Fixed NULL pointer dereference in PKCS7_dataDecode reported by David Ramos in PR#3339
Diffstat (limited to 'crypto/pkcs7/pkcs7err.c')
-rw-r--r--crypto/pkcs7/pkcs7err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/pkcs7/pkcs7err.c b/crypto/pkcs7/pkcs7err.c
index d0af32a265..f3db08e007 100644
--- a/crypto/pkcs7/pkcs7err.c
+++ b/crypto/pkcs7/pkcs7err.c
@@ -1,6 +1,6 @@
/* crypto/pkcs7/pkcs7err.c */
/* ====================================================================
- * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2014 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -130,6 +130,7 @@ static ERR_STRING_DATA PKCS7_str_reasons[]=
{ERR_REASON(PKCS7_R_ERROR_SETTING_CIPHER),"error setting cipher"},
{ERR_REASON(PKCS7_R_INVALID_MIME_TYPE) ,"invalid mime type"},
{ERR_REASON(PKCS7_R_INVALID_NULL_POINTER),"invalid null pointer"},
+{ERR_REASON(PKCS7_R_INVALID_SIGNED_DATA_TYPE),"invalid signed data type"},
{ERR_REASON(PKCS7_R_MIME_NO_CONTENT_TYPE),"mime no content type"},
{ERR_REASON(PKCS7_R_MIME_PARSE_ERROR) ,"mime parse error"},
{ERR_REASON(PKCS7_R_MIME_SIG_PARSE_ERROR),"mime sig parse error"},