aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib509.c
AgeCommit message (Collapse)Author
2017-03-26spelling fixesklemens
Closes #1356
2016-12-14checksrc: warn for assignments within if() expressionsDaniel Stenberg
... they're already frowned upon in our source code style guide, this now enforces the rule harder.
2016-04-03tests/libtest: follow our code style guidelines betterDaniel Stenberg
... checksrc of all test code is pending.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2013-03-13test509: libcurl initialization with memory callbacks and actual usageYang Tse
2008-02-20- We no longer support setting the CURLOPT_URL option from inside a callbackDaniel Stenberg
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location: following. The patch that introduced this feature was done for 7.11.0, but this code and functionality has been broken since about 7.15.4 (March 2006) with the introduction of non-blocking OpenSSL "connects". It was a hack to begin with and since it doesn't work and hasn't worked correctly for a long time and nobody has even noticed, I consider it a very suitable subject for plain removal. And so it was done.
2008-02-13make this test disabled properly when built with yasslDaniel Stenberg
2008-01-29add verbose output to test 509 for easier debuggingDaniel Stenberg
2007-10-17We use this ZERO_NULL to avoid picky compiler warnings,Yang Tse
when assigning a NULL pointer to a function pointer var.
2007-10-02Renamed a couple of global variables to avoid shadowing warningsYang Tse
2007-03-16openssl/bio.h doesn't exist when we build with yassl so avoid tryingDaniel Stenberg
2007-03-10change max allowed time for this test to complete to 90 secondsYang Tse
2007-02-19log a message, stating the need of openssl to run this testYang Tse
2007-02-09Some tests were using functions curlx_tvnow and curlx_tvdiff which are notYang Tse
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
2007-01-29Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.Gisle Vanem
2006-10-29Compiler warning fixYang Tse
2006-10-25Add project notice and file IdYang Tse
2006-10-25Use curl_global_init() and curl_global_cleanup().Yang Tse
Improve cleanup in case of initialization failure.
2006-10-20Oops! Actually set the limit to 30 seconds.Yang Tse
2006-10-20Decrease the posibility of aborting a test which actually is notYang Tse
stale by replacing loop counters with timeouts. In this way the main loop of the test will be allowed to run up to 30 seconds on any platform before aborting it.
2006-10-19When aborting, show loop counter values when more than one counter exists.Yang Tse
2006-10-19Abort test if it seems that it would have run forever. This is just to preventYang Tse
test hanging and actually is an indication that there's a condition that is not being properly handled at some point in the library. Loop counter limits might need to be further increased on false positives.
2006-09-10Added select_test() function to allow selecting on no sockets onGisle Vanem
Winsock.
2004-09-22Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend onDaniel Stenberg
it resolving nicely
2004-09-08Now the test servers and test cases can run on a custom port number. There'sDaniel Stenberg
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
2004-05-19just code formatting and killed whitespaceDaniel Stenberg
2004-05-17make it not leak memory when it returns prematurelyDaniel Stenberg
2004-05-06printf %s with plain 'char *', not unsigned ones to silence icc's pickyDaniel Stenberg
warnings
2004-03-03removed include stuff now handled by test.hDaniel Stenberg
2004-02-20include sys/select.h to prevent picky compiler warnings when using select()Daniel Stenberg
without proto
2004-02-19fixed the no-ssl version to return int as wellDaniel Stenberg
2004-02-05changed the test() function to return type intDaniel Stenberg
2004-01-12Peter Sylvester brought code that now allows a callback to modified the URLDaniel Stenberg
even when the multi interface is used, and then libcurl will simulate a "follow location" to that new URL. Test 509 was added to test this feature.