diff --git a/opencryptoki-2.4-group.patch b/opencryptoki-2.4-group.patch index aabacdc..d6ff327 100644 --- a/opencryptoki-2.4-group.patch +++ b/opencryptoki-2.4-group.patch @@ -1,6 +1,16 @@ diff -up opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in.group opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in --- opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in.group 2015-08-27 11:35:42.759397175 +0200 +++ opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in 2015-08-27 11:39:02.240023425 +0200 +@@ -338,9 +338,6 @@ + int shmid; + char *shmp; + struct stat statbuf; +- struct group *grp; +- struct passwd *pw, *epw; +- uid_t uid, euid; + + #if !(MMAP) + // Really should fstat the tok_path, since it will be the actual @@ -352,37 +352,6 @@ attach_shared_memory() { return NULL; }