Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ipsec-tools/src/libipsec Remove ipsec_bindump, t...



details:   https://anonhg.NetBSD.org/src/rev/6c377ddac2d3
branches:  trunk
changeset: 832786:6c377ddac2d3
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon May 28 19:39:21 2018 +0000

description:
Remove ipsec_bindump, there is no prototype, so the function can't be used.

diffstat:

 crypto/dist/ipsec-tools/src/libipsec/key_debug.c |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (28 lines):

diff -r 1d9b739338c3 -r 6c377ddac2d3 crypto/dist/ipsec-tools/src/libipsec/key_debug.c
--- a/crypto/dist/ipsec-tools/src/libipsec/key_debug.c  Mon May 28 19:36:42 2018 +0000
+++ b/crypto/dist/ipsec-tools/src/libipsec/key_debug.c  Mon May 28 19:39:21 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key_debug.c,v 1.12 2018/05/28 19:22:40 maxv Exp $      */
+/*     $NetBSD: key_debug.c,v 1.13 2018/05/28 19:39:21 maxv Exp $      */
 
 /*     $KAME: key_debug.c,v 1.29 2001/08/16 14:25:41 itojun Exp $      */
 
@@ -868,18 +868,6 @@
 }
 
 void
-ipsec_bindump(caddr_t buf, int len)
-{
-       int i;
-
-       for (i = 0; i < len; i++)
-               printf("%c", (unsigned char)buf[i]);
-
-       return;
-}
-
-
-void
 ipsec_hexdump(const void *buf, int len)
 {
        int i;



Home | Main Index | Thread Index | Old Index