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-api-api_interface.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/opencryptoki/files/patch-usr-lib-api-api_interface.c (limited to 'security/opencryptoki/files/patch-usr-lib-api-api_interface.c') diff --git a/security/opencryptoki/files/patch-usr-lib-api-api_interface.c b/security/opencryptoki/files/patch-usr-lib-api-api_interface.c new file mode 100644 index 000000000000..f23f53dae326 --- /dev/null +++ b/security/opencryptoki/files/patch-usr-lib-api-api_interface.c @@ -0,0 +1,11 @@ +--- usr/lib/api/api_interface.c.orig 2022-04-25 11:04:51 UTC ++++ usr/lib/api/api_interface.c +@@ -373,7 +373,7 @@ static CK_RV check_user_and_group() + * when forked). So we need to get the group information. + * Really need to take the uid and map it to a name. + */ +- grp = getgrnam("pkcs11"); ++ grp = getgrnam(PKCS11GROUP); + if (grp == NULL) { + OCK_SYSLOG(LOG_ERR, "getgrnam() failed: %s\n", strerror(errno)); + goto error; -- cgit v1.2.3