Steve Holme
4113ad50e4
ldap: Fix memory leak from commit 3a805c5cc1
2015-01-04 20:06:04 +00:00
Steve Holme
c37dcf0edb
ldap: Fixed attribute variable warnings when Unicode is enabled
...
Use 'TCHAR *' for local attribute variable rather than 'char *'.
2015-01-04 16:25:17 +00:00
Steve Holme
5359936d07
ldap: Fixed DN variable warnings when Unicode is enabled
...
Use 'TCHAR *' for local DN variable rather than 'char *'.
2015-01-04 16:21:13 +00:00
Steve Holme
ea4f98dca6
ldap: Remove the unescape_elements() function
...
Due to the recent modifications this function is no longer used.
2015-01-04 16:11:36 +00:00
Steve Holme
f9b50910e0
ldap.c: Fixed compilation warning
...
ldap.c:98: warning: extra tokens at end of #endif directive
2015-01-04 16:11:08 +00:00
Steve Holme
84143dc57d
ldap: Fixed support for Unicode filter in Win32 search call
2015-01-04 15:16:22 +00:00
Steve Holme
747bad7c09
ldap.c: Fixed compilation warning
...
ldap.c:802: warning: comparison between signed and unsigned integer
expressions
2015-01-04 15:16:21 +00:00
Steve Holme
3a805c5cc1
ldap: Fixed support for Unicode attributes in Win32 search call
2015-01-04 14:27:51 +00:00
Steve Holme
7241527956
ldap: Fixed memory leak from commit efb64fdf80
...
The unescapped DN was not freed after a successful character conversion.
2015-01-04 14:21:29 +00:00
Steve Holme
825b0c7968
ldap.c: Fixed compilation error
...
ldap.c:738: error: macro "LDAP_TRACE" passed 2 arguments, but takes
just 1
2015-01-04 13:16:20 +00:00
Steve Holme
2948954535
ldap.c: Fixed compilation warning
...
ldap.c:89: warning: extra tokens at end of #endif directive
2015-01-04 13:04:06 +00:00
Steve Holme
efb64fdf80
ldap: Fixed support for Unicode DN in Win32 search call
2015-01-04 12:10:26 +00:00
Steve Holme
6416dc998b
ldap: Fixed Unicode user and password in Win32 bind calls
2015-01-04 01:57:09 +00:00
Steve Holme
0f26148423
ldap: Fixed Unicode host name in Win32 initialisation calls
2015-01-04 01:56:08 +00:00
Steve Holme
f460f12c9d
ldap: Use host.dispname for infof() connection failure messages
...
As host.name may be encoded use dispname for infof() failure messages.
2015-01-04 00:30:55 +00:00
Steve Holme
23bb054129
ldap: Prefer 'CURLcode result' for curl result codes
2015-01-03 18:46:32 +00:00
Steve Holme
d4b540f85a
ldap: Pass write length in all Curl_client_write() calls
...
As we get the length for the DN and attribute variables, and we know
the length for the line terminator, pass the length values rather than
zero as this will save Curl_client_write() from having to perform an
additional strlen() call.
2015-01-03 18:46:31 +00:00
Steve Holme
4967109ffc
ldap: Fixed attribute memory leaks on failed client write
...
Fixed memory leaks from commit 086ad79970
as was noted in the commit
comments.
2015-01-03 18:46:30 +00:00
Steve Holme
a68aa81320
ldap: Fixed DN memory leaks on failed client write
...
Fixed memory leaks from commit 086ad79970
as was noted in the commit
comments.
2015-01-03 18:46:28 +00:00
Steve Holme
0ea9381b7d
curl_ntlm_core.c: Fixed compilation warning from commit 1cb17b2a5d
...
curl_ntlm_core.c:146: warning: passing 'DES_cblock' (aka 'unsigned char
[8]') to parameter of type 'char *' converts
between pointers to integer types with different
sign
2015-01-02 21:14:36 +00:00
Steve Holme
1cb17b2a5d
ntlm: Use extend_key_56_to_64() for all cryptography engines
...
Rather than duplicate the code in setup_des_key() for OpenSSL and in
extend_key_56_to_64() for non-OpenSSL based crypto engines, as it is
the same, use extend_key_56_to_64() for all engines.
2015-01-02 20:17:05 +00:00
Steve Holme
1dd57bd783
RELEASE-NOTES: Synced with 34f0bd110f
2015-01-02 17:19:49 +00:00
Steve Holme
34f0bd110f
curl_ntlm_core.c: Fixed compilation warning
...
curl_ntlm_core.c:458: warning: 'ascii_uppercase_to_unicode_le' defined
but not used
2015-01-02 16:28:03 +00:00
Steve Holme
a75ede4b9b
endian: Fixed bit-shift in 64-bit integer read functions
...
From commit 43792592ca
and 4bb5a351b2
.
Reported-by: Michael Osipov
2015-01-02 15:53:42 +00:00
Steve Holme
a3daf542ad
smb: Use endian functions for reading NBT and message size values
2015-01-01 20:48:05 +00:00
Steve Holme
4bb5a351b2
endian: Added big endian read functions
2015-01-01 20:45:29 +00:00
Steve Holme
43792592ca
endian: Added 64-bit integer read function
2015-01-01 20:45:00 +00:00
Steve Holme
5fbcb9a1fa
COPYING: Bumped copyright year to 2015
2015-01-01 05:14:38 +00:00
Steve Holme
6e3af5424b
version: Bump copyright year to 2015
2015-01-01 05:02:38 +00:00
Steve Holme
7635577ad7
smb.c: Fixed compilation warnings
...
smb.c:780: warning: passing 'char *' to parameter of type 'unsigned
char *' converts between pointers to integer types with
different sign
smb.c:781: warning: passing 'char *' to parameter of type 'unsigned
char *' converts between pointers to integer types with
different sign
smb.c:804: warning: passing 'char *' to parameter of type 'unsigned
char *' converts between pointers to integer types with
different sign
2015-01-01 04:56:16 +00:00
Steve Holme
0df2ed85fd
smb: Use endian functions for reading length and offset values
2014-12-31 16:52:12 +00:00
Steve Holme
5eae12fc80
endian: Added 16-bit integer write function
2014-12-31 16:03:01 +00:00
Steve Holme
b40e37f93d
endian: Fixed Linux compilation issues
...
Having files named endian.[c|h] seemed to cause issues under Linux so
renamed them both to have the curl_ prefix in the filenames.
2014-12-31 14:02:25 +00:00
Julien Nabet
ee0941a0b7
lib1900.c: Fixed cppcheck error
...
lib1900.c:182: (style) Array index 'handlenum' is used before limits
check
Bug: https://github.com/bagder/curl/pull/133
2014-12-31 12:45:36 +00:00
Steve Holme
e86a6151f4
endian: Added standard function descriptions
2014-12-31 12:17:01 +00:00
Steve Holme
f4413ca65a
endian: Renamed functions for curl API naming convention
2014-12-31 12:17:00 +00:00
Steve Holme
7873f9bdbd
endian: Moved write functions to new module
2014-12-31 12:16:58 +00:00
Steve Holme
920e684d40
endian: Moved read functions to new module
2014-12-31 12:05:36 +00:00
Steve Holme
81951d9874
endian: Introduced endian module
...
To allow the little endian functions, currently used in two of the NTLM
source files, to be used by other modules such as the SMB module.
2014-12-31 11:50:28 +00:00
Steve Holme
4c8a053855
sepheaders.c: Applied curl oding standards
2014-12-31 11:20:41 +00:00
Julien Nabet
8a3c0fbed1
sepheaders.c: Fixed resource leak on failure
2014-12-31 11:14:22 +00:00
Steve Holme
e9d0c7a6f3
vtls: Use '(void) arg' for unused parameters
...
Prefer void for unused parameters, rather than assigning an argument to
itself as a) unintelligent compilers won't optimize it out, b) it can't
be used for const parameters, c) it will cause compilation warnings for
clang with -Wself-assign and d) is inconsistent with other areas of the
curl source code.
2014-12-30 17:13:07 +00:00
Steve Holme
56603e2770
smb.c: Fixed compilation warning
...
smb.c:586: warning: conversion to 'short unsigned int' from 'int' may
alter its value
2014-12-30 15:42:17 +00:00
Bill Nagel
89cce1e458
smb: Use the connection's upload buffer
...
Use the connection's upload buffer instead of allocating our own send
buffer.
2014-12-30 13:10:30 +00:00
Steve Holme
b4433a8ba6
RELEASE-NOTES: Synced with 1933f9d33c
2014-12-30 00:27:59 +00:00
Steve Holme
1933f9d33c
schannel: Moved the ISC return flag definitions to the SSPI module
...
Moved our Initialize Security Context return attribute definitions to
the SSPI module, as a) these can be used by other SSPI based providers
and b) the ISC required attributes are defined there.
2014-12-30 00:14:58 +00:00
Bill Nagel
cfa0ac7aff
smb: Close the connection after a failed client write
2014-12-29 23:46:33 +00:00
Steve Holme
cfc863869f
darwinssl: Fixed compilation warning
...
vtls.c:683:43: warning: unused parameter 'data'
2014-12-28 23:32:07 +00:00
Steve Holme
4088721726
sockfilt.c: Fixed compilation warnings
...
sockfilt.c:288: warning: conversion to 'DWORD' from 'size_t' may alter
its value
sockfilt.c:291: warning: conversion to 'DWORD' from 'size_t' may alter
its value
sockfilt.c:323: warning: conversion to 'DWORD' from 'size_t' may alter
its value
sockfilt.c:326: warning: conversion to 'DWORD' from 'size_t' may alter
its value
2014-12-28 22:34:26 +00:00
Steve Holme
d8273e198c
test1509: Fixed compilation warning
...
lib1509.c:93:18: warning: conversion to 'long int' from 'size_t' may
alter its value
2014-12-28 21:47:20 +00:00