OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_md5.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_md5.c 1.3 -> 1.4

--- uuid_md5.c   2004/01/10 10:49:00     1.3
+++ uuid_md5.c   2004/01/10 12:16:03     1.4
@@ -367,6 +367,14 @@
     return MD5_RC_OK;
 }
 
+md5_rc_t md5_init(md5_t *md5)
+{
+    if (md5 == NULL)
+        return MD5_RC_ARG;
+    MD5Init(&(md5->ctx));
+    return MD5_RC_OK;
+}
+
 md5_rc_t md5_update(md5_t *md5, const void *data_ptr, size_t data_len)
 {
     if (md5 == NULL)

CVSTrac 2.0.1