blob: 3dddb5de9d8bff3f32f4e0a075d3d27f9ab80e17 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- usr/sbin/p11sak/p11sak.c.orig 2022-04-25 11:04:51 UTC
+++ usr/sbin/p11sak/p11sak.c
@@ -19,7 +19,7 @@
#include "cfgparser.h"
#include "configuration.h"
#include <ctype.h>
-#include <linux/limits.h>
+#include <limits.h>
#include <unistd.h>
#include <sys/types.h>
@@ -81,7 +81,7 @@ static void load_pkcs11lib(void)
const char *libname;
/* check for environment variable PKCSLIB */
- libname = secure_getenv("PKCSLIB");
+ libname = getenv("PKCSLIB");
if (libname == NULL || strlen(libname) < 1)
libname = default_pkcs11lib;
|