Revision 3310

View differences:

libsylph/md5.c
200 200
  if (ctx->doByteReverse)
201 201
    byteReverse((guint8 *) ctx->buf, 4);
202 202
  g_memmove(digest, ctx->buf, 16);
203
  memset(ctx, 0, sizeof(ctx));	/* In case it's sensitive */
203
  memset(ctx, 0, sizeof(*ctx));	/* In case it's sensitive */
204 204
}
205 205

  
206 206
/* The four core functions - F1 is optimized somewhat */
ChangeLog
1 1
2013-11-28
2 2

  
3
	* libsylph/md5.c: MD5Final(): zero-clear the whole MD5Context struct
4
	  as intended.
5

  
6
2013-11-28
7

  
3 8
	* src/syldap.c:
4 9
	  syldap_test_connect():
5 10
	  syldap_read_basedn():

Also available in: Unified diff