/usr/bin/ld: authmanager.cpp:(.text+0x552): undefined reference to `md5_append'
if(NOT CRYPTO_FOUND)
set(DEP_MD5 $<TARGET_OBJECTS:md5>)
endif()
// Hash the password and the salt
MD5_CTX Md5;
md5_init(&Md5);
md5_update(&Md5, (unsigned char *)pPassword, str_length(pPassword));
md5_update(&Md5, aSalt, SALT_BYTES);
return md5_finish(&Md5);
example ddnet code