Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
085d346122
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user