Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1184,6 +1184,8 @@ pk_rd_pa_reply_enckey(krb5_context context,
|
|||||||
heim_octet_string out;
|
heim_octet_string out;
|
||||||
|
|
||||||
ret = hx509_cms_unwrap_ContentInfo(&content, &type, &out, NULL);
|
ret = hx509_cms_unwrap_ContentInfo(&content, &type, &out, NULL);
|
||||||
|
if (ret)
|
||||||
|
goto out;
|
||||||
if (der_heim_oid_cmp(&type, oid_id_pkcs7_signedData())) {
|
if (der_heim_oid_cmp(&type, oid_id_pkcs7_signedData())) {
|
||||||
ret = EINVAL; /* XXX */
|
ret = EINVAL; /* XXX */
|
||||||
krb5_set_error_message(context, ret,
|
krb5_set_error_message(context, ret,
|
||||||
|
Reference in New Issue
Block a user