rfbcrypto_included: fix c&p errors

pull/1/head
Gernot Tenchio 13 years ago
parent d4cfc260fe
commit 170033a907

@ -28,12 +28,12 @@
void digestmd5(const struct iovec *iov, int iovcnt, void *dest)
{
md5_context c;
struct md5_ctx c;
int i;
__md5_init_ctx(&c);
for (i = 0; i < iovcnt; i++)
__md5_process_bytes(&c, iov[i].iov_base, iov[i].iov_len);
__md5_process_bytes(iov[i].iov_base, iov[i].iov_len, &c);
__md5_finish_ctx(&c, dest);
}

Loading…
Cancel
Save