diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4dccce41d..baf37e895 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -120,21 +120,33 @@ int main(int argc, char* argv[]) return failures ? 1 : 0; } -if(cmd == "cpuid") - { - CPUID::print(std::cout); -return 0; -} + if(cmd == "cpuid") + { + CPUID::print(std::cout); + return 0; + } -if(cmd == "http_get") - { -auto resp = HTTP::GET_sync(argv[2]); -std::cout << resp << "\n"; -} + if(cmd == "http_get") + { + auto resp = HTTP::GET_sync(argv[2]); + std::cout << resp << "\n"; + } if(cmd == "bcrypt") return bcrypt_example(argc - 1, argv + 1); + if(cmd == "fpe") + return fpe_example(argc - 1, argv + 1); + + if(cmd == "read_ssh_key") + return read_ssh_example(argc - 1, argv + 1); + + if(cmd == "self_sig") + return self_sig_example(argc - 1, argv + 1); + + if(cmd == "x509") + return x509_example(argc - 1, argv + 1); + if(cmd == "factor") return factor_example(argc - 1, argv + 1); |