#2 KIIV
Diky, uz to funguje :-)
void do_md2(char *arg, char *returnedHash) {
char md2str[33];
MD2_CTX context;
unsigned char digest[16];
md2str[0] = '\0';
MD2Init(&context);
MD2Update(&context, (unsigned char*)arg, strlen(arg));
MD2Final(digest, &context);
make_digest(returnedHash, digest, 16);
}