Merge remote-tracking branch 'origin/master'

This commit is contained in:
WolverinDEV 2019-07-06 17:01:05 +02:00
commit 085d346122
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