summaryrefslogtreecommitdiff
path: root/module/p11-kit-proxy.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-02-19 16:33:36 +0100
committerStef Walter <stefw@collabora.co.uk>2011-02-19 16:33:36 +0100
commit1d9ca2ddb4df85b7235ec78e4996cf2d1fd775a2 (patch)
tree027f6df6ca2207daa687f8775a4442e68d065965 /module/p11-kit-proxy.c
parent65509aa3a7c35d8bd5a947ca87c14d4de11deb21 (diff)
Reference implementation of PKCS#11 URIs
Diffstat (limited to 'module/p11-kit-proxy.c')
-rw-r--r--module/p11-kit-proxy.c14
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
*/