summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac/hmac.c
diff options
context:
space:
mode:
authortb <>2021-12-12 21:27:38 +0000
committertb <>2021-12-12 21:27:38 +0000
commita0b1347b1dec62a1a5e864ed59314d2e9b42e15b (patch)
tree110aa6f619f19831c621f32e98d757ca15d75e3e /src/lib/libcrypto/hmac/hmac.c
parentef37d8e11b67b24d718fb50ca36b24bf266259ad (diff)
downloadopenbsd-a0b1347b1dec62a1a5e864ed59314d2e9b42e15b.tar.gz
openbsd-a0b1347b1dec62a1a5e864ed59314d2e9b42e15b.tar.bz2
openbsd-a0b1347b1dec62a1a5e864ed59314d2e9b42e15b.zip
Add a mostly empty hmac_local.h. HMAC_CTX and a few other things
from hmac.h will be moved there in an umpcoming bump. Include this file where it will be needed. ok inoguchi
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.c')
-rw-r--r--src/lib/libcrypto/hmac/hmac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.c b/src/lib/libcrypto/hmac/hmac.c
index 7bf17eed96..a3eb7666e9 100644
--- a/src/lib/libcrypto/hmac/hmac.c
+++ b/src/lib/libcrypto/hmac/hmac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hmac.c,v 1.25 2018/02/17 14:53:58 jsing Exp $ */ 1/* $OpenBSD: hmac.c,v 1.26 2021/12/12 21:27:38 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -63,6 +63,8 @@
63#include <openssl/err.h> 63#include <openssl/err.h>
64#include <openssl/hmac.h> 64#include <openssl/hmac.h>
65 65
66#include "hmac_local.h"
67
66int 68int
67HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, 69HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md,
68 ENGINE *impl) 70 ENGINE *impl)