diff options
author | Gernot Tenchio <gernot@tenchio.de> | 2011-09-20 00:22:55 +0200 |
---|---|---|
committer | Gernot Tenchio <gernot@tenchio.de> | 2011-09-20 00:22:55 +0200 |
commit | d4cfc260fe7eb164f9e53dd4fb524b9fedd35c04 (patch) | |
tree | d4b5576462b5182b390460e706273b653099e58b | |
parent | bd9cae3d122bc602e5a3d2638c0bb9435f8fc47c (diff) | |
download | libtdevnc-d4cfc260fe7eb164f9e53dd4fb524b9fedd35c04.tar.gz libtdevnc-d4cfc260fe7eb164f9e53dd4fb524b9fedd35c04.zip |
rfbcrypto_polarssl: it was way to late last night...
-rw-r--r-- | libvncserver/rfbcrypto_polarssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/rfbcrypto_polarssl.c b/libvncserver/rfbcrypto_polarssl.c index f28dca3..55e3a7b 100644 --- a/libvncserver/rfbcrypto_polarssl.c +++ b/libvncserver/rfbcrypto_polarssl.c @@ -11,7 +11,7 @@ void digestmd5(const struct iovec *iov, int iovcnt, void *dest) md5_starts(&c); for (i = 0; i < iovcnt; i++) md5_update(&c, iov[i].iov_base, iov[i].iov_len); - md5_finish(dest, &c); + md5_finish(&c, dest); } void digestsha1(const struct iovec *iov, int iovcnt, void *dest) @@ -22,5 +22,5 @@ void digestsha1(const struct iovec *iov, int iovcnt, void *dest) sha1_starts(&c); for (i = 0; i < iovcnt; i++) sha1_update(&c, iov[i].iov_base, iov[i].iov_len); - sha1_finish(dest, &c); + sha1_finish(&c, dest); } |