summaryrefslogtreecommitdiff
path: root/src/authAlgo.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-05-12 21:30:22 +0000
committerChristian Pointner <equinox@anytun.org>2008-05-12 21:30:22 +0000
commitc38f0e21deb427802f4be2d4994903ae906ebbf2 (patch)
tree5d210c575fa40d58d4009b191c9ed68cb210efbc /src/authAlgo.cpp
parentadded do_ifconfig for bsd device (diff)
fixed build on linux
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 4657ddc..617c93b 100644
--- a/src/authAlgo.cpp
+++ b/src/authAlgo.cpp
@@ -74,8 +74,8 @@ void Sha1AuthAlgo::setKey(Buffer& key)
gcry_error_t err = gcry_md_setkey( ctx_, key.getBuf(), key.getLength() );
if( err ) {
- char buf[NL_TEXTMAX];
- cLog.msg(Log::PRIO_ERR) << "Sha1AuthAlgo::setKey: Failed to set cipher key: " << gpg_strerror_r(err, buf, NL_TEXTMAX);
+ char buf[STERROR_TEXT_MAX];
+ cLog.msg(Log::PRIO_ERR) << "Sha1AuthAlgo::setKey: Failed to set cipher key: " << gpg_strerror_r(err, buf, STERROR_TEXT_MAX);
}
}