projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab24d9
)
test/evp_test.c: use EVP_DecryptUpdate when decrypting, even for AAD
author
Richard Levitte
<levitte@openssl.org>
Wed, 12 Dec 2018 10:22:52 +0000
(11:22 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 15 Jan 2019 17:32:36 +0000
(18:32 +0100)
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7856)
crypto/evp/evp_test.c
patch
|
blob
|
history
diff --git
a/crypto/evp/evp_test.c
b/crypto/evp/evp_test.c
index 97a208302785d3472e5dccc03a96f9fdfa7288c0..059cd49c68511750800c89b72c6f59f42c53c381 100755
(executable)
--- a/
crypto/evp/evp_test.c
+++ b/
crypto/evp/evp_test.c
@@
-327,7
+327,7
@@
static void test1(const EVP_CIPHER *c, const unsigned char *key, int kn,
ERR_print_errors_fp(stderr);
test1_exit(12);
}
- if (an && !EVP_
En
cryptUpdate(&ctx, NULL, &outl, aad, an)) {
+ if (an && !EVP_
De
cryptUpdate(&ctx, NULL, &outl, aad, an)) {
fprintf(stderr, "AAD set failed\n");
ERR_print_errors_fp(stderr);
test1_exit(13);