aboutsummaryrefslogtreecommitdiff
path: root/crypto/cms/cms_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-15 00:02:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-03-15 00:02:23 +0000
commitfd47c36136c7ac9b86f14c69b23a7d2df4fce132 (patch)
tree6f9ef61c5a2ed4e418dc427ce48cd506ba316c71 /crypto/cms/cms_err.c
parentd9f5f07e286bfc7a2a81756199a3e94444e0f6ce (diff)
downloadopenssl-fd47c36136c7ac9b86f14c69b23a7d2df4fce132.zip
openssl-fd47c36136c7ac9b86f14c69b23a7d2df4fce132.tar.gz
openssl-fd47c36136c7ac9b86f14c69b23a7d2df4fce132.tar.bz2
Return error if no cipher set for encrypted data type.
Update CHANGES.
Diffstat (limited to 'crypto/cms/cms_err.c')
-rw-r--r--crypto/cms/cms_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cms/cms_err.c b/crypto/cms/cms_err.c
index 9674803..0d14268 100644
--- a/crypto/cms/cms_err.c
+++ b/crypto/cms/cms_err.c
@@ -94,6 +94,7 @@ static ERR_STRING_DATA CMS_str_functs[]=
{ERR_FUNC(CMS_F_CMS_ENCRYPTEDCONTENT_INIT_BIO), "CMS_ENCRYPTEDCONTENT_INIT_BIO"},
{ERR_FUNC(CMS_F_CMS_ENCRYPTEDCONTENT_TO_BIO), "CMS_ENCRYPTEDCONTENT_TO_BIO"},
{ERR_FUNC(CMS_F_CMS_ENCRYPTEDDATA_DECRYPT), "CMS_EncryptedData_decrypt"},
+{ERR_FUNC(CMS_F_CMS_ENCRYPTEDDATA_ENCRYPT), "CMS_EncryptedData_encrypt"},
{ERR_FUNC(CMS_F_CMS_ENCRYPTEDDATA_INIT_BIO), "CMS_ENCRYPTEDDATA_INIT_BIO"},
{ERR_FUNC(CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY), "CMS_EncryptedData_set1_key"},
{ERR_FUNC(CMS_F_CMS_ENCRYPTED_DATA_DECRYPT), "CMS_ENCRYPTED_DATA_DECRYPT"},
@@ -146,6 +147,7 @@ static ERR_STRING_DATA CMS_str_reasons[]=
{ERR_REASON(CMS_R_NOT_ENCRYPTED_DATA) ,"not encrypted data"},
{ERR_REASON(CMS_R_NOT_KEY_TRANSPORT) ,"not key transport"},
{ERR_REASON(CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE),"not supported for this key type"},
+{ERR_REASON(CMS_R_NO_CIPHER) ,"no cipher"},
{ERR_REASON(CMS_R_NO_CONTENT) ,"no content"},
{ERR_REASON(CMS_R_NO_DEFAULT_DIGEST) ,"no default digest"},
{ERR_REASON(CMS_R_NO_DIGEST_SET) ,"no digest set"},