summaryrefslogtreecommitdiff
path: root/lib/config-tpf.h
Commit message (Collapse)AuthorAgeFilesLines
* openssl: remove all uses of USE_SSLEAYDaniel Stenberg2015-03-051-2/+2
| | | | | | | SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
* config-tpf.h: Fixed up line lengths > 79 charactersSteve Holme2014-08-101-3/+5
|
* Remove all traces of FBOpenSSL SPNEGO supportDavid Woodhouse2014-07-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Work™. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success.
* strlcat: remove functionDaniel Stenberg2013-02-141-4/+1
| | | | | | | | | | | | | | | | | | This function was only used twice, both in places where performance isn't crucial (socks + if2ip). Removing the use of this function removes the need to have our private version for systems without it == reduced amount of code. Also, in the SOCKS case it is clearly better to fail gracefully rather than to truncate the results. This work was triggered by a bug report on the strcal prototype in strequal.h. strlcat was added in commit db70cd28 in February 2001! Bug: http://curl.haxx.se/bug/view.cgi?id=1192 Reported by: Jeremy Huddleston
* configure: Windows cross-compilation fixesYang Tse2012-04-091-11/+5
| | | | | | BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time
* sources: update source headersDaniel Stenberg2011-03-101-0/+21
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang Tse2010-02-261-3/+9
|
* Remove enable-thread / disable-thread configure option. These were only placeboYang Tse2009-11-151-3/+0
| | | | options. The library is always built as thread safe as possible on every system.
* Refactor how preprocessor symbol _THREAD_SAFE definition is done.Yang Tse2009-11-141-4/+4
|
* Check for basename() is now done the same as other function checksYang Tse2009-10-181-3/+0
|
* Use build-time configured curl_socklen_t instead of socklen_tYang Tse2009-05-021-3/+0
|
* David McCreedy's "TPF-platform specific changes to various files" patchYang Tse2009-05-011-0/+3
|
* changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since ↵Gunter Knauf2008-12-301-1/+1
| | | | just found that ares already uses this define.
* added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to ↵Gunter Knauf2008-12-301-0/+3
| | | | be IPv6-aware.
* Refactor configure script detection of functions used to set sockets intoYang Tse2008-11-131-15/+29
| | | | non-blocking mode, and decouple function detection from function capability.
* HAVE_INET_PTON will only be defined when an IPv6 capable workingYang Tse2008-09-241-4/+4
| | | | inet_pton function is available.
* ntoa() and inet_ntoa_r() no longer usedYang Tse2008-09-241-9/+0
|
* HAVE_ALARM definition for static config-*.h filesYang Tse2008-09-191-0/+3
|
* Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse2008-08-211-1/+1
| | | | Improve HAVE_LONGLONG symbol description.
* The size of long is a build time characteristic and as such it is now recordedYang Tse2008-08-131-3/+0
| | | | | in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
* Initial support of curlbuild.h and curlrules.h which allowsYang Tse2008-08-071-3/+0
| | | | to have a curl_off_t data type no longer gated to off_t.
* RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse2008-07-171-6/+6
| | | | to the data type pointed by its respective argument and not the pointer type.
* Configure process now checks availability of recvfrom() socket function andYang Tse2008-07-161-0/+24
| | | | | | finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
* Removed inclusion of remaining system header files from configuration files.Yang Tse2008-07-141-10/+0
| | | | These are included from lib/setup.h or specific source code file.
* fix: socklen_t definition commentYang Tse2008-05-211-1/+1
|
* Patrick Monnerat modified the LDAP code and approach in curl. Starting now,Daniel Stenberg2007-08-111-9/+0
| | | | | | | | the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
* Remove unneeded 'HAVE_*' defines.Gisle Vanem2007-03-201-9/+0
|
* Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILEYang Tse2006-11-241-0/+9
| | | | as appropriate for platforms that don't have autotools support
* Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools ↵Yang Tse2006-10-141-0/+3
| | | | support
* Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse2006-07-251-1/+1
| | | | shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
* include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse2006-07-111-0/+3
|
* Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.Yang Tse2006-07-041-0/+3
|
* Platforms that don't have/run configure need default values in their config ↵Yang Tse2006-07-041-0/+54
| | | | | | | | | | files for: HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7 HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV
* David McCreedy's updateDaniel Stenberg2006-05-231-21/+57
|
* First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg2006-04-071-0/+652