~ubuntu-branches/ubuntu/edgy/curl/edgy

« back to all changes in this revision

Viewing changes to lib/md5.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-07-26 19:03:01 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20050726190301-x2m2vmjgc8fwnic5
Tags: 7.14.0-2ubuntu1
Synchronize with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___ 
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
 *
10
10
 * This software is licensed as described in the file COPYING, which
11
11
 * you should have received as part of this distribution. The terms
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: md5.c,v 1.9 2004/12/15 01:38:25 danf Exp $
 
21
 * $Id: md5.c,v 1.11 2005/05/02 14:33:07 bagder Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
345
345
{
346
346
  MD5_CTX ctx;
347
347
  MD5_Init(&ctx);
348
 
  MD5_Update(&ctx, input, strlen((char *)input));
 
348
  MD5_Update(&ctx, input, (unsigned int)strlen((char *)input));
349
349
  MD5_Final(outbuffer, &ctx);
350
350
}
351
351