diff options
Diffstat (limited to 'doc/examples/hash.cpp')
-rw-r--r-- | doc/examples/hash.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/hash.cpp b/doc/examples/hash.cpp index 7c9500160..a97cd6082 100644 --- a/doc/examples/hash.cpp +++ b/doc/examples/hash.cpp @@ -22,6 +22,8 @@ int main(int argc, char* argv[]) return 1; } + Botan::LibraryInitializer init; + std::string hash = argv[1]; /* a couple of special cases, kind of a crock */ if(hash == "sha1") hash = "SHA-1"; |