diff options
Diffstat (limited to 'src/MessageDigestHelper.h')
| -rw-r--r-- | src/MessageDigestHelper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/MessageDigestHelper.h b/src/MessageDigestHelper.h index 4bf81ac6..612868e0 100644 --- a/src/MessageDigestHelper.h +++ b/src/MessageDigestHelper.h @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * In addition, as a special exception, the copyright holders give * permission to link the code of portions of this program with the @@ -76,14 +76,14 @@ public: static void staticSHA1DigestFree(); static std::string staticSHA1Digest(const SharedHandle<BinaryStream>& bs, - off_t offset, uint64_t length); + off_t offset, uint64_t length); /** * ctx must be initialized or reseted before calling this function. */ static std::string digest(MessageDigestContext* ctx, - const SharedHandle<BinaryStream>& bs, - off_t offset, uint64_t length); + const SharedHandle<BinaryStream>& bs, + off_t offset, uint64_t length); /** * Calculates message digest of file denoted by filename. @@ -97,7 +97,7 @@ public: * Throws exception when mdLength is less than the size of message digest. */ static void digest(unsigned char* md, size_t mdLength, - const std::string& algo, const void* data, size_t length); + const std::string& algo, const void* data, size_t length); }; } // namespace aria2 |
