summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_akid.asn1
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-12-08 15:13:28 +0000
committerDavid Howells <dhowells@redhat.com>2017-12-08 15:13:28 +0000
commita27417a9c9997c295887ef4bb966db5cd92e5224 (patch)
tree991266c02d9fc05a6608317de0477229d6e360ac /crypto/asymmetric_keys/x509_akid.asn1
parent49c043bf8e2ae3a0e62685663eb8f6af7fd72353 (diff)
downloadlinux-crypto-a27417a9c9997c295887ef4bb966db5cd92e5224.tar.gz
linux-crypto-a27417a9c9997c295887ef4bb966db5cd92e5224.zip
pkcs7: return correct error code if pkcs7_check_authattrs() fails
If pkcs7_check_authattrs() returns an error code, we should pass that error code on, rather than using ENOMEM. Fixes: beba760d1ec2 ("PKCS#7: Appropriately restrict authenticated attributes and content type") Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'crypto/asymmetric_keys/x509_akid.asn1')
0 files changed, 0 insertions, 0 deletions