Nick Zitzmann
94891ff296
metalink/md5: Use CommonCrypto on Apple operating systems
...
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.
2012-10-22 23:32:59 +02:00
Marc Hoersken
7f7e2ea72f
wincrypt: Fixed cross-compilation issues caused by include name
...
For some reason WinCrypt.h is named wincrypt.h under MinGW.
2012-09-11 14:35:18 +02:00
Marc Hoersken
4d384a8714
md5.c: Added support for Microsoft Windows CryptoAPI
2012-09-11 14:12:41 +02:00
Tatsuhiro Tsujikawa
6cc066a2c5
Fixed compile error with GNUTLS+NETTLE
...
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.
2012-05-22 16:40:09 +02:00
Daniel Stenberg
bd9eb30ffd
Curl_MD5_init: fix OOM memory leak
...
Bug: http://curl.haxx.se/mail/lib-2012-04/0246.html
Reported by: Michael Mueller
2012-04-23 23:07:40 +02:00
Gökhan Şengün
004d7251ab
md5: Add support for calculating the md5 sum of buffers incrementally
...
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.
2012-03-31 22:31:16 +01:00
Yang Tse
c6825b7a6b
fix several compiler warnings
2012-03-20 18:28:24 +01:00
Martin Storsjo
64f328c787
Add support for using nettle instead of gcrypt as gnutls backend
2011-11-19 22:23:14 +01:00
Yang Tse
f1586cb477
stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
2011-07-26 17:23:27 +02:00
Daniel Stenberg
b903186fa0
source cleanup: unify look, style and indent levels
...
By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.
2011-04-27 09:09:35 +02:00
Yang Tse
364fd2f1ad
build: remove unneeded cast to (void *)
2010-08-04 19:05:09 +02:00
Daniel Stenberg
a5b7e3205d
Curl_HMAC_MD5: fix the array init to not warn with picky compilers
2010-04-19 16:19:36 +02:00
monnerat
dfce37da23
Fix GnuTLS compilation problem in md5.c
2010-04-19 14:09:45 +02:00
monnerat
4bfe07640c
Implement SMTP authentication
2010-04-19 11:16:30 +02:00
Daniel Stenberg
2309b4e330
remove the CVSish $Id$ lines
2010-03-24 11:02:54 +01:00
Dan Fandrich
9a4c887c4a
Added support for Digest and NTLM authentication using GnuTLS.
2009-02-12 20:48:40 +00:00
Yang Tse
3e61c90dbe
Adjust usage of conditional definition of USE_OPENSSL
2008-08-17 01:57:10 +00:00
Yang Tse
bbe2386bff
libcurl internal md5.h header file renamed to curl_md5.h
2008-08-17 00:01:26 +00:00
Daniel Stenberg
cbd1a77ec2
if () => if()
...
while () => while()
and some other minor re-indentings
2007-11-07 09:21:35 +00:00
Daniel Stenberg
11bdba0007
corrected copyright year
2005-05-02 14:33:07 +00:00
Daniel Stenberg
6b1220b61d
Cory Nelson's work on nuking compiler warnings when building on x64 with
...
VS2005.
2005-04-26 13:08:49 +00:00
Dan Fandrich
1ba47e7af9
Add 'const' to immutable arrays.
2004-12-15 01:38:25 +00:00
Daniel Stenberg
94043b1150
Dan Fandrich added the --disable-crypto-auth option to configure to allow
...
libcurl to build without Digest support. (I figure it should also explicitly
disable Negotiate and NTLM.)
2004-11-12 09:18:14 +00:00
Daniel Stenberg
2ebc821558
Convert functions to ANSI-style declaration to prevent compiler warnings
2004-02-20 16:18:26 +00:00
Daniel Stenberg
8415b4a271
removed usage of a silly macro instead of the actual functions memcpy
...
and memset
2004-02-16 09:56:18 +00:00
Daniel Stenberg
4d17d6876e
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
...
warnings. Minor edits by me.
2004-01-29 13:56:45 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
e8c762981a
do not use 'long' to store 4 bytes, as 64bit architectures have 64bit longs.
2003-09-07 15:00:10 +00:00
Daniel Stenberg
8919b39d54
adjusted to use the same API as the OpenSSL version of the MD5 functions
2003-06-26 11:27:22 +00:00
Daniel Stenberg
334d78cd18
Initial Digest support. At least partly working.
2003-05-22 16:09:54 +00:00