diff --git a/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch b/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch index e02405e..c975df8 100644 --- a/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch +++ b/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch @@ -1,8 +1,9 @@ -From 53775cd61f8e4a538cf057b73d91f510ef11fbaa Mon Sep 17 00:00:00 2001 +From 3920f84ce07b0855827898a81969da469a57337f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 17 Feb 2018 10:54:22 +0100 Subject: [PATCH] kcapi-hasher: Fix -Werror=implicit-fallthrough +Signed-off-by: Stephan Mueller --- apps/kcapi-hasher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkcapi-1.0.3-kcapi-main_fix_copy_paste_typo.patch b/libkcapi-1.0.3-kcapi-main_fix_copy_paste_typo.patch new file mode 100644 index 0000000..f2a2a2f --- /dev/null +++ b/libkcapi-1.0.3-kcapi-main_fix_copy_paste_typo.patch @@ -0,0 +1,23 @@ +From 893011d755f171431a06b62bf6abd383b004d5a2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ondrej=20Mosn=C3=A1=C4=8Dek?= +Date: Mon, 19 Feb 2018 13:52:02 +0100 +Subject: [PATCH] kcapi-main: Fix a copy-paste typo + +Signed-off-by: Stephan Mueller +--- + test/kcapi-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/kcapi-main.c b/test/kcapi-main.c +index b73b836..68d2226 100644 +--- a/test/kcapi-main.c ++++ b/test/kcapi-main.c +@@ -764,7 +764,7 @@ static void usage(void) + fprintf(stderr, "\t\t8 for PBKDF\n"); + fprintf(stderr, "\t\t9 for AIO symmetric cipher algorithm\n"); + fprintf(stderr, "\t\t10 for AIO AEAD cipher algorithm\n"); +- fprintf(stderr, "\t\t10 for AIO asymmetric cipher algorithm\n"); ++ fprintf(stderr, "\t\t11 for AIO asymmetric cipher algorithm\n"); + fprintf(stderr, "\t-z --aux\tAuxiliary tests of the API\n"); + fprintf(stderr, "\t-s --stream\tUse the stream API\n"); + fprintf(stderr, "\t-y --largeinput\tTest long AD with AEAD cipher\n"); diff --git a/libkcapi.spec b/libkcapi.spec index 36cd8f4..278e7f2 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -80,7 +80,7 @@ Name: libkcapi Version: %{vmajor}.%{vminor}.%{vpatch} -Release: 5%{?dist} +Release: 6%{?dist} Summary: User space interface to the Linux Kernel Crypto API License: BSD or GPLv2 @@ -94,7 +94,8 @@ Patch2: %{giturl}/commit/63855e3e2414afbe232e5ea2e4bdfb03b786344a.patch# Patch3: %{giturl}/commit/b9bced05dae319c6a00c2adce8953d468404a95c.patch#/%{name}-1.0.3-autotools_full_path.patch Patch4: %{giturl}/commit/ba147c9cce460c29076968c9e9e1a3828c0e9143.patch#/%{name}-1.0.3-hasher_test_hmaccalc_path.patch Patch5: %{giturl}/commit/bc7c26efe5ab5c7644fac421b2fb6b1b687c4d0e.patch#/%{name}-1.0.3-test_invocation_fix_bash_coding_error.patch -Patch6: %{giturl}/pull/37.patch#/%{name}-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch +Patch6: %{giturl}/commit/3920f84ce07b0855827898a81969da469a57337f.patch#/%{name}-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch +Patch7: %{giturl}/commit/893011d755f171431a06b62bf6abd383b004d5a2.patch#/%{name}-1.0.3-kcapi-main_fix_copy_paste_typo.patch BuildRequires: clang BuildRequires: coreutils @@ -412,6 +413,9 @@ popd %changelog +* Sun Feb 25 2018 Björn Esser - 1.0.3-6 +- Add patch to fix a copy-paste typo + * Sat Feb 17 2018 Björn Esser - 1.0.3-5 - Add patch to fix build with -Werror