aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-21Revert "ssl: Correct handling of crypto exception handling."Ingela Anderton Andin
This reverts commit 884503bc69157d2a3c6bd72389b4e2a800f97fb6.
2019-03-21Merge branch 'max-au/erts/dirty_scheduler_shutdown/PR-2172/OTP-15690'Lukas Larsson
* max-au/erts/dirty_scheduler_shutdown/PR-2172/OTP-15690: erts: release dirty runqueue lock before entering endless loop when BEAM is shutting down
2019-03-21erts: release dirty runqueue lock before entering endless loop when BEAM is ↵Maxim Fedorov
shutting down This patch fixes a problem happening when BEAM is shutting down. It is possible for a dirty scheduler to take the lock, and keep it, when the system is shutting down. It may also happen that a normal scheduler decides to schedule some dirty job (example is major garbage collection that results in migrating the process into dirty CPU queue), and hangs trying to take the lock that will never be released. To fix the problem, either release the lock before entering endless wait loop, or reverse the order in which schedulers are stopped. Either fix works, and, of course, it works even better to apply both.
2019-03-21Merge branch 'ingela/ssl/crypto-exception-handling'Ingela Anderton Andin
* ingela/ssl/crypto-exception-handling: ssl: Correct handling of crypto exception handling.
2019-03-21Merge branch 'maint'Ingela Anderton Andin
2019-03-21Merge pull request #1695 from uwiger/uw-fix-index-plugin-accessDan Gudmundsson
first stab at fixing index_[read|match_object] w plugins OTP-15689
2019-03-21Merge pull request #2179 from richcarl/array-fixupDan Gudmundsson
Array fixup
2019-03-21Merge branch 'hasse/stdlib/optimize_string/OTP-15649'Hans Bolinder
* hasse/stdlib/optimize_string/OTP-15649: stdlib: Optimize handling of Unicode in the string module stdlib: Optimize handling of Unicode in the string module stdlib: Fix a bug in string:lexemes()
2019-03-20Fix erroneous aborts when using index plugins (ERL-556)Ulf Wiger
- first stab at fixing index_[read|match_object] w plugins - do not include index plugins at match ops - add index_plugin_test_suite - Increase ix plugin test coverage + bug fix
2019-03-20Merge pull request #2162 from ↵Ingela Andin
danbaranov/public-key-less-strict-county-name-check public_key: Work around for certificates with 3 character country codes OTP-15687
2019-03-20stdlib: Optimize handling of Unicode in the string moduleHans Bolinder
Unroll some of the functions returning codepoints and grapheme clusters.
2019-03-20stdlib: Optimize handling of Unicode in the string moduleHans Bolinder
The unicode_util:cp() function handles deep lists faster by returning the rest of the input more balanced to the right than before.
2019-03-20stdlib: Fix a bug in string:lexemes()Hans Bolinder
2019-03-20Improve the ETS benchmark in the test suite ets_SUITEKjell Winblad
* Refactor the code to make it easier to configure the benchmark * Add a test case for long benchmark runs. The new test case is run by the OTP-team's benchmark infrastructure and can help in keeping track of how the performance of ETS is affected by code changes.
2019-03-20Merge branch 'sverker/nif-test-cuddle'Sverker Eriksson
2019-03-20ssl: Correct handling of crypto exception handling.Ingela Anderton Andin
Documentation was incorrect, and new specs provided dialyzer errors.
2019-03-20Merge branch 'john/kernel/fix-code-suite-on_load_trace_on_load'John Högberg
* john/kernel/fix-code-suite-on_load_trace_on_load: code_SUITE: Always disable tracing after 'upgrade' test code_SUITE: Fix on_load_trace_on_load test
2019-03-19allowed 3 letters country code to be validDenis Baranov
Some certificate issuers like Apple use USA instead of US as a country name. This makes handshake with a server not possible as this considered as not valid certificate. This commit eases that requirement to allow both 2 and 3 letters country names.
2019-03-19Merge pull request #2180 from IngelaAndin/ingela/public_key/ERL-842Ingela Andin
public_key: Add AES 256 encryption for old PEM encryption mechanism OTP-13726
2019-03-19Merge branch 'hans/ssh/uses_new_crypto_api/OTP-15673'Hans Nilsson
* hans/ssh/uses_new_crypto_api/OTP-15673: ssh: Use the exceptions as error return change ssh: Use new crypto API
2019-03-19ssh: Use the exceptions as error return changeHans Nilsson
2019-03-19ssh: Use new crypto APIHans Nilsson
2019-03-19Merge branch 'hans/crypto/new_api/OTP-15644'Hans Nilsson
* hans/crypto/new_api/OTP-15644: (26 commits) crypto: Add FIPS testing for a couple of algorithms crypto: Sort ciphers in alphabetic order in testsuite crypto: Better error report in crypto_SUITE crypto: Wrong ifdef symbol used for ENGINE crypto: Handle EVP_CIPHER_CTX copying correctly crypto: Fix bug in ng_api crypto: Better error descriptions crypto: Fix bug for older cryptolib crypto: Fix leak for eddsa detected by Valgrind crypto: Testcase for TLS using new API crypto: Rename SSL special functions crypto: New function for SSL app crypto: Remove compat specials from crypto_init crypto: Exceptions as error return in api_ng crypto: Relocate the new api code inside the crypto.erl file crypto: Cleaning of comments + spec fixing crypto: Remove unused variables in test case crypto: Test fixes for stream api emulated by the new api crypto: Shrink aes.c,h (remove aes_ctr_stream_* funcs) crypto: Remove chacha20.c,h and rc4.c,h ...
2019-03-19Merge branch 'maint'Rickard Green
* maint: Updated OTP version Prepare release
2019-03-19Merge branch 'maint-21' into maintRickard Green
* maint-21: Updated OTP version Prepare release
2019-03-19Merge branch 'maint'Rickard Green
* maint: Add smoke test for erl_call Add new api functions to ei_fake_prog Fix timeout value when waiting for emulator start Fix initialization of erl_call
2019-03-19Merge branch 'rickard/erl_call/ERL-881/OTP-15676' into maintRickard Green
* rickard/erl_call/ERL-881/OTP-15676: Add smoke test for erl_call Add new api functions to ei_fake_prog Fix timeout value when waiting for emulator start Fix initialization of erl_call
2019-03-19crypto: Add FIPS testing for a couple of algorithmsHans Nilsson
in crypto_SUITE.
2019-03-19crypto: Sort ciphers in alphabetic order in testsuiteHans Nilsson
2019-03-19crypto: Better error report in crypto_SUITEHans Nilsson
2019-03-19crypto: Wrong ifdef symbol used for ENGINEHans Nilsson
2019-03-19crypto: Handle EVP_CIPHER_CTX copying correctlyHans Nilsson
2019-03-19crypto: Fix bug in ng_apiHans Nilsson
2019-03-19crypto: Better error descriptionsHans Nilsson
2019-03-19crypto: Fix bug for older cryptolibHans Nilsson
2019-03-19crypto: Fix leak for eddsa detected by ValgrindHans Nilsson
2019-03-19crypto: Testcase for TLS using new APIHans Nilsson
2019-03-19crypto: Rename SSL special functionsHans Nilsson
to crypto_init_dyn_iv/3 and crypto_update_dyn_iv/3
2019-03-19crypto: New function for SSL appHans Nilsson
2019-03-19crypto: Remove compat specials from crypto_initHans Nilsson
2019-03-19crypto: Exceptions as error return in api_ngHans Nilsson
2019-03-19crypto: Relocate the new api code inside the crypto.erl fileHans Nilsson
2019-03-19crypto: Cleaning of comments + spec fixingHans Nilsson
2019-03-19crypto: Remove unused variables in test caseHans Nilsson
2019-03-19crypto: Test fixes for stream api emulated by the new apiHans Nilsson
The test case for the stream api creates one initial state with stream_init/3 That initial state is then used for a series of encrypts, and for a series of decrypts. That is not possible any more since the changes are saved in the nif reference.
2019-03-19crypto: Shrink aes.c,h (remove aes_ctr_stream_* funcs)Hans Nilsson
2019-03-19crypto: Remove chacha20.c,h and rc4.c,hHans Nilsson
Replaced by api_ng.c
2019-03-19crypto: Use/implement new funcs for stream-apiHans Nilsson
2019-03-19crypto: Test the new apiHans Nilsson
2019-03-19crypto: Remove block.c and block.hHans Nilsson
Replaced by api_ng.c