diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
commit | 6657c680376cedf378fcf328e5fa03ed3b41d580 (patch) | |
tree | 44ea8d174f647daca562b9bdcbcb527a85a77d0a /app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch | |
parent | 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (diff) |
gentoo auto-resync : 02:06:2024 - 00:07:23
Diffstat (limited to 'app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch')
-rw-r--r-- | app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch b/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch deleted file mode 100644 index b97a71396e26..000000000000 --- a/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/p11-glue/p11-kit/commit/cdc4720d29466e717aa694a85a7aee86ebb94172 - -From cdc4720d29466e717aa694a85a7aee86ebb94172 Mon Sep 17 00:00:00 2001 -From: Erdem Meydanli <meydanli@amazon.com> -Date: Thu, 26 Oct 2023 15:18:24 +0000 -Subject: [PATCH] fix: improper comparison - -Compare the return value of the readpassphrase function to NULL. - -Signed-off-by: Erdem Meydanli <meydanli@amazon.com> ---- a/p11-kit/tty.c -+++ b/p11-kit/tty.c -@@ -66,7 +66,7 @@ p11_pin_tty_callback (const char *pin_source, - if (asprintf (&prompt, "%s: ", pin_description) < 0) - return NULL; - -- if (readpassphrase (prompt, buf, sizeof(buf), 0) < 0) -+ if (readpassphrase (prompt, buf, sizeof(buf), 0) == NULL) - goto cleanup; - - pin = p11_kit_pin_new_for_string (buf); - |