diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-10-05 16:46:28 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-08 07:38:06 +0200 |
commit | 4f28945da0c502c794eb4e4d535d3ba65d3c9769 (patch) | |
tree | 11789af587b413c019e709ec30c037dc54001726 /net/rose | |
parent | crypto: bcm - Verify GCM/CCM key length in setkey (diff) | |
download | linux-4f28945da0c502c794eb4e4d535d3ba65d3c9769.tar.xz linux-4f28945da0c502c794eb4e4d535d3ba65d3c9769.zip |
X.509: fix error return value on the failed path
When memory allocation fails, an appropriate return value
should be set.
Fixes: 215525639631 ("X.509: support OSCCA SM2-with-SM3 certificate verification")
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions