diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-02-05 18:19:14 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-02-19 20:27:04 +0800 |
commit | 50540e6eba0e59c3a5e4551b9aa7868df4f7bd8d (patch) | |
tree | c017b299b800d37eff742733678eab8f26d1cfb8 /crypto/asymmetric_keys/rsa.c | |
parent | f9db44b2ad38f1e6f9ff88359da550b5ec0e5d74 (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions