diff options
Diffstat (limited to 'src/lib/algo_base')
-rw-r--r-- | src/lib/algo_base/symkey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/algo_base/symkey.h b/src/lib/algo_base/symkey.h index b47da8a69..a93f456bb 100644 --- a/src/lib/algo_base/symkey.h +++ b/src/lib/algo_base/symkey.h @@ -37,7 +37,7 @@ class BOTAN_DLL OctetString /** * @return end of this string */ - const byte* end() const { return &bits[bits.size()]; } + const byte* end() const { return begin() + bits.size(); } /** * @return this encoded as hex |