summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_sm3.c
diff options
context:
space:
mode:
authortb <>2021-12-12 21:30:14 +0000
committertb <>2021-12-12 21:30:14 +0000
commitc1ae4c3a2dcb48029aaea219cb195e9dfe1d093d (patch)
tree68f1da62b9246ae5a21e41ac2ee05ee8307cfa6f /src/lib/libcrypto/evp/m_sm3.c
parenta0b1347b1dec62a1a5e864ed59314d2e9b42e15b (diff)
downloadopenbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.gz
openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.bz2
openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.zip
Include evp_locl.h where it will be needed once most structs from
evp.h will be moved to evp_locl.h in an upcoming bump. ok inoguchi
Diffstat (limited to 'src/lib/libcrypto/evp/m_sm3.c')
-rw-r--r--src/lib/libcrypto/evp/m_sm3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/m_sm3.c b/src/lib/libcrypto/evp/m_sm3.c
index 66582b8e4a..614be5d780 100644
--- a/src/lib/libcrypto/evp/m_sm3.c
+++ b/src/lib/libcrypto/evp/m_sm3.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: m_sm3.c,v 1.1 2018/11/11 06:53:31 tb Exp $ */ 1/* $OpenBSD: m_sm3.c,v 1.2 2021/12/12 21:30:13 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018, Ribose Inc 3 * Copyright (c) 2018, Ribose Inc
4 * 4 *
@@ -25,6 +25,8 @@
25#include <openssl/rsa.h> 25#include <openssl/rsa.h>
26#endif 26#endif
27 27
28#include "evp_locl.h"
29
28static int 30static int
29sm3_init(EVP_MD_CTX *ctx) 31sm3_init(EVP_MD_CTX *ctx)
30{ 32{