summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/afalgtest.c2
-rw-r--r--test/recipes/30-test_afalg.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/afalgtest.c b/test/afalgtest.c
index d86c0900ac..1013fe0beb 100644
--- a/test/afalgtest.c
+++ b/test/afalgtest.c
@@ -93,7 +93,7 @@ static int test_afalg_aes_128_cbc(ENGINE *e)
if ( !EVP_CIPHER_CTX_reset(ctx)
|| !EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)
|| !EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)
- || !EVP_CipherFinal_ex(ctx, ebuf+decl, &decf)) {
+ || !EVP_CipherFinal_ex(ctx, dbuf+decl, &decf)) {
fprintf(stderr, "%s() failed decryption\n", __func__);
goto end;
}
diff --git a/test/recipes/30-test_afalg.t b/test/recipes/30-test_afalg.t
index 68eb60b3fe..f69c9028a9 100644
--- a/test/recipes/30-test_afalg.t
+++ b/test/recipes/30-test_afalg.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# ====================================================================
-# Copyright (c) 1998-2015 The OpenSSL Project. All rights reserved.
+# Copyright (c) 2016 The OpenSSL Project. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions