diff options
author | Jack Lloyd <[email protected]> | 2015-12-30 23:35:16 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-30 23:35:16 -0500 |
commit | d4915aa4cd9c11879780267413f2980d0014240e (patch) | |
tree | 8663a7cde0ad9f7fc632c6c2f5ce33a733f8ed26 /src/cli/cc_enc.cpp | |
parent | d27416e791c9aed684efe0d6071fe66a43cf7af0 (diff) |
Avoid having Command* objects be created until requested.
Avoids various static init and destruction hassles.
Diffstat (limited to 'src/cli/cc_enc.cpp')
-rw-r--r-- | src/cli/cc_enc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/cc_enc.cpp b/src/cli/cc_enc.cpp index 35932b487..2e2f9c12a 100644 --- a/src/cli/cc_enc.cpp +++ b/src/cli/cc_enc.cpp @@ -128,7 +128,7 @@ class CC_Encrypt : public Command } }; -BOTAN_REGISTER_COMMAND(CC_Encrypt); +BOTAN_REGISTER_COMMAND("cc_encrypt", CC_Encrypt); class CC_Decrypt : public Command { @@ -154,7 +154,7 @@ class CC_Decrypt : public Command } }; -BOTAN_REGISTER_COMMAND(CC_Decrypt); +BOTAN_REGISTER_COMMAND("cc_decrypt", CC_Decrypt); } |