summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-05-30 17:01:39 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-05-30 17:01:39 +0000
commitbdc0ddec8c3a359dc63277d9e226eacf4a9668e9 (patch)
tree02129a615f7c48401843a09d247a446c5b7030fc /regress/lib/libcrypto
parent9d03842a28276be4d524be4f794df3b511da58f4 (diff)
Adjust hmac test for removal of static buffer from HMAC()
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r--regress/lib/libcrypto/hmac/hmactest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/hmac/hmactest.c b/regress/lib/libcrypto/hmac/hmactest.c
index f61a177e1b5..99b936f9335 100644
--- a/regress/lib/libcrypto/hmac/hmactest.c
+++ b/regress/lib/libcrypto/hmac/hmactest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmactest.c,v 1.7 2021/11/18 20:11:55 tb Exp $ */
+/* $OpenBSD: hmactest.c,v 1.8 2024/05/30 17:01:38 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -153,7 +153,7 @@ main(int argc, char *argv[])
for (i = 0; i < 4; i++) {
p = pt(HMAC(EVP_md5(),
test[i].key, test[i].key_len,
- test[i].data, test[i].data_len, NULL, NULL),
+ test[i].data, test[i].data_len, buf, NULL),
MD5_DIGEST_LENGTH);
if (strcmp(p, (char *)test[i].digest) != 0) {