summaryrefslogtreecommitdiff
path: root/crypto/ccm.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-02-05 18:19:14 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2013-02-19 20:27:04 +0800
commit50540e6eba0e59c3a5e4551b9aa7868df4f7bd8d (patch)
treec017b299b800d37eff742733678eab8f26d1cfb8 /crypto/ccm.c
parentf9db44b2ad38f1e6f9ff88359da550b5ec0e5d74 (diff)
downloadlinux-crypto-50540e6eba0e59c3a5e4551b9aa7868df4f7bd8d.tar.gz
linux-crypto-50540e6eba0e59c3a5e4551b9aa7868df4f7bd8d.zip
crypto: user - fix empty string test in report API
The current test for empty strings fails because it is testing the address of a field, not a pointer. So the test will always be true. Test the first character in the string to not be null instead. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions