summaryrefslogtreecommitdiff
path: root/src/cryptinit.hpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-22 07:51:26 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-22 07:51:26 +0000
commit5850046cf4bf3146c7da097f9ff3dec01459b640 (patch)
tree112fc3503c379be693b7b4cf88adba102312e924 /src/cryptinit.hpp
parentreplaced regular throws with AnytunError::thowErr (diff)
moved LogErrno to AnytunErrno
Diffstat (limited to 'src/cryptinit.hpp')
-rw-r--r--src/cryptinit.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptinit.hpp b/src/cryptinit.hpp
index 2caa4cb..4460de0 100644
--- a/src/cryptinit.hpp
+++ b/src/cryptinit.hpp
@@ -92,14 +92,14 @@ bool initLibGCrypt()
gcry_error_t err = gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
if( err ) {
- std::cout << "initLibGCrypt: Failed to disable secure memory: " << LogGpgError(err) << std::endl;
+ std::cout << "initLibGCrypt: Failed to disable secure memory: " << AnytunGpgError(err) << std::endl;
return false;
}
// Tell Libgcrypt that initialization has completed.
err = gcry_control(GCRYCTL_INITIALIZATION_FINISHED);
if( err ) {
- std::cout << "initLibGCrypt: Failed to finish initialization: " << LogGpgError(err) << std::endl;
+ std::cout << "initLibGCrypt: Failed to finish initialization: " << AnytunGpgError(err) << std::endl;
return false;
}