diff options
Diffstat (limited to 'src/mbedTLS++/Sha1Checksum.h')
-rw-r--r-- | src/mbedTLS++/Sha1Checksum.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mbedTLS++/Sha1Checksum.h b/src/mbedTLS++/Sha1Checksum.h index dbe7db567..d509923ae 100644 --- a/src/mbedTLS++/Sha1Checksum.h +++ b/src/mbedTLS++/Sha1Checksum.h @@ -18,7 +18,7 @@ /** Calculates a SHA1 checksum for data stream */ class cSha1Checksum { -public: + public: typedef Byte Checksum[20]; // The type used for storing the checksum cSha1Checksum(void); @@ -43,13 +43,9 @@ public: /** Clears the current context and start a new checksum calculation */ void Restart(void); -protected: + protected: /** True if the object is accepts more input data, false if Finalize()-d (need to Restart()) */ bool m_DoesAcceptInput; mbedtls_sha1_context m_Sha1; -} ; - - - - +}; |