summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-16 16:29:03 (GMT)
committerDavid Howells <dhowells@redhat.com>2014-09-16 16:29:03 (GMT)
commitcecf5d2e1208da512a4c951c24acd66c54a4d06c (patch)
tree098624f09f316276da0d4f26d006b8d6ff4b41c0 /scripts
parent3cd0920cde6a726b9965b60184f9d5a54358304d (diff)
downloadlinux-cecf5d2e1208da512a4c951c24acd66c54a4d06c.tar.xz
PKCS#7: Fix the parser cleanup to drain parsed out X.509 certs
Fix the parser cleanup code to drain parsed out X.509 certs in the case that the decode fails and we jump to error_decode. The function is rearranged so that the same cleanup code is used in the success case as the error case - just that the message descriptor under construction is only released if it is still pointed to by the context struct at that point. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions