summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/include
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-11 17:28:46 +0000
committerflorian <florian@openbsd.org>2020-02-11 17:28:46 +0000
commit49ac168bada985824eb1faba2382ce03527f26af (patch)
tree595d1f2350c50b4736483002b396f108fea9f9d9 /usr.bin/dig/lib/isc/include
parentRemove unused functionality from dst_api.c. (diff)
downloadwireguard-openbsd-49ac168bada985824eb1faba2382ce03527f26af.tar.xz
wireguard-openbsd-49ac168bada985824eb1faba2382ce03527f26af.zip
Pretty sure sha1 works most of the time, no need to check during
runtime.
Diffstat (limited to 'usr.bin/dig/lib/isc/include')
-rw-r--r--usr.bin/dig/lib/isc/include/isc/hmacsha.h6
-rw-r--r--usr.bin/dig/lib/isc/include/isc/sha1.h5
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/dig/lib/isc/include/isc/hmacsha.h b/usr.bin/dig/lib/isc/include/isc/hmacsha.h
index b8a97a395f3..ae5c2ed57c4 100644
--- a/usr.bin/dig/lib/isc/include/isc/hmacsha.h
+++ b/usr.bin/dig/lib/isc/include/isc/hmacsha.h
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: hmacsha.h,v 1.1 2020/02/07 09:58:54 florian Exp $ */
+/* $Id: hmacsha.h,v 1.2 2020/02/11 17:28:46 florian Exp $ */
/*! \file isc/hmacsha.h
* This is the header file for the HMAC-SHA1, HMAC-SHA224, HMAC-SHA256,
@@ -68,10 +68,6 @@ isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
isc_boolean_t
isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
-isc_boolean_t
-isc_hmacsha1_check(int testing);
-
-
void
isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key,
unsigned int len);
diff --git a/usr.bin/dig/lib/isc/include/isc/sha1.h b/usr.bin/dig/lib/isc/include/isc/sha1.h
index eed9fb51859..4c6e45773ec 100644
--- a/usr.bin/dig/lib/isc/include/isc/sha1.h
+++ b/usr.bin/dig/lib/isc/include/isc/sha1.h
@@ -17,7 +17,7 @@
#ifndef ISC_SHA1_H
#define ISC_SHA1_H 1
-/* $Id: sha1.h,v 1.1 2020/02/07 09:58:54 florian Exp $ */
+/* $Id: sha1.h,v 1.2 2020/02/11 17:28:46 florian Exp $ */
/* $NetBSD: sha1.h,v 1.2 1998/05/29 22:55:44 thorpej Exp $ */
@@ -55,9 +55,6 @@ isc_sha1_update(isc_sha1_t *ctx, const unsigned char *data, unsigned int len);
void
isc_sha1_final(isc_sha1_t *ctx, unsigned char *digest);
-isc_boolean_t
-isc_sha1_check(isc_boolean_t testing);
-
ISC_LANG_ENDDECLS
#endif /* ISC_SHA1_H */