aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/sym_algo.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-08-21 10:35:54 -0400
committerJack Lloyd <[email protected]>2020-08-21 10:35:54 -0400
commita9cd1edacebcb34db4b8c70cd9b07fab9aa86b34 (patch)
tree1d22d0a9c352d14c9da614932946f7a90f9d8638 /src/lib/base/sym_algo.h
parentdff505145168ee16be67b1204e6b5ea87e09e3fe (diff)
Fix swapped comments in sym_algo.h
Fixes #2394
Diffstat (limited to 'src/lib/base/sym_algo.h')
-rw-r--r--src/lib/base/sym_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/base/sym_algo.h b/src/lib/base/sym_algo.h
index e69d4f81e..7d82a5740 100644
--- a/src/lib/base/sym_algo.h
+++ b/src/lib/base/sym_algo.h
@@ -33,7 +33,7 @@ class BOTAN_PUBLIC_API(2,0) SymmetricAlgorithm
virtual Key_Length_Specification key_spec() const = 0;
/**
- * @return minimum allowed key length
+ * @return maximum allowed key length
*/
size_t maximum_keylength() const
{
@@ -41,7 +41,7 @@ class BOTAN_PUBLIC_API(2,0) SymmetricAlgorithm
}
/**
- * @return maximum allowed key length
+ * @return minimum allowed key length
*/
size_t minimum_keylength() const
{