summaryrefslogtreecommitdiff
path: root/asn.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-08 07:41:01 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-08 07:41:01 -0400
commit85ecff46093ff8f3da4efd8b5d840b8bb7d681ce (patch)
tree936caa97e186e28a34b631c03bac3fcc7b6c50bf /asn.h
parentdd1c8a5b24c558df6d6dda9f61ca9064b2ca873c (diff)
downloadcryptopp-git-85ecff46093ff8f3da4efd8b5d840b8bb7d681ce.tar.gz
Make bt const in BERDecodePeekLength
Diffstat (limited to 'asn.h')
-rw-r--r--asn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn.h b/asn.h
index b09fead6..5a37fc4a 100644
--- a/asn.h
+++ b/asn.h
@@ -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