diff options
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/Makefile.am | 1 | ||||
-rw-r--r-- | p11-kit/conf.c | 37 | ||||
-rw-r--r-- | p11-kit/p11-kit-1.pc.in | 3 |
3 files changed, 4 insertions, 37 deletions
diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am index fd0b90a..650fe44 100644 --- a/p11-kit/Makefile.am +++ b/p11-kit/Makefile.am @@ -24,6 +24,7 @@ MODULE_SRCS = \ modules.c \ pkcs11.h \ pin.c \ + pkcs11.h \ proxy.c \ private.h \ messages.c \ diff --git a/p11-kit/conf.c b/p11-kit/conf.c index 68b6343..0f98636 100644 --- a/p11-kit/conf.c +++ b/p11-kit/conf.c @@ -111,43 +111,6 @@ strequal (const char *one, const char *two) return strcmp (one, two) == 0; } -static char * -strconcat (const char *first, - ...) GNUC_NULL_TERMINATED; - -static char * -strconcat (const char *first, - ...) -{ - size_t length = 0; - const char *arg; - char *result, *at; - va_list va; - - va_start (va, first); - - for (arg = first; arg; arg = va_arg (va, const char*)) - length += strlen (arg); - - va_end (va); - - at = result = malloc (length + 1); - return_val_if_fail (result != NULL, NULL); - - va_start (va, first); - - for (arg = first; arg; arg = va_arg (va, const char*)) { - length = strlen (arg); - memcpy (at, arg, length); - at += length; - } - - va_end (va); - - *at = 0; - return result; -} - /* ----------------------------------------------------------------------------- * CONFIG PARSER */ diff --git a/p11-kit/p11-kit-1.pc.in b/p11-kit/p11-kit-1.pc.in index d0d378d..441904d 100644 --- a/p11-kit/p11-kit-1.pc.in +++ b/p11-kit/p11-kit-1.pc.in @@ -10,6 +10,9 @@ p11_module_configs=@p11_package_config_modules@ p11_module_path=@p11_module_path@ proxy_module=@libdir@/p11-kit-proxy.so +p11_system_anchors=@with_system_anchors@ +p11_system_certificates=@with_system_certificates@ + # This is for compatibility. Other packages were using this to determine # the directory they should install their module configs to, so override # this and redirect them to the new location |