summaryrefslogtreecommitdiff
path: root/src/authAlgoFactory.cpp
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2010-02-18 09:15:27 +0000
committerMarkus Grüneis <gimpf@gimpf.org>2010-02-18 09:15:27 +0000
commite191eab68d905bfe14e3590a92fa653f0ae2ebce (patch)
treea5837b067ecab92c645008b537087b0d163ef1ab /src/authAlgoFactory.cpp
parentwhitespace only change: unified formatting with "astyle --style=k/r --indent=... (diff)
non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility)
Diffstat (limited to 'src/authAlgoFactory.cpp')
-rw-r--r--src/authAlgoFactory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/authAlgoFactory.cpp b/src/authAlgoFactory.cpp
index c96027a..0cd22ce 100644
--- a/src/authAlgoFactory.cpp
+++ b/src/authAlgoFactory.cpp
@@ -52,7 +52,7 @@ AuthAlgo* AuthAlgoFactory::create(std::string const& type, kd_dir_t dir)
}
}
-u_int32_t AuthAlgoFactory::getDigestLength(std::string const& type)
+uint32_t AuthAlgoFactory::getDigestLength(std::string const& type)
{
if(type == "null") {
return NullAuthAlgo::DIGEST_LENGTH;
@@ -66,4 +66,3 @@ u_int32_t AuthAlgoFactory::getDigestLength(std::string const& type)
throw std::invalid_argument("auth algo not available");
}
}
-