summaryrefslogtreecommitdiff
path: root/src/authAlgo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/authAlgo.cpp')
-rw-r--r--src/authAlgo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/authAlgo.cpp b/src/authAlgo.cpp
index 8293d70..524d196 100644
--- a/src/authAlgo.cpp
+++ b/src/authAlgo.cpp
@@ -77,7 +77,7 @@ Sha1AuthAlgo::~Sha1AuthAlgo()
void Sha1AuthAlgo::generate(KeyDerivation& kd, kd_dir dir, EncryptedPacket& packet)
{
#ifndef USE_SSL_CRYPTO
- if(!handle)
+ if(!handle_)
return;
#endif
@@ -119,7 +119,7 @@ void Sha1AuthAlgo::generate(KeyDerivation& kd, kd_dir dir, EncryptedPacket& pack
bool Sha1AuthAlgo::checkTag(KeyDerivation& kd, kd_dir dir, EncryptedPacket& packet)
{
#ifndef USE_SSL_CRYPTO
- if(!handle)
+ if(!handle_)
return false;
#endif