aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2016-04-01Add issuer arg to ssl_crl_cache_api lookup callbackMagnus Henoch
Change the ssl_crl_cache_api callback specification, passing the certificate issuer name as an argument to the lookup callback function. Support the previous API too, for the time being. The purpose of this change is to accomodate CRL cache modules that index CRLs by issuer name, not by distribution point URL. While in most cases such lookups could be performed using the select/2 callback function, that doesn't work when the CRL in question contains an Issuing Distribution Point (IDP) extension, since RFC 5280 specifies different processing rules for CRLs specified in a distribution point (DP) and other CRLs. For the latter, a DP is assumed that most likely will not match the IDP of the CRL. In order to accommodate cache modules that index CRLs by issuer name, let's pass them the issuer as well.
2016-04-01Remove ?line macrosBjörn-Egil Dahlberg
2016-04-01rpc: Remove functions deprecated in R12BBjörn Gustavsson
2016-04-01Merge branch 'bjorn/kernel/doc'Björn Gustavsson
* bjorn/kernel/doc: code: Remove 'bad_path' error code from set_path/1 Update Kernel documentation
2016-03-31jinterface: updated pom.xml.srcVlad Dumitrescu
2016-03-31Log additional test information in prim_file_SUITEBjörn-Egil Dahlberg
2016-03-31Relax file_info testsBjörn-Egil Dahlberg
2016-03-31Remove information for functions removed in R13 and R14Björn Gustavsson
We don't want otp_internal to only grow, and grow, and grow...
2016-03-31Remove clauses for functions that have already been removedBjörn Gustavsson
The mentioned functions in erl_internal and erl_eval was removed a long time ago.
2016-03-31code: Remove 'bad_path' error code from set_path/1Björn Gustavsson
code:set_path/1 no longer returns {error,bad_path} (an exception will be thrown instead).
2016-03-31Update Kernel documentationBjörn Gustavsson
Language cleaned up by technical writers from Combitech. Proofreading and corrections by Björn Gustavsson and Hans Bolinder.
2016-03-31Merge branch 'sstrigler/ct_logs_add_blank'Siri Hansen
* sstrigler/ct_logs_add_blank: Add blank before dots
2016-03-31Update crashdump_viewer_SUITE with new release numbersSiri Hansen
After bumping to Erlang/OTP 19, R16 dumps can no longer be created. Now we test dumps from OTP 17 and 18.
2016-03-31Update versionsSiri Hansen
Update application versions for kernel, stdlib and sasl for OTP-19.
2016-03-31Avoid potential timer bottleneck on supervisor restartJosé Valim
Prior to this patch, when the supervisor was unable to restart a child, it used the timer process to execute a function later on, allowing other messages in the supervisor queue to be consumed. This patch keeps the same idea but bypasses the timer process by directly sending a message to the supervisor process itself.
2016-03-31Merge branch 'bjorn/optimize-start-up/OTP-13368'Björn Gustavsson
* bjorn/optimize-start-up/OTP-13368: reltool_server_SUITE: Correct diffing of start scripts
2016-03-31reltool_server_SUITE: Correct diffing of start scriptsBjörn Gustavsson
In c3c6182, systools was updated to add more modules to be pre-loaded along with error_handler. That is a pure optimization. Because of the extra modules, test cases that compared the start scripts generated by SASL with the ones generated by Reltool would fail. We must implement a more elaborate way to diff the scripts.
2016-03-30stdlib: Fix logfile testcase for hipelibs testrunLukas Larsson
2016-03-30Merge branch 'hans/ssh/ssh_dbg_module'Hans Nilsson
2016-03-30Merge branch 'hans/ssh/ssh_info_additions'Hans Nilsson
2016-03-30Set longer timetrap when creating dsa filesSiri Hansen
... in test for ct_netconfc.
2016-03-30inet_SUITE: Handle pointtopoint devices in getifaddrs/1Björn Gustavsson
2016-03-30Check that ssh application exists before starting netconf testsSiri Hansen
On some test machines, crypto or ssh applications do not exist. ct_netconfc_SUITE only checked for crypto, causing failed instead of skipped test case when ssh does not exist.
2016-03-30Improve error control when starting ssh in netconf testSiri Hansen
2016-03-30file_SUITE: Increase timetrap for large_write/1Björn Gustavsson
In 9870d22b2401b, the timetrap for large_write/1 was accidentally reduced from the default 30 minutes to only 1 minute. That is not enough for some older computers.
2016-03-30gen_fsm_SUITE: Make abnormal1/1 stop failingBjörn Gustavsson
abnormal1/1 started failing sporadically when 22785cd1e21 changed using the messages_get/0 and using its own implementation: get_messages() -> receive Msg -> [Msg|get_messages()] after 1 -> [] end. In test_server:messages_get/0, there was "after 0" instead of "after 1" as in this version. We could change back to using "after 0", but it seems that the test case just happened to work before the change. Instead, read out the message that is guranteed to be in the message queue, and *then* check that the message queue is empty.
2016-03-30gen_fsm_SUITE: Use timer:sleep/1 instead of ct:sleep/1Björn Gustavsson
In 8d7d5627, test_server:sleep/1 was changed to ct:sleep/1. Change it to timer:sleep/1 to make the timing more exact (ct:sleep/1 will call another process).
2016-03-30inet_SUITE: Handle {error,enoent} in simple_netns_openBjörn Gustavsson
Allow an open operation to fail with {error,enoent}. That will happen if the executable has compiled-in support for netns, but the computer has not been configured for netns.
2016-03-29crypto: Optimize digest/cipher lookupsSverker Eriksson
by not repeating calls to get static EVP_MD and EVP_CIPHER objects. Also compressed the structs with unions for better caching during search.
2016-03-29crypto: Raise 'notsup' if lacking 'characteristic_two_field'Sverker Eriksson
and not badarg.
2016-03-29Merge branch 'lukas/kernel/sendfile_fallback_chunksize_adj/OTP-13444'Lukas Larsson
* lukas/kernel/sendfile_fallback_chunksize_adj/OTP-13444: kernel: Reduce sendfile fallback chunk size
2016-03-29ssh: app-file updated with the experimental ssh_dbg moduleHans Nilsson
2016-03-29ssh: Experimental debug interface moduleHans Nilsson
2016-03-29ssh: experimental ssh_info extendedHans Nilsson
2016-03-29Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
2016-03-26crypto: Enable AES-GCM tag length to changeYuki Ito
This commit enables AES-GCM encryption/decryption to change its tag length between 1 to 16 bytes.
2016-03-26Don't assume list comprehension evaluation orderAnders Svensson
2016-03-24Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: Update sasl/test/test_lib.hrl with recent versions of kernel and stdlib
2016-03-24Merge branch 'bjorn/compiler/forms/ERL-113/OTP-13430'Björn Gustavsson
* bjorn/compiler/forms/ERL-113/OTP-13430: Fix compile:forms/1,2 crash when not in an existing directory
2016-03-24Fix compile:forms/1,2 crash when not in an existing directoryBjörn Gustavsson
compile:forms/1,2 will crash when the current working directory has been deleted. Fix that problem, and while we are at it, also stop including {source,""} in module_info() when no source code file is given. Reported-at: http://bugs.erlang.org/browse/ERL-113 Reported-by: Adam Lindberg
2016-03-24TLS distribution: shut down accept process cleanlyMagnus Henoch
In ssl_tls_dist_proxy:accept_loop/3, handle {error, closed} by exiting normally. This prevents a spurious error report at node shutdown.
2016-03-24ssh: Add logging in testing subsystemHans Nilsson
2016-03-24Merge branch 'define-null/docfix/ssl-documentation-fix/PR-995'Ingela Anderton Andin
* define-null/docfix/ssl-documentation-fix/PR-995: Fix transportoption, ssloption, ssloptions types names in the documentation
2016-03-24Add blank before dotsStefan Strigler
This helps selecting the generated files by double clicking.
2016-03-24inet_SUITE: Handle missing SCTP support in simple_netns/1Björn Gustavsson
2016-03-23Merge branch 'egil/erl_interface/modernize-tests'Björn-Egil Dahlberg
* egil/erl_interface/modernize-tests: Eliminate use of test_server:fail/0,1 Cleanup test code Remove unncecessary exports Eliminate suite and doc clauses Replace ?config() macro with proplists:get_value() Modernize timetraps Eliminate ?line macros
2016-03-23asn1_SUITE: Remove temporary filesBjörn Gustavsson
Some test machines have quite small hard drives. Help them by remove temporary files in end_per_test_case/2.
2016-03-23file_name_SUITE: Improve handling of missing permission for link creationBjörn Gustavsson
On modern versions of Windows, creation of symlinks is supported, but our test machines usually don't have permissions for creating symlinks. Therefore, the has_links/0 that attempts to predict whether link creation will work by testing version numbers will not do any good. Refactor the code so that test cases don't fail when links cannot be created because of missing permissions.
2016-03-23file_name_SUITE: Remove useless put/2 to process dictionaryBjörn Gustavsson
There is never any corresponding get/1.
2016-03-23file_name_SUITE: Handle the case that HOMEPATH may not be setBjörn Gustavsson
Seems that it can happen on Windows.