diff options
author | miod <> | 2015-02-15 09:15:41 +0000 |
---|---|---|
committer | miod <> | 2015-02-15 09:15:41 +0000 |
commit | 43d25d9d0adca1fbbbea133bb6c8c594ecfa57d0 (patch) | |
tree | d99c048b71b1ed40c475ba4005787b1e59787584 /src/regress/lib/libcrypto/aead/aeadtest.c | |
parent | 97b0f555329124d4fe1111fe553da37b8171c196 (diff) | |
download | openbsd-43d25d9d0adca1fbbbea133bb6c8c594ecfa57d0.tar.gz openbsd-43d25d9d0adca1fbbbea133bb6c8c594ecfa57d0.tar.bz2 openbsd-43d25d9d0adca1fbbbea133bb6c8c594ecfa57d0.zip |
Wrong logic; Coverity CID 78894
Diffstat (limited to 'src/regress/lib/libcrypto/aead/aeadtest.c')
-rw-r--r-- | src/regress/lib/libcrypto/aead/aeadtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/aead/aeadtest.c b/src/regress/lib/libcrypto/aead/aeadtest.c index 7a339bc23c..6b1ad206c4 100644 --- a/src/regress/lib/libcrypto/aead/aeadtest.c +++ b/src/regress/lib/libcrypto/aead/aeadtest.c | |||
@@ -139,7 +139,7 @@ aead_from_name(const EVP_AEAD **aead, const char *name) | |||
139 | return -1; | 139 | return -1; |
140 | } | 140 | } |
141 | 141 | ||
142 | if (aead == NULL) | 142 | if (*aead == NULL) |
143 | return 0; | 143 | return 0; |
144 | 144 | ||
145 | return 1; | 145 | return 1; |