mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-libs/opensc: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
https://github.com/OpenSC/OpenSC/commit/2fee97b35fa8f1b51394540b259768b61e126a15
|
||||
|
||||
From 2fee97b35fa8f1b51394540b259768b61e126a15 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Veronika=20Hanul=C3=ADkov=C3=A1?= <vhanulik@redhat.com>
|
||||
Date: Thu, 16 Jan 2025 10:39:57 +0100
|
||||
Subject: [PATCH] p11test: Fix compiler warning about setting 'true' variable
|
||||
|
||||
---
|
||||
src/tests/p11test/p11test_case_wrap.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/tests/p11test/p11test_case_wrap.c b/src/tests/p11test/p11test_case_wrap.c
|
||||
index ecb257b565..e9c503d7e8 100644
|
||||
--- a/src/tests/p11test/p11test_case_wrap.c
|
||||
+++ b/src/tests/p11test/p11test_case_wrap.c
|
||||
@@ -390,15 +390,15 @@ test_unwrap_aes(test_cert_t *o, token_info_t *info, test_mech_t *mech)
|
||||
CK_ULONG key_padded_len = sizeof(key);
|
||||
CK_OBJECT_CLASS keyClass = CKO_SECRET_KEY;
|
||||
CK_KEY_TYPE keyType = CKK_AES;
|
||||
- CK_BBOOL true = CK_TRUE;
|
||||
+ CK_BBOOL _true = CK_TRUE;
|
||||
CK_BYTE new_id[] = {0x00, 0xff, 0x42};
|
||||
CK_BYTE new_label[] = "Unwrapped key";
|
||||
CK_ATTRIBUTE template[] = {
|
||||
{CKA_CLASS, &keyClass, sizeof(keyClass)},
|
||||
{CKA_KEY_TYPE, &keyType, sizeof(keyType)},
|
||||
- {CKA_ENCRYPT, &true, sizeof(true)},
|
||||
- {CKA_DECRYPT, &true, sizeof(true)},
|
||||
- {CKA_TOKEN, &true, sizeof(true)},
|
||||
+ {CKA_ENCRYPT, &_true, sizeof(_true)},
|
||||
+ {CKA_DECRYPT, &_true, sizeof(_true)},
|
||||
+ {CKA_TOKEN, &_true, sizeof(_true)},
|
||||
{CKA_ID, &new_id, sizeof(new_id)},
|
||||
{CKA_LABEL, &new_label, sizeof(new_label)},
|
||||
{CKA_VALUE_LEN, &key_len, sizeof(key_len)}, /* keep this one last! */
|
||||
|
||||
Reference in New Issue
Block a user