summaryrefslogtreecommitdiff
path: root/security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2019-03-03 03:47:33 +0000
committerHiroki Sato <hrs@FreeBSD.org>2019-03-03 03:47:33 +0000
commit24b4037afadd4e714322c5d93291911ca083c6f3 (patch)
tree60eaf15c38299ca937e0beb637be1c5e99ce0c93 /security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c
parentFix build on 32-bit arch. (diff)
Update to 3.11.0, which supports OpenSSL 1.0.x and 1.1.x.
Diffstat (limited to 'security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c')
-rw-r--r--security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c b/security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c
new file mode 100644
index 000000000000..f40edd4569bd
--- /dev/null
+++ b/security/opencryptoki/files/patch-usr-lib-icsf_stdll-pbkdf.c
@@ -0,0 +1,11 @@
+--- usr/lib/icsf_stdll/pbkdf.c.orig 2018-11-16 14:53:03 UTC
++++ usr/lib/icsf_stdll/pbkdf.c
+@@ -62,7 +62,7 @@ CK_RV set_perms(int file)
+ return CKR_FUNCTION_FAILED;
+ }
+
+- grp = getgrnam("pkcs11");
++ grp = getgrnam(PKCS11GROUP);
+ if (grp) {
+ if (fchown(file, -1, grp->gr_gid) != 0) {
+ TRACE_ERROR("fchown failed: %s\n", strerror(errno));