aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/defs.c')
-rw-r--r--src/pluto/defs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pluto/defs.c b/src/pluto/defs.c
index 6ade825cd..f83318e12 100644
--- a/src/pluto/defs.c
+++ b/src/pluto/defs.c
@@ -38,14 +38,6 @@ all_zero(const unsigned char *m, size_t len)
return TRUE;
}
-void *clone_bytes(const void *orig, size_t size)
-{
- void *p = malloc(size);
-
- memcpy(p, orig, size);
- return p;
-}
-
/* Note that there may be as many as six IDs that are temporary at
* one time before unsharing the two ends of a connection. So we need
* at least six temporary buffers for DER_ASN1_DN IDs.