aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/xor_ciph.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-03-17 02:46:01 +0000
committerlloyd <[email protected]>2009-03-17 02:46:01 +0000
commitb14127fc125dbbfc841ef8248bc797896dd2223f (patch)
treee7fff446bf8c577361b48a85066d006872989501 /doc/examples/xor_ciph.cpp
parent92e1cc72da0315a5de8536265f2ef928d0e526c6 (diff)
Add LibraryInitializers to the examples, instead of relying on lazy init.
Patch from David X Callaway.
Diffstat (limited to 'doc/examples/xor_ciph.cpp')
-rw-r--r--doc/examples/xor_ciph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/xor_ciph.cpp b/doc/examples/xor_ciph.cpp
index 670276802..6a914b150 100644
--- a/doc/examples/xor_ciph.cpp
+++ b/doc/examples/xor_ciph.cpp
@@ -59,7 +59,7 @@ void XOR_Cipher::key_schedule(const byte key[], u32bit length)
int main()
{
- LibraryInitializer init;
+ Botan::LibraryInitializer init;
global_state().algorithm_factory().add_stream_cipher(new XOR_Cipher, "app");