Blame SOURCES/opensc-32b-arch.patch

1b9302
commit 6bc05d7037041e543d627248ca9df90723426ce1
1b9302
Author: Jakub Jelen <jjelen@redhat.com>
1b9302
Date:   Tue Aug 10 16:30:40 2021 +0200
1b9302
1b9302
    p11test: Fix invalid format string on 32b architectures
1b9302
1b9302
diff --git a/src/tests/p11test/p11test.c b/src/tests/p11test/p11test.c
1b9302
index dbac167d..49de6a93 100644
1b9302
--- a/src/tests/p11test/p11test.c
1b9302
+++ b/src/tests/p11test/p11test.c
1b9302
@@ -139,7 +139,7 @@ int main(int argc, char** argv) {
1b9302
 		return -1;
1b9302
 	}
1b9302
 
1b9302
-	debug_print("Card info:\n\tPIN %s\n\tPIN LENGTH %lu\n\t",
1b9302
+	debug_print("Card info:\n\tPIN %s\n\tPIN LENGTH %zu\n\t",
1b9302
 		token.pin, token.pin_length);
1b9302
 
1b9302
 	return cmocka_run_group_tests(readonly_tests_without_initialization,
1b9302
diff --git a/src/tests/p11test/p11test_case_pss_oaep.c b/src/tests/p11test/p11test_case_pss_oaep.c
1b9302
index 1d876a5b..5a6ae9d0 100644
1b9302
--- a/src/tests/p11test/p11test_case_pss_oaep.c
1b9302
+++ b/src/tests/p11test/p11test_case_pss_oaep.c
1b9302
@@ -402,7 +402,7 @@ int oaep_encrypt_decrypt_test(test_cert_t *o, token_info_t *info, test_mech_t *m
1b9302
 	if (message_length < 0) {
1b9302
 		mech->usage_flags &= ~CKF_DECRYPT;
1b9302
 		debug_print(" [SKIP %s ] Too small modulus (%ld bits)"
1b9302
-			" or too large hash %s (%lu B) for OAEP", o->id_str,
1b9302
+			" or too large hash %s (%zu B) for OAEP", o->id_str,
1b9302
 			o->bits, get_mechanism_name(mech->hash),
1b9302
 			get_hash_length(mech->hash));
1b9302
 		return 0;
1b9302