aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2016-04-05Function for generating OpenSSL-style name hashesMagnus Henoch
OpenSSL has functions to generate short (eight hex digits) hashes of issuers of certificates and CRLs. These hashes are used by the "c_rehash" script to populate directories of CA certificates and CRLs, e.g. in the Apache web server. Adding this function lets an Erlang program find the right CRL for a given certificate in such a directory.
2016-04-01Add public_key:pkix_match_dist_pointMagnus Henoch
2016-04-01Improve formatting for crl_{check,cache} optionsMagnus Henoch
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-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-29Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
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-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-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-23Fix transportoption, ssloption, ssloptions types names in the documentationdef_null
2016-03-22ssh: Increase timetrap for GEXHans Nilsson
2016-03-21Eliminate use of test_server:fail/0,1Björn-Egil Dahlberg
2016-03-21Cleanup test codeBjörn-Egil Dahlberg
2016-03-21Remove unncecessary exportsBjörn-Egil Dahlberg
2016-03-21Eliminate suite and doc clausesBjörn-Egil Dahlberg
2016-03-21Replace ?config() macro with proplists:get_value()Björn-Egil Dahlberg
2016-03-21Modernize timetrapsBjörn-Egil Dahlberg
2016-03-21Merge branch 'kostis/hipe-inline-fp-crash/PR-984/OTP-13407'Sverker Eriksson
2016-03-21Merge branch 'sverk/win-test-debug-compile'Sverker Eriksson
2016-03-21Merge branch 'sverk/wait_for_deallocations'Sverker Eriksson
2016-03-21Eliminate ?line macrosBjörn-Egil Dahlberg
2016-03-21Merge branch 'egil/fix-filename_basedir-windows'Björn-Egil Dahlberg
* egil/fix-filename_basedir-windows: stdlib: Fix filename:basedir/2,3
2016-03-21ssh: Make test case ssh_algorithms_SUITE report unexpected messagesHans Nilsson
2016-03-21Merge branch 'bjorn/optimize-start-up/OTP-13368'Björn Gustavsson
* bjorn/optimize-start-up/OTP-13368: Update preloaded modules init: Load modules in parallel using the new loader BIFs systools_make: Add commonly used modules to mandatory_modules/0 compile: Pre-load compiler modules when invoked from 'erlc'
2016-03-21Merge branch 'bjorn/asn1/modernize-tests'Björn Gustavsson
* bjorn/asn1/modernize-tests: Eliminate suite and doc clauses Replace ?config() macro with proplists:get_value() Modernize timetraps Eliminate ?line macros
2016-03-21Merge branch 'hans/ssh/ssh_info_additions'Hans Nilsson
2016-03-21Merge branch 'hans/ssh/set_timetrap_tests'Hans Nilsson
2016-03-18kernel: Reduce sendfile fallback chunk sizeLukas Larsson
This is necessary for windows to perform correctly when writing large files.
2016-03-18Merge branch 'lukas/kernel/error_logger_warn_fix/OTP-13184'Lukas Larsson
* lukas/kernel/error_logger_warn_fix/OTP-13184: kernel: Fix progress check in error logger warn suite
2016-03-18Merge branch 'lukas/eldap/asn1hrl/OTP-13426'Lukas Larsson
* lukas/eldap/asn1hrl/OTP-13426: eldap: Make sure to build out ASN.1 header
2016-03-18ssh: Add ssh_info:collect/0 which returns all pids in the ssh supervisor treeHans Nilsson
Good for test cases.
2016-03-18ssh: cleaning and add export decl in ssh_infoHans Nilsson
2016-03-18ssh: Make ssh_info:string() return the result from print() as a stringHans Nilsson
Good for test cases.
2016-03-18Set timetrap to 40s except for some long running test casesHans Nilsson
Conflicts: lib/ssh/test/ssh_connection_SUITE.erl
2016-03-18Eliminate suite and doc clausesBjörn Gustavsson
2016-03-18Replace ?config() macro with proplists:get_value()Björn Gustavsson
2016-03-18Modernize timetrapsBjörn Gustavsson
2016-03-18Eliminate ?line macrosBjörn Gustavsson
2016-03-17stdlib: Fix filename:basedir/2,3Björn-Egil Dahlberg
Handle the case when the environment APPDATA is not set.
2016-03-17Merge branch 'egil/fix-percept-now/OTP-13422'Björn-Egil Dahlberg
* egil/fix-percept-now/OTP-13422: Modernize test suites Use monotonic_time/1 instead of now/0
2016-03-17systools_make: Add commonly used modules to mandatory_modules/0Björn Gustavsson
Add commonly used modules to the list of modules in mandatory_modules/0. Having those modules listed will potentially help the 'init' module to load them in parallel during start-up.
2016-03-17compile: Pre-load compiler modules when invoked from 'erlc'Björn Gustavsson
Slightly speed up 'erlc' by pre-loading the modules used by the compiler. Write a test case to ensure that the correct set of modules are loaded.
2016-03-17Merge branch 'bjorn/kernel/code_server-normalized-paths/OTP-13410'Björn Gustavsson
* bjorn/kernel/code_server-normalized-paths/OTP-13410: code_server: Normalize the pathnames for all loaded modules Update preloaded modules init: Correct spec for fetch_loaded/1
2016-03-16Modernize test suitesBjörn-Egil Dahlberg
2016-03-16Use monotonic_time/1 instead of now/0Björn-Egil Dahlberg
2016-03-16Update sasl/test/test_lib.hrl with recent versions of kernel and stdlibSiri Hansen
"Old" versions are now taken from OTP-18.0, i.e. one major revision back from OTP-19.
2016-03-16code_server: Normalize the pathnames for all loaded modulesBjörn Gustavsson
On Windows, the pathnames for modules that are loaded early are returned with mixed backslashes and slashes: 1> code:which(lists). "C:\\Program Files\\erl8.0/lib/stdlib-2.7/ebin/lists.beam" 2> Modules loaded later are fully normalized. When starting the code_server, normalize the pathnames for all modules that have been loaded so far.