From 0e32dda1768312e55d612246e51685bb2d450207 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 17 Sep 2009 23:46:34 +0000 Subject: [PATCH] add include , and update comments to use the new names --- bin/pkcs11/pkcs11-destroy.c | 4 +++- bin/pkcs11/pkcs11-keygen.c | 6 ++++-- bin/pkcs11/pkcs11-list.c | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bin/pkcs11/pkcs11-destroy.c b/bin/pkcs11/pkcs11-destroy.c index e7068e4d62..a6a663dcb5 100644 --- a/bin/pkcs11/pkcs11-destroy.c +++ b/bin/pkcs11/pkcs11-destroy.c @@ -1,4 +1,6 @@ -/* destroyobj [-s $slot] [-i $id | -l $label] [-p $pin] */ +/* pkcs11-destroy [-s $slot] [-i $id | -l $label] [-p $pin] */ + +#include #include #include diff --git a/bin/pkcs11/pkcs11-keygen.c b/bin/pkcs11/pkcs11-keygen.c index 45a9e3cd68..72e3afd4e6 100644 --- a/bin/pkcs11/pkcs11-keygen.c +++ b/bin/pkcs11/pkcs11-keygen.c @@ -1,4 +1,4 @@ -/* genkey - pkcs11 rsa key generator +/* pkcs11-keygen - pkcs11 rsa key generator * * create RSASHA1 key in the keystore of an SCA6000 * The calculation of key tag is left to the script @@ -6,10 +6,12 @@ * it into a zone file. * * usage: - * genkey [-P] [-s slot] -b keysize -l label [-p pin] + * pkcs11-keygen [-P] [-s slot] -b keysize -l label [-p pin] * */ +#include + #include #include #include diff --git a/bin/pkcs11/pkcs11-list.c b/bin/pkcs11/pkcs11-list.c index 3fb6eaa80f..2abb56afdb 100644 --- a/bin/pkcs11/pkcs11-list.c +++ b/bin/pkcs11/pkcs11-list.c @@ -1,4 +1,6 @@ -/* listobjs [-P] [-s slot] [-i $id | -l $label] [-p $pin] */ +/* pkcs11-list [-P] [-s slot] [-i $id | -l $label] [-p $pin] */ + +#include #include #include