aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-06-17Merge branch 'maint'Péter Dimitrov
* maint: ssl: Fix negative tests in ssl_basic_SUITE ssl: Fix run_client_error/1 in ssl_test_lib ssl: Fix ssl_handshake:extension_value/1
2019-06-17Merge branch 'peterdmv/ssl/fix-handshake-hello/ERL-975/OTP-15888' into maintPéter Dimitrov
* peterdmv/ssl/fix-handshake-hello/ERL-975/OTP-15888: ssl: Fix negative tests in ssl_basic_SUITE ssl: Fix run_client_error/1 in ssl_test_lib ssl: Fix ssl_handshake:extension_value/1
2019-06-17ssl: Fix negative tests in ssl_basic_SUITEPéter Dimitrov
2019-06-17ssl: Fix run_client_error/1 in ssl_test_libPéter Dimitrov
Fix run_client_error/1 to properly propagate errors from the test client.
2019-06-17ssl: Fix ssl_handshake:extension_value/1Péter Dimitrov
Handle new TLS 1.2/1.3 extensions.
2019-06-17Merge branch 'john/kernel/fix-io-proto-user-drv/OTP-15805' into maintJohn Högberg
* john/kernel/fix-io-proto-user-drv/OTP-15805: kernel: Force synchronous port_commands in user/user_drv
2019-06-17Merge branch 'bjorn/better-fun-info/OTP-15837'Björn Gustavsson
* bjorn/better-fun-info/OTP-15837: Create a shared wrapper function for all occurrences of 'fun F/A' Support sharing of fun entries in the runtime system erl_fun.c: Remove unused struct definition hipe: Use the new index when translating funs Stop supporting decoding of old funs in the external term format genop.tab: Insert an "OTP 23" comment for clarity
2019-06-17Merge branch 'maint'Ingela Anderton Andin
2019-06-17Merge pull request #2206 from alehar/inets/httpd_request_parse_headers_fixIngela Andin
inets: httpd_request - honor RFC2616 LF only as header line terminator OTP-15893
2019-06-17Merge branch 'maint'Ingela Anderton Andin
2019-06-17Merge branch 'ingela/merge-294' into maintIngela Anderton Andin
2019-06-17Merge branch 'ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747' into ↵Ingela Anderton Andin
ingela/merge-294 * ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747: Introduce udp send ancillary data argument down to inet_drv Fix old warnings
2019-06-17Merge branch 'maint'Hans Nilsson
* maint: crypto: Modernized 'Algorithms' section in User's Guide
2019-06-17crypto: Modernized 'Algorithms' section in User's GuideHans Nilsson
Adapted to the "New API" introduced in 22.0
2019-06-17Introduce udp send ancillary data argument down to inet_drvRaimo Niskanen
2019-06-17Fix old warningsRaimo Niskanen
2019-06-17Merge branch 'john/kernel/fix-io-proto-user-drv/OTP-15805'John Högberg
* john/kernel/fix-io-proto-user-drv/OTP-15805: kernel: Force synchronous port_commands in user/user_drv
2019-06-17Create a shared wrapper function for all occurrences of 'fun F/A'Björn Gustavsson
If the `fun F/A` syntax is used multiple times with the same `F/A`, (for examle, `fun foo/2`), there would a wrapper function and fun entry generated for each occurrence. Using the new support in the OTP 23 runtime system, generate a single wrapper function and fun entry for each `F/A`. Since there is only one wrapper function, it can be named based on the name of the function it calls to faciliate debugging, not based on the function that defines the fun. For example, the wrapper function for `fun foo/0` will now be named `-fun.foo/0-'.
2019-06-17Merge branch 'maint'Péter Dimitrov
* maint: ssl: Add interop test ssl: Improve handling of signature algorithms
2019-06-17Merge branch 'peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887' into maintPéter Dimitrov
* peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887: ssl: Add interop test ssl: Improve handling of signature algorithms
2019-06-17Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release
2019-06-17Merge branch 'maint-20' into maintJohn Högberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-14ssl: Add interop testPéter Dimitrov
Add interoperability test for TLS 1.2 server and TLS 1.3 client.
2019-06-14ssl: Improve handling of signature algorithmsPéter Dimitrov
TLS 1.2 ClientHello caused handshake failure in the TLS 1.2 server if the signature_algorithms_cert extension contained legacy algorithms. Update TLS 1.2 server to properly handle legacy signature algorithms in the signature_algorithms_cert extension. Update TLS 1.3 client so that it can send legacy algorithms in its signature_algorithms_cert extension.
2019-06-14Merge branch 'maint'Hans Nilsson
* maint: crypto: Documentation crypto: Enable MAC key length checking in mac-table crypto: Renaming, typing and some polishing crypto: Begin test of the new mac interface directly. crypto: Move mac compatibility functions to hmac.c and cmac.c crypto: Move functions around for better readability crypto: White space removed at line ends crypto: Use dirty schedulers for mac_update crypto: Implement NIFs for the new mac_init, mac_update and mac_final crypto: Use new mac_nif for hmac, cmac and poly1305 crypto: Refactor for readability crypto: Use dirty schedulers for the new mac_nif if large data crypto: MAC nif unifying HMAC, CMAC and POLY1305 crypto: Re-structure cmac and hmac test vector handling crypto: Enable CMAC tests for aes-128-cbc and aes-256-cbc crypto: Remove warnings when linking with LibreSSL
2019-06-14crypto: DocumentationHans Nilsson
2019-06-14crypto: Enable MAC key length checking in mac-tableHans Nilsson
2019-06-14crypto: Renaming, typing and some polishingHans Nilsson
2019-06-14crypto: Begin test of the new mac interface directly.Hans Nilsson
2019-06-14crypto: Move mac compatibility functions to hmac.c and cmac.cHans Nilsson
The ultimate goal is to get rid of compatibility with old cryptolib versions so we could remove those compatibility files permanently.
2019-06-14crypto: Move functions around for better readabilityHans Nilsson
2019-06-14crypto: White space removed at line endsHans Nilsson
2019-06-14crypto: Use dirty schedulers for mac_updateHans Nilsson
2019-06-14crypto: Implement NIFs for the new mac_init, mac_update and mac_finalHans Nilsson
Use them for old HMAC functions. Also simplify hmac and cmac on the Erlang level
2019-06-14crypto: Use new mac_nif for hmac, cmac and poly1305Hans Nilsson
2019-06-14crypto: Refactor for readabilityHans Nilsson
2019-06-14crypto: Use dirty schedulers for the new mac_nif if large dataHans Nilsson
2019-06-14crypto: MAC nif unifying HMAC, CMAC and POLY1305Hans Nilsson
into one nif using the EVP_DigestSign interface. This enables acceleration if available in lower layers, that is, in cryptolib and lower. However, for older cryptolibs the old HMAC and CMAC low-level interfaces are used, but moved from hmac.c and cmac.c into mac.c.
2019-06-14crypto: Re-structure cmac and hmac test vector handlingHans Nilsson
as a preparation for a unified cmac and hmac test case.
2019-06-14crypto: Enable CMAC tests for aes-128-cbc and aes-256-cbcHans Nilsson
2019-06-14crypto: Remove warnings when linking with LibreSSLHans Nilsson
got warning for unused function.
2019-06-14Merge branch 'maint'Hans Nilsson
* maint: crypto: Adjust code for spec conflict
2019-06-14crypto: Adjust code for spec conflictHans Nilsson
2019-06-14hipe: Use the new index when translating funsBjörn Gustavsson
OTP 23 will start using the new index instead of the old index when comparing funs. Update the translator to icode accordingly.
2019-06-14Merge branch 'maint'Hans Bolinder
* maint: Allow native compilation when calling Dialyzer from Erlang
2019-06-14Merge branch 'legoscia/dialyzer/native_erlang_mode/OTP-15880/PR-2283' into maintHans Bolinder
* legoscia/dialyzer/native_erlang_mode/OTP-15880/PR-2283: Allow native compilation when calling Dialyzer from Erlang
2019-06-14Prepare releaseErlang/OTP
2019-06-14Merge branch ↵Erlang/OTP
'siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869' into maint-20 * siri/ct/fail-after-failed-init_per_testcase/ERIERL-350/OTP-15869: [ct] Allow post_init_per_testcase to change skip to fail
2019-06-14Merge branch 'siri/ct/hook-terminated-not-initiated/ERIERL-370/OTP-15863' ↵Erlang/OTP
into maint-20 * siri/ct/hook-terminated-not-initiated/ERIERL-370/OTP-15863: [ct] Fix bug where Hook:terminate/1 was called before Hook:init/2
2019-06-14Merge branch 'john/tools/fix-cover-register-race/ERL-943/OTP-15813' into ↵Erlang/OTP
maint-20 * john/tools/fix-cover-register-race/ERL-943/OTP-15813: cover: Fix register/2 race on startup