aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-05-21ssl: Remove calls to tls_connection:next_record/1Péter Dimitrov
2019-05-21ssl: Implement peer verificationPéter Dimitrov
2019-05-21ssl: Validate selected cipher suite and key_sharePéter Dimitrov
Implement validation of selected cipher suite and key_share in state 'wait_sh'.
2019-05-21ssl: Add tests for TLS 1.3 clientPéter Dimitrov
2019-05-21ssl: Implement basic TLS 1.3 clientPéter Dimitrov
2019-05-21Correct decoding of external funsBjörn Gustavsson
2019-05-20stdlib: Improve example for binary:referenced_byte_size/1Sverker Eriksson
2019-05-20Merge branch 'maint-22' into maintIngela Anderton Andin
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-05-20Fix non-terminating compilationBjörn Gustavsson
The compiler would not terminate while compiling the following code: foo(<<N:32>>, Tuple, NewValue) -> _ = element(N, Tuple), setelement(N, Tuple, NewValue). The type analysis pass would attempt to construct a huge list when attempting analyse the type of `Tuple` after the call to `setelement/3`. https://bugs.erlang.org/browse/ERL-948
2019-05-20Merge branch 'maint-21' into maintLars Thorsen
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # lib/xmerl/doc/src/notes.xml # lib/xmerl/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-05-20Merge branch 'lars/fix-sax-parser-bug-during-check-encoding/OTP-15826' into ↵Lars Thorsen
maint * lars/fix-sax-parser-bug-during-check-encoding/OTP-15826: [xmerl] Fix parse bug when checking the character encoding
2019-05-19Extra -mode flags are ignored with a warningJose M Perez
Prior to this change, providing multiple -mode flags to erl would start the code server as 'interactive', regardless of their value ('-mode embedded -mode embedded' would start erl as in interactive mode). With this change, the extra -mode flags are ignored, and a warning gets logged.
2019-05-16use correct module name for standard_errorGrigory Starinkin
2019-05-15Merge pull request #2232 from seeekr/patch-1Lukas Larsson
fix typo in gen_statem.xml
2019-05-15Prepare releaseErlang/OTP
2019-05-15Merge branch 'lars/fix-sax-parser-bug-during-check-encoding/OTP-15826' into ↵Erlang/OTP
maint-21 * lars/fix-sax-parser-bug-during-check-encoding/OTP-15826: [xmerl] Fix parse bug when checking the character encoding
2019-05-15Prepare releaseErlang/OTP
2019-05-15[xmerl] Fix parse bug when checking the character encodingLars Thorsen
The parser chrashed when an endmarker was missing when parsing attribute values during the character encoding check.
2019-05-15Merge branch 'ingela/ssl-flow-ctrl/ERL-934/OTP-15825' into maintIngela Anderton Andin
* ingela/ssl-flow-ctrl/ERL-934/OTP-15825: ssl: Refactor of OTP 22 code due to patch OTP-15823 ssl: Avoid dialyzer warning ssl: Add test cases for issue reported in ERL-938 ssl: Internal active n must back off when user does not read data ssl: Remove legacy calls to next_record Conflicts: lib/ssl/src/tls_connection.erl
2019-05-15ssl: Refactor of OTP 22 code due to patch OTP-15823Ingela Anderton Andin
2019-05-15ssl: Avoid dialyzer warningIngela Anderton Andin
Maybe we should only have specs for external APIs?! This is a how to write spec problem that we have to address later.
2019-05-15ssl: Add test cases for issue reported in ERL-938Ingela Anderton Andin
2019-05-15ssl: Internal active n must back off when user does not read dataIngela Anderton Andin
TLS connections should not buffer too much application data if they want to benefit from TCP flow control. Certain applications may want to customize the value of internal_active_n as there is a tradeoff between buffering memory and throughput. Conflicts: lib/ssl/src/tls_connection.erl
2019-05-15ssl: Remove legacy calls to next_recordIngela Anderton Andin
Conflicts: lib/ssl/src/dtls_connection.erl lib/ssl/src/ssl_connection.erl
2019-05-15Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-05-14ssl: Refactor of OTP 22 code due to patch OTP-15823Ingela Anderton Andin
2019-05-14Fix compiler crash when funs were matchedBjörn Gustavsson
Code such as the following would crash the compiler in OTP 22: [some_atom = fun some_function/1] The reason is that the fun would be copied (used both in the match operation and as a value in the list), and the copy of the fun would create two wrapper functions with the same name for calling some_function/1. In OTP 21, the duplicate functions happened not to cause any harm (one of the wrappers functions would be unused and ultimately be removed by beam_clean). In OTP 22, the new beam_ssa_type pass would be confused by the multiple definitions of the wrapper function.
2019-05-14Prepare releaseErlang/OTP
2019-05-14Merge branch 'john/tools/fix-cover-register-race/ERL-943/OTP-15813' into ↵Erlang/OTP
maint-21 * john/tools/fix-cover-register-race/ERL-943/OTP-15813: cover: Fix register/2 race on startup
2019-05-14Merge branch 'ingela/ssl/flow-ctrl/ERL-934/ERL-938/OTP-15823' into maintIngela Anderton Andin
* ingela/ssl/flow-ctrl/ERL-934/ERL-938/OTP-15823: ssl: Avoid dialyzer warning ssl: Add test cases for issue reported in ERL-938 ssl: Internal active n must back off when user does not read data ssl: Remove legacy calls to next_record Revert "ssl: Add check when to toggle internal active N" Conflicts: lib/ssl/src/dtls_connection.erl lib/ssl/src/ssl_connection.erl lib/ssl/src/tls_connection.erl
2019-05-14Merge branch 'john/tools/fix-cover-register-race/ERL-943/OTP-15813' into maintJohn Högberg
* john/tools/fix-cover-register-race/ERL-943/OTP-15813: cover: Fix register/2 race on startup
2019-05-13fix typo in gen_statem.xmlDenis Andrejew
2019-05-13cover: Fix register/2 race on startupJohn Högberg
2019-05-10Prepare releaseErlang/OTP
2019-05-09Merge branch 'maint'Rickard Green
* maint: Updated OTP version Prepare release
2019-05-09Merge tag 'OTP-21.3.7.1' into maintRickard Green
=== OTP-21.3.7.1 === Changed Applications: - erl_interface-3.11.2.1 Unchanged Applications: - asn1-5.0.8 - common_test-1.17.1 - compiler-7.3.2 - crypto-4.4.2 - debugger-4.2.6 - dialyzer-3.3.2 - diameter-2.2.1 - edoc-0.10 - eldap-1.2.6 - erl_docgen-0.9 - erts-10.3.4 - et-1.6.4 - eunit-2.3.7 - ftp-1.0.2 - hipe-3.18.3 - inets-7.0.7 - jinterface-1.9.1 - kernel-6.3.1 - megaco-3.18.4 - mnesia-4.15.6 - observer-2.9 - odbc-2.12.3 - os_mon-2.4.7 - otp_mibs-1.2.1 - parsetools-2.1.8 - public_key-1.6.5 - reltool-0.7.8 - runtime_tools-1.13.2 - sasl-3.3 - snmp-5.2.12 - ssh-4.7.6 - ssl-9.2.2 - stdlib-3.8.1 - syntax_tools-2.1.7 - tftp-1.0.1 - tools-3.1 - wx-1.8.7 - xmerl-1.3.20 * tag 'OTP-21.3.7.1': Updated OTP version Prepare release # Conflicts: # OTP_VERSION # lib/erl_interface/doc/src/notes.xml # lib/erl_interface/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-05-09Prepare releaseRickard Green
2019-05-09Merge branch 'ingela/ssl/revert-ctrl-flow'Ingela Anderton Andin
* ingela/ssl/revert-ctrl-flow: Revert "ssl: Add check when to toggle internal active N"
2019-05-09ssl: Avoid dialyzer warningIngela Anderton Andin
Maybe we should only have specs for external APIs?! This is a how to write spec problem that we have to address later.
2019-05-08ssl: Add test cases for issue reported in ERL-938Ingela Anderton Andin
2019-05-08ssl: Internal active n must back off when user does not read dataIngela Anderton Andin
TLS connections should not buffer too much application data if they want to benefit from TCP flow control. Certain applications may want to customize the value of internal_active_n as there is a tradeoff between buffering memory and throughput.
2019-05-08Merge branch 'raimo/inet_crypto_dist'Raimo Niskanen
* raimo/inet_crypto_dist: Rekey also the shared secret Use shared secret to rekey Cycle the keypair by time and count Set socket buffer sizes to avoid handshake deadlock Keep the keypair for the node's lifetime Implement some kind of PEKE to get forward secrecy Use incrementing IV Use Erlang cookie as shared secret
2019-05-08Rekey also the shared secretRaimo Niskanen
2019-05-08ssl: Remove legacy calls to next_recordIngela Anderton Andin
2019-05-08Merge branch 'maint'Rickard Green
* maint: Fix bad merge from maint-21 Fix bad merge from maint-21 Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-05-08Fix bad merge from maint-21Rickard Green
2019-05-07Revert "ssl: Add check when to toggle internal active N"Ingela Anderton Andin
This reverts commit 6e190b012dd5a304fc42a5f3bb58ff173a23eb66.
2019-05-07Revert "ssl: Add check when to toggle internal active N"Ingela Anderton Andin
This reverts commit 6e190b012dd5a304fc42a5f3bb58ff173a23eb66.
2019-05-07Merge branch 'ingela/ssl/openssl-test-cuddle'Ingela Anderton Andin
* ingela/ssl/openssl-test-cuddle: ssl: Add necessary compliance check
2019-05-07Merge branch 'ingela/ssl/dialyzer-fix'Ingela Anderton Andin
* ingela/ssl/dialyzer-fix: ssl: Fix dialyzer spec