This commit is contained in:
WolverinDEV 2019-07-07 12:34:14 +02:00
commit e0f45c99bd
1 changed files with 2 additions and 2 deletions

View File

@ -41,11 +41,11 @@
\
inline std::string name(const char* input, ssize_t length = -1) { \
if(length == -1) length = strlen(input); \
return name(std::string(input, digestLength)); \
return name(std::string(input, length)); \
} \
\
inline void name(const char* input, size_t length, uint8_t(& result)[digestLength]) { \
method((u_char*) input, length, digestLength); \
method((u_char*) input, length, result); \
}
#endif