sprinkle more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19171 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -517,11 +517,12 @@ hx509_cms_envelope_1(hx509_context context,
|
||||
goto out;
|
||||
}
|
||||
|
||||
ret = _hx509_cert_public_encrypt(&key, cert,
|
||||
ret = _hx509_cert_public_encrypt(context,
|
||||
&key, cert,
|
||||
&ri->keyEncryptionAlgorithm.algorithm,
|
||||
&ri->encryptedKey);
|
||||
if (ret) {
|
||||
hx509_set_error_string(context, 0, ret,
|
||||
hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
|
||||
"Failed to encrypt transport key for "
|
||||
"EnvelopedData");
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user