diff options
author | tb <> | 2021-08-27 16:12:33 +0000 |
---|---|---|
committer | tb <> | 2021-08-27 16:12:33 +0000 |
commit | 8e20fc9d32e1947070c5fbe3d4eadaf682e0e33f (patch) | |
tree | caa6db7f1ad8a765b4709aaf93e90a1faf294fea | |
parent | 58d3d45e3a11b8ed8c549067865fb45b7caf7819 (diff) | |
download | openbsd-8e20fc9d32e1947070c5fbe3d4eadaf682e0e33f.tar.gz openbsd-8e20fc9d32e1947070c5fbe3d4eadaf682e0e33f.tar.bz2 openbsd-8e20fc9d32e1947070c5fbe3d4eadaf682e0e33f.zip |
Remove unused #include <assert.h>.
This is from upstream where there is an assert() that EVP_MD_size(digest)
matches the length returned by HMAC(). We avoid asserts in our libraries.
From Martin Vahlensieck
-rw-r--r-- | src/lib/libcrypto/hkdf/hkdf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hkdf/hkdf.c b/src/lib/libcrypto/hkdf/hkdf.c index b8be10bfcb..e912481d48 100644 --- a/src/lib/libcrypto/hkdf/hkdf.c +++ b/src/lib/libcrypto/hkdf/hkdf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hkdf.c,v 1.4 2019/11/21 20:02:20 tim Exp $ */ | 1 | /* $OpenBSD: hkdf.c,v 1.5 2021/08/27 16:12:33 tb Exp $ */ |
2 | /* Copyright (c) 2014, Google Inc. | 2 | /* Copyright (c) 2014, Google Inc. |
3 | * | 3 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
@@ -16,7 +16,6 @@ | |||
16 | 16 | ||
17 | #include <openssl/hkdf.h> | 17 | #include <openssl/hkdf.h> |
18 | 18 | ||
19 | #include <assert.h> | ||
20 | #include <string.h> | 19 | #include <string.h> |
21 | 20 | ||
22 | #include <openssl/err.h> | 21 | #include <openssl/err.h> |