summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-sbin-pkcsconf-pkcsconf.c
blob: cdde00a4f14b0258f39b624e6f3860ebe38c45df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- usr/sbin/pkcsconf/pkcsconf.c.orig	2022-09-30 07:45:52 UTC
+++ usr/sbin/pkcsconf/pkcsconf.c
@@ -362,7 +362,7 @@ CK_RV check_user_and_group(void)
      * 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) {
         return CKR_FUNCTION_FAILED;
     }