diff options
author | Christian Pointner <equinox@anytun.org> | 2008-05-12 21:30:22 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-05-12 21:30:22 +0000 |
commit | c38f0e21deb427802f4be2d4994903ae906ebbf2 (patch) | |
tree | 5d210c575fa40d58d4009b191c9ed68cb210efbc /src/authAlgo.cpp | |
parent | added do_ifconfig for bsd device (diff) |
fixed build on linux
Diffstat (limited to 'src/authAlgo.cpp')
-rw-r--r-- | src/authAlgo.cpp | 4 |
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); } } |