Remove patches applied in upstream tarball

This commit is contained in:
Björn Esser 2020-08-23 09:58:10 +02:00
parent ea97f58f81
commit 0f846c2616
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -1,23 +0,0 @@
From b205c653ba7b5efe685532daaf9db6c4cbd9aa26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Sat, 15 Aug 2020 11:45:33 +0200
Subject: [PATCH] test/alg-yescrypt: Fix '-Wformat-overflow' with GCC 10.2 on
s390x.
---
test/alg-yescrypt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/alg-yescrypt.c b/test/alg-yescrypt.c
index 0694079..62b4f9e 100644
--- a/test/alg-yescrypt.c
+++ b/test/alg-yescrypt.c
@@ -250,7 +250,7 @@ int main(void)
{flags, (uint64_t)1 << N_log2, r, p, 0, 0, 0};
setting = yescrypt_encode_params(&params,
(const uint8_t *)"WZaPV7LSUEKMo34.", 16 - (i & 15));
- if (i == 0)
+ if (setting && i == 0)
printf("'%s'\n", (char *)setting);
if (!setting) {
printf("%d yescrypt_encode_params() = NULL\n", i);