aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/commands/print.c')
-rw-r--r--src/pki/commands/print.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/pki/commands/print.c b/src/pki/commands/print.c
index 02d0cec17..a7f02bfac 100644
--- a/src/pki/commands/print.c
+++ b/src/pki/commands/print.c
@@ -24,23 +24,6 @@
#include <time.h>
/**
- * Print a chunk without leading zero byte
- */
-static chunk_t chunk_skip_zero(chunk_t chunk)
-{
- if (chunk.len && *chunk.ptr == 0x00)
- {
- if (chunk.len == 1)
- {
- return chunk_empty;
- }
- chunk.ptr++;
- chunk.len--;
- }
- return chunk;
-}
-
-/**
* Print public key information
*/
static void print_pubkey(public_key_t *key)