ossp-pkg/uuid/uuid_md5.c 1.7 -> 1.8
--- uuid_md5.c 2004/12/31 19:20:34 1.7
+++ uuid_md5.c 2005/01/13 09:58:14 1.8
@@ -403,8 +403,7 @@
}
}
memcpy((void *)(&ctx), (void *)(&(md5->ctx)), sizeof(MD5_CTX));
- MD5Final((unsigned char *)(*data_ptr), &(md5->ctx));
- memcpy((void *)(&(md5->ctx)), (void *)(&ctx), sizeof(MD5_CTX));
+ MD5Final((unsigned char *)(*data_ptr), &(ctx));
return MD5_RC_OK;
}
|
|