aboutsummaryrefslogtreecommitdiffstats
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-30erts: Fix "hanging" VM caused by exiting tty_sl driverSverker Eriksson
Bug introduced on master in a31eab5469b7740d.
2016-03-29Merge branch 'lukas/erts/etp-bigendian-pid-fix'Lukas Larsson
* lukas/erts/etp-bigendian-pid-fix: erts: Fix etp pid print on big endian
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 'lukas/erts/enif_trace_functions/OTP-13442'Lukas Larsson
* lukas/erts/enif_trace_functions/OTP-13442: erts: Fix bug in enif_send erts: Fix windows nif port tests erts: Fix bug in enif_term_to_binary erts: Remove printout when dec_term fails in DEBUG erts: Polish erl_nif docs erts: Improve enif_binary_to_term erts: Add enif_port_command erts: Add enif_term_to_binary and enif_binary_to_term erts: Add enif_is_process/port_alive erts: Add enif_cpu/now_time and enif_make_unique_integer
2016-03-29erts: Fix bug in enif_sendSverker Eriksson
Let cache_env() set env->heap_frag to same as MBUF(p) as it is in any other case.
2016-03-29erts: Fix windows nif port testsLukas Larsson
2016-03-29erts: Fix bug in enif_term_to_binarySverker Eriksson
Wait until after dec_term and factory_close to do cache_env(), otherwise we will cache the wrong state.
2016-03-29erts: Remove printout when dec_term fails in DEBUGSverker Eriksson
2016-03-29erts: Polish erl_nif docsSverker Eriksson
2016-03-29erts: Improve enif_binary_to_termSverker Eriksson
* Accept a raw data buffer instead of ErlNifBinary * Accept option ERL_NIF_BIN2TERM_SAFE * Return number of read bytes
2016-03-29erts: Add enif_port_commandLukas Larsson
2016-03-29erts: Add enif_term_to_binary and enif_binary_to_termLukas Larsson
2016-03-29erts: Add enif_is_process/port_aliveLukas Larsson
2016-03-29erts: Add enif_cpu/now_time and enif_make_unique_integerLukas Larsson
2016-03-29Merge branch 'rickard/improve-psd/OTP-13428'Rickard Green
* rickard/improve-psd/OTP-13428: Improve process/port specific data management
2016-03-29Merge branch 'rickard/delayed-gc-fix'Rickard Green
* rickard/delayed-gc-fix: Allow delayed gc while scheduled out
2016-03-29Merge branch 'rickard/port-sig-dropped-fix/OTP-13424'Rickard Green
* rickard/port-sig-dropped-fix/OTP-13424: Fix implementation of dropped signal to port
2016-03-29Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
2016-03-29Merge branch 'lukas/erts/inline_tagvaldef/OTP-13440'Lukas Larsson
* lukas/erts/inline_tagvaldef/OTP-13440: erts: inline tag_val_def
2016-03-29erts: inline tag_val_defLukas Larsson
The tag_val_def function was called and multiple switch statements had to be traversed in term.c, and then a big switch in the calling code to branch on the term types. By inlining the switches are merged by the compiler and a lot fewer branches have to be taken. Benchmarks show that this increases performance of enc_term by as much as 10%.
2016-03-29Merge branch 'lukas/erts/fix_pthread_setname_osx/OTP-13439'Lukas Larsson
* lukas/erts/fix_pthread_setname_osx/OTP-13439: erts: Fix pthread_setname_np warning on osx
2016-03-29Merge branch 'lukas/erts/low_write_freq_darwin/OTP-12345'Lukas Larsson
* lukas/erts/low_write_freq_darwin/OTP-12345: erts: Fix LOW_WRITE section for non llvm os x compilation
2016-03-24Improve process/port specific data managementRickard Green
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-24Update primary bootstrapBjörn Gustavsson
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-24erts: Fix etp pid print on big endianLukas Larsson
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 'maint'Henrik Nord