diff options
author | lloyd <[email protected]> | 2007-10-07 23:55:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-07 23:55:19 +0000 |
commit | 72fce1ebf137e1a33bd39d221b79da1234d62cb9 (patch) | |
tree | fc667712d5a8ae302a878a6c8ae414d566065534 /doc/examples/xor_ciph.cpp | |
parent | 6d745f8e2b5bb0089dbc58a7871adc29a1c0fac6 (diff) |
If the LibraryInitializer is created with just default arguments, don't
bother creating it, just let it be initialized lazily when needed.
Reindents in encypt.cpp and hash_fd.cpp (indenting the brace after a try
statement).
Diffstat (limited to 'doc/examples/xor_ciph.cpp')
-rw-r--r-- | doc/examples/xor_ciph.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/xor_ciph.cpp b/doc/examples/xor_ciph.cpp index 92902a483..b9e46d91c 100644 --- a/doc/examples/xor_ciph.cpp +++ b/doc/examples/xor_ciph.cpp @@ -55,8 +55,6 @@ void XOR_Cipher::key(const byte key[], u32bit length) int main() { - LibraryInitializer init; - add_algorithm(new XOR_Cipher); // make it available to use global_config().add_alias("Vernam", "XOR"); // make Vernam an alias for XOR |