summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-lib-pkcs11-tpm_stdll-loadsave.c
blob: 7144ab0d4f5154c2ca9c7716a3023496fdd6efc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- usr/lib/pkcs11/tpm_stdll/loadsave.c.orig	2010-07-29 21:28:41.000000000 +0900
+++ usr/lib/pkcs11/tpm_stdll/loadsave.c	2010-10-20 00:27:47.109983972 +0900
@@ -339,7 +339,7 @@
    fchmod(file,S_IRUSR|S_IWUSR);
 
 #if 0
-   grp = getgrnam("pkcs11"); // Obtain the group id
+   grp = getgrnam(PKCS11GROUP); // Obtain the group id
    if (grp){
       fchown(file,getuid(),grp->gr_gid);  // set ownership to root, and pkcs11 group
    }