hx509: Fix coverity warnings
This commit is contained in:
@@ -1566,7 +1566,9 @@ hx509_cms_create_signed(hx509_context context,
|
||||
|
||||
sigctx.sd.version = cMSVersion_v3;
|
||||
|
||||
der_copy_oid(eContentType, &sigctx.sd.encapContentInfo.eContentType);
|
||||
ret = der_copy_oid(eContentType, &sigctx.sd.encapContentInfo.eContentType);
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
/**
|
||||
* Use HX509_CMS_SIGNATURE_DETACHED to create detached signatures.
|
||||
|
Reference in New Issue
Block a user