diff options
Diffstat (limited to 'module/p11-kit-proxy.c')
-rw-r--r-- | module/p11-kit-proxy.c | 14 |
1 files changed, 1 insertions, 13 deletions
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 <sys/types.h> #include <assert.h> @@ -87,19 +88,6 @@ static struct _Shared { #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 */ |