aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/self.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/commands/self.c')
-rw-r--r--src/pki/commands/self.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c
index 1f1138e9c..de1761c9c 100644
--- a/src/pki/commands/self.c
+++ b/src/pki/commands/self.c
@@ -206,7 +206,7 @@ end:
usage:
san->destroy_offset(san, offsetof(identification_t, destroy));
options->destroy(options);
- return command_usage(CMD_SELF, error);
+ return command_usage(error);
}
/**
@@ -214,7 +214,7 @@ usage:
*/
static void __attribute__ ((constructor))reg()
{
- command_register(CMD_SELF, (command_t) {
+ command_register((command_t) {
self, 's', "self",
"create a self signed certificate",
{"[--in file] [--type rsa|ecdsa]",