From 1d9ca2ddb4df85b7235ec78e4996cf2d1fd775a2 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 19 Feb 2011 16:33:36 +0100 Subject: Reference implementation of PKCS#11 URIs --- module/p11-kit-proxy.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'module/p11-kit-proxy.c') diff --git a/module/p11-kit-proxy.c b/module/p11-kit-proxy.c index 02f8ac3..3b43a5f 100644 --- a/module/p11-kit-proxy.c +++ b/module/p11-kit-proxy.c @@ -39,6 +39,7 @@ #include "pkcs11.h" #include "p11-kit.h" #include "p11-kit-private.h" +#include "util.h" #include #include @@ -86,19 +87,6 @@ static struct _Shared { #define LIBRARY_VERSION_MAJOR 1 #define LIBRARY_VERSION_MINOR 1 -/* ----------------------------------------------------------------------------- - * UTILITIES - */ - -static void* -xrealloc (void * memory, size_t length) -{ - void *allocated = realloc (memory, length); - if (!allocated) - free (memory); - return allocated; -} - /* ----------------------------------------------------------------------------- * PKCS#11 PROXY MODULE */ -- cgit v1.2.3