summaryrefslogtreecommitdiff
path: root/lib/md5.c
Commit message (Collapse)AuthorAgeFilesLines
* mem-include-scan: verify memory #includesDaniel Stenberg2012-11-171-0/+9
| | | | | | | | | | | | | | | | If we use memory functions (malloc, free, strdup etc) in C sources in libcurl and we fail to include curl_memory.h or memdebug.h we either fail to properly support user-provided memory callbacks or the memory leak system of the test suite fails. After Ajit's report of a failure in the first category in http_proxy.c, I spotted a few in the second category as well. These problems are now tested for by test 1132 which runs a perl program that scans for and attempts to check that we use the correct include files if a memory related function is used in the source code. Reported by: Ajit Dhumale Bug: http://curl.haxx.se/mail/lib-2012-11/0125.html
* metalink/md5: Use CommonCrypto on Apple operating systemsNick Zitzmann2012-10-221-0/+11
| | | | | | | | Previously the Metalink code used Apple's CommonCrypto library only if curl was built using the --with-darwinssl option. Now we use CommonCrypto on all Apple operating systems including Tiger or later, or iOS 5 or later, so you don't need to build --with-darwinssl anymore. Also rolled out this change to libcurl's md5 code.
* wincrypt: Fixed cross-compilation issues caused by include nameMarc Hoersken2012-09-111-1/+1
| | | | For some reason WinCrypt.h is named wincrypt.h under MinGW.
* md5.c: Added support for Microsoft Windows CryptoAPIMarc Hoersken2012-09-111-13/+42
|
* Fixed compile error with GNUTLS+NETTLETatsuhiro Tsujikawa2012-05-221-3/+3
| | | | | | | | | | | | In nettle/md5.h, md5_init and md5_update are defined as macros to nettle_md5_init and nettle_md5_update respectively. This causes error when using MD5_params.md5_init and md5_update. This patch renames these members as md5_init_func and md5_update_func to avoid name conflict. For completeness, MD5_params.md5_final was also renamed as md5_final_func. The changes in curl_ntlm_core.c is conversion error and fixed by casting to proper type.
* Curl_MD5_init: fix OOM memory leakDaniel Stenberg2012-04-231-5/+7
| | | | | Bug: http://curl.haxx.se/mail/lib-2012-04/0246.html Reported by: Michael Mueller
* md5: Add support for calculating the md5 sum of buffers incrementallyGökhan Şengün2012-03-311-0/+50
| | | | | | It is now possible to calculate the md5 sum as the stream of buffers becomes known where as previously it was only possible to calculate the md5 sum of a pre-prepared buffer.
* fix several compiler warningsYang Tse2012-03-201-2/+3
|
* Add support for using nettle instead of gcrypt as gnutls backendMartin Storsjo2011-11-191-0/+26
|
* stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse2011-07-261-2/+0
|
* source cleanup: unify look, style and indent levelsDaniel Stenberg2011-04-271-4/+4
| | | | | By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
* build: remove unneeded cast to (void *)Yang Tse2010-08-041-2/+2
|
* Curl_HMAC_MD5: fix the array init to not warn with picky compilersDaniel Stenberg2010-04-191-7/+9
|
* Fix GnuTLS compilation problem in md5.cmonnerat2010-04-191-1/+1
|
* Implement SMTP authenticationmonnerat2010-04-191-10/+31
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Added support for Digest and NTLM authentication using GnuTLS.Dan Fandrich2009-02-121-3/+21
|
* Adjust usage of conditional definition of USE_OPENSSLYang Tse2008-08-171-12/+15
|
* libcurl internal md5.h header file renamed to curl_md5.hYang Tse2008-08-171-1/+1
|
* if () => if()Daniel Stenberg2007-11-071-11/+11
| | | | | while () => while() and some other minor re-indentings
* corrected copyright yearDaniel Stenberg2005-05-021-1/+1
|
* Cory Nelson's work on nuking compiler warnings when building on x64 withDaniel Stenberg2005-04-261-1/+1
| | | | VS2005.
* Add 'const' to immutable arrays.Dan Fandrich2004-12-151-11/+11
|
* Dan Fandrich added the --disable-crypto-auth option to configure to allowDaniel Stenberg2004-11-121-0/+4
| | | | | libcurl to build without Digest support. (I figure it should also explicitly disable Negotiate and NTLM.)
* Convert functions to ANSI-style declaration to prevent compiler warningsDaniel Stenberg2004-02-201-16/+11
|
* removed usage of a silly macro instead of the actual functions memcpyDaniel Stenberg2004-02-161-8/+4
| | | | and memset
* Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg2004-01-291-9/+10
| | | | warnings. Minor edits by me.
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* do not use 'long' to store 4 bytes, as 64bit architectures have 64bit longs.Daniel Stenberg2003-09-071-1/+1
|
* adjusted to use the same API as the OpenSSL version of the MD5 functionsDaniel Stenberg2003-06-261-15/+51
|
* Initial Digest support. At least partly working.Daniel Stenberg2003-05-221-0/+320