From cd09274aa2c59b5a06508ed00bf5bded7b7b6213 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Fri, 6 May 2022 17:31:40 +0900 Subject: security/opencryptoki: update to 3.18.0 --- security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c (limited to 'security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c') diff --git a/security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c b/security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c new file mode 100644 index 000000000000..d9a1b70e0bd4 --- /dev/null +++ b/security/opencryptoki/files/patch-usr-lib-common-pkcs_utils.c @@ -0,0 +1,11 @@ +--- usr/lib/common/pkcs_utils.c.orig 2022-04-25 11:04:51 UTC ++++ usr/lib/common/pkcs_utils.c +@@ -466,7 +466,7 @@ void set_perm(int file) + // Set absolute permissions or rw-rw---- + fchmod(file, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); + +- grp = getgrnam("pkcs11"); // Obtain the group id ++ grp = getgrnam(PKCS11GROUP); // Obtain the group id + if (grp) { + // set ownership to pkcs11 group + if (fchown(file, -1, grp->gr_gid) != 0) { -- cgit v1.2.3