diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-09-30 03:32:09 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-09-30 03:32:09 -0400 |
commit | 42044d509587659605ffacdbd275825ed747adc6 (patch) | |
tree | 7674f60e8a7eb8b4bf3e3275ac43b1a318cf5a3d /asn.h | |
parent | e4b25dcffed47ce799caef4d290590816ca19708 (diff) | |
download | cryptopp-git-42044d509587659605ffacdbd275825ed747adc6.tar.gz |
Fix Travis build on OS X
Diffstat (limited to 'asn.h')
-rw-r--r-- | asn.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -208,7 +208,11 @@ CRYPTOPP_DLL size_t CRYPTOPP_API BERDecodeBitString(BufferedTransformation &bt, CRYPTOPP_DLL void CRYPTOPP_API DERReencode(BufferedTransformation &bt, BufferedTransformation &dest);
/// \brief BER decode size
-/// \param bt BufferedTransformation object for writing
+/// \param bt BufferedTransformation object for reading
+/// \returns the length of the ASN.1 value, in bytes
+/// \details BERDecodePeekLength() determines the length of a value without
+/// 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);
|