Check for signature error, check consitency of error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16833 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -508,6 +508,8 @@ hx509_cms_verify_signed(hx509_context context, | ||||
| 					  sd.encapContentInfo.eContent, | ||||
| 					  &os); | ||||
| 	    free_octet_string(&os); | ||||
| 	    if (ret) | ||||
| 		continue; | ||||
|  | ||||
| 	    /*  | ||||
| 	     * Fetch content oid inside signedAttrs or set it to | ||||
| @@ -549,6 +551,8 @@ hx509_cms_verify_signed(hx509_context context, | ||||
| 		free(signed_data); | ||||
| 		continue; | ||||
| 	    } | ||||
| 	    if (size != signed_data->length) | ||||
| 		_hx509_abort("internal ASN.1 encoder error"); | ||||
|  | ||||
| 	} else { | ||||
| 	    signed_data = sd.encapContentInfo.eContent; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand