Emit the correct error is ASN1 prefix is missing