summaryrefslogtreecommitdiff
path: root/sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch')
-rw-r--r--sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch b/sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch
deleted file mode 100644
index 2306a210e0be..000000000000
--- a/sys-apps/util-linux/files/util-linux-2.31-too_generic_symbols_pt3.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From b4db227582f1d0a14c7b63de8d57e6052b753d57 Mon Sep 17 00:00:00 2001
-From: Karel Zak <kzak@redhat.com>
-Date: Tue, 12 Dec 2017 11:38:17 +0100
-Subject: [PATCH] test_sha1: update helper
-
-Signed-off-by: Karel Zak <kzak@redhat.com>
----
- tests/helpers/test_sha1.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/tests/helpers/test_sha1.c b/tests/helpers/test_sha1.c
-index 5a1972935..ad96da4f0 100644
---- a/tests/helpers/test_sha1.c
-+++ b/tests/helpers/test_sha1.c
-@@ -7,22 +7,22 @@
- int main(void)
- {
- int i, ret;
-- SHA1_CTX ctx;
-- unsigned char digest[SHA1LENGTH];
-+ UL_SHA1_CTX ctx;
-+ unsigned char digest[UL_SHA1LENGTH];
- unsigned char buf[BUFSIZ];
-
-- SHA1Init( &ctx );
-+ ul_SHA1Init( &ctx );
-
- while(!feof(stdin) && !ferror(stdin)) {
- ret = fread(buf, 1, sizeof(buf), stdin);
- if (ret)
-- SHA1Update( &ctx, buf, ret );
-+ ul_SHA1Update( &ctx, buf, ret );
- }
-
- fclose(stdin);
-- SHA1Final( digest, &ctx );
-+ ul_SHA1Final( digest, &ctx );
-
-- for (i = 0; i < SHA1LENGTH; i++)
-+ for (i = 0; i < UL_SHA1LENGTH; i++)
- printf( "%02x", digest[i] );
- printf("\n");
- return 0;