Logo Search packages:      
Sourcecode: sofia-sip version File versions

SOFIAPUBFUN void su_md5_str0update ( su_md5_t ctx,
char const *  s 

Update MD5 context with contents of string, including final NUL.

The function su_md5_str0update() updates context to reflect the concatenation of NUL-terminated string, including the final NUL.

ctx Pointer to context structure
s Pointer to string

Definition at line 268 of file su_md5.c.

References su_md5_str0update(), and su_md5_update().

Referenced by su_md5_str0update().

  if (!s) 
    s = "";

  su_md5_update(ctx, s, strlen(s) + 1);

Generated by  Doxygen 1.6.0   Back to index