Commit 0e32dda1 authored by Evan Hunt's avatar Evan Hunt
Browse files

add include <config.h>, and update comments to use the new names

parent 3351ccbd
/* destroyobj [-s $slot] [-i $id | -l $label] [-p $pin] */ /* pkcs11-destroy [-s $slot] [-i $id | -l $label] [-p $pin] */
#include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
/* genkey - pkcs11 rsa key generator /* pkcs11-keygen - pkcs11 rsa key generator
* *
* create RSASHA1 key in the keystore of an SCA6000 * create RSASHA1 key in the keystore of an SCA6000
* The calculation of key tag is left to the script * The calculation of key tag is left to the script
...@@ -6,10 +6,12 @@ ...@@ -6,10 +6,12 @@
* it into a zone file. * it into a zone file.
* *
* usage: * usage:
* genkey [-P] [-s slot] -b keysize -l label [-p pin] * pkcs11-keygen [-P] [-s slot] -b keysize -l label [-p pin]
* *
*/ */
#include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
/* listobjs [-P] [-s slot] [-i $id | -l $label] [-p $pin] */ /* pkcs11-list [-P] [-s slot] [-i $id | -l $label] [-p $pin] */
#include <config.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment