diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-10-08 07:41:01 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-10-08 07:41:01 -0400 |
commit | 85ecff46093ff8f3da4efd8b5d840b8bb7d681ce (patch) | |
tree | 936caa97e186e28a34b631c03bac3fcc7b6c50bf /asn.h | |
parent | dd1c8a5b24c558df6d6dda9f61ca9064b2ca873c (diff) | |
download | cryptopp-git-85ecff46093ff8f3da4efd8b5d840b8bb7d681ce.tar.gz |
Make bt const in BERDecodePeekLength
Diffstat (limited to 'asn.h')
-rw-r--r-- | asn.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ CRYPTOPP_DLL void CRYPTOPP_API DERReencode(BufferedTransformation &bt, BufferedT /// consuming octets in the stream. The stream must use definite length encoding.
/// If indefinite length encoding is used or an error occurs, then 0 is returned.
/// \since Crypto++ 8.3
-CRYPTOPP_DLL size_t CRYPTOPP_API BERDecodePeekLength(BufferedTransformation &bt);
+CRYPTOPP_DLL size_t CRYPTOPP_API BERDecodePeekLength(const BufferedTransformation &bt);
/// \brief Object Identifier
class CRYPTOPP_DLL OID
|