aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-07-12Merge branch 'maint'John Högberg
2017-07-11Fix typo doc of init in gen_statemIndradhanush Gupta
2017-07-11erts: Fix bug in enif_whereis_pid/portSverker Eriksson
that could cause heap corruption if whereis lookup conflicts with other register updater AND other thread sends on-heap message while main lock is released. Also improved enif_whereis from dirty nifs by passing c_p as NULL.
2017-07-11kvakvs/disksup-path-cut/ERL-343/PR-1502/OTP-14513Lukas Larsson
Fixes ERL-343 parsing 'df' output by os_mon:disksup on POSIX and SUSv3 systems
2017-07-11Fix building debug emulator on windowsJohn Högberg
CFLAGS weren't updated to include the sys/common directory for this build target.
2017-07-11Use erl_lock_flags in lock checkingJohn Högberg
2017-07-10Test case group for loggingVance Shipley
Added test cases for mod_disk_log covering repair scenarios.
2017-07-10Merge branch 'maint'Lukas Larsson
2017-07-10Merge pull request #1508 from essen/rand-seed-typoLukas Larsson
Fix typo in rand.xml: superseeded -> superseded
2017-07-10Fix typo in rand.xml: superseeded -> supersededLoïc Hoguin
2017-07-10Merge branch 'maint'Ingela Anderton Andin
2017-07-10Merge branch 'ingela/public_key/ssl/CRL-error-propagation/OTP-14236' into maintIngela Anderton Andin
* ingela/public_key/ssl/CRL-error-propagation/OTP-14236: ssl: Try to make asn1 decode errors of certificates as specific as possible ssl,public_key: Provide details for CRL check failiures when revokation state can not be determined ssl: Enhance error logging
2017-07-10Merge branch 'maint'Ingela Anderton Andin
2017-07-10Merge pull request #1504 from vances/issue-erl-443Ingela Andin
Log actual http status code of response. OTP-14510
2017-07-10Merge pull request #1505 from mikpe/erts-alignmentJohn Högberg
erts: ensure alignment of VM core types
2017-07-10josevalim/jv-op-stacktrace-entry/PR-1478/OTP-14508Lukas Larsson
Add stacktrace entries to BIF calls from emulator
2017-07-10Add a dedicated close function for TCP ports to prevent issues like ERL-430/448John Högberg
2017-07-10Close TCP ports properly on send timeoutJohn Högberg
2017-07-10Don't truncate existing disk_logs.Vance Shipley
An existing internal format disk_log will be repaired if possible. If not possible a new log will be created. This is the behaviour described in the documentation and code comments.
2017-07-10Correct type specification in ssl:prf/5Vance Shipley
Current implementation expects Seed to be a list. Correct type specification to match.
2017-07-07Add a proper type for lock optionsJohn Högberg
2017-07-07ssl: Try to make asn1 decode errors of certificates as specific as possibleIngela Anderton Andin
2017-07-07ssl,public_key: Provide details for CRL check failiures when revokation ↵Ingela Anderton Andin
state can not be determined
2017-07-07ssl: Enhance error loggingIngela Anderton Andin
2017-07-07Merge branch 'maint'Hans Nilsson
2017-07-07Merge branch 'hans/crypto/EVP-sign-verify/OTP-13704' into maintHans Nilsson
2017-07-07crypto: test case for sign/verify ecdsa with sha256 etcHans Nilsson
2017-07-07crypto: test case for sign/verify dss with sha256 etcHans Nilsson
In OpenSSL version >= 1.0.1 the hash algos sha, sha224, sha256, sha384 and sha512 are supported. In 1.0.0 sha, sha224 and sha256 are supported In 0.9.8 sha is supported
2017-07-07public_key: Update for new crypto:sign and crypto:verify from PR838Hans Nilsson
2017-07-07public_key: doc for new sign/4 and verify/5Hans Nilsson
2017-07-07crypto: doc sign/5 and verify/6Hans Nilsson
2017-07-07crypto: tests for rsa sign/verify from PR838Hans Nilsson
2017-07-07crypto: Fix compatibility problems with openssl 1.0.0 cryptolibHans Nilsson
2017-07-07crypto: introduced preproc symbol HAS_EVP_PKEY_CTXHans Nilsson
2017-07-07crypto: pk verify with new function from PR838Hans Nilsson
Same comment as previous commit applies.
2017-07-07crypto: pk sign with new function from PR838Hans Nilsson
The function pkey_verify_nif handles pk signing with a general approach that is enabled by EVP api in OpenSSL 1.0.0 The rejected PR838 introduced that function and lots of other stuff so far neglected. It also made some different rsa padding methods possible (included). Since the crypto code base has changed significantly, it was an overhelming work to try a git merge. Therefore this commit is a manual move of the source code from the PR into current maint. This commit concentrates to use the new function compatible with the old functions. This includes some #if:s for different versions, compatibility code for 0.9.8. Lacking: test cases, exporting the more general erlang api, documentation...
2017-07-07crypto: Made {rsa,dss,ecdsa}_{sign,verify}_nif similar and all with evp apiHans Nilsson
2017-07-07Merge pull request #1503 from profil/maintHans Nilsson
Add support for binary input in ssh_io OTP-14506
2017-07-07Merge branch 'maint'Siri Hansen
2017-07-07Add stacktrace entries to BIF calls from emulatorJosé Valim
The goal of this change is to improve debugging of emulator calls. For example, the following code rem(1, y) will error with atom `badarith` when y is 0 and the stacktrace has no entry for `erlang:rem/2`, making such cases very hard to debug. This patch makes it so the stacktrace includes `erlang:rem(1, 0)`. The following emulator BIFs have been changed: * band/2 * bnot/1 * bor/2 * bsl/2 * bsr/2 * bxor/2 * div/2 * element/2 * int_div/2 * rem/2 * sminus/2 * splus/2 * stimes/2
2017-07-07Merge branch 'siri/unicode-in-release-handling/OTP-14463' into maintSiri Hansen
* siri/unicode-in-release-handling/OTP-14463: [sasl] Improve handling of unicode strings and atoms [reltool] Improve handling of unicode strings and atoms
2017-07-07[sasl] Improve handling of unicode strings and atomsSiri Hansen
2017-07-07[reltool] Improve handling of unicode strings and atomsSiri Hansen
2017-07-07Update primary bootstrapBjörn Gustavsson
2017-07-07Merge branch 'siri/appups-21'Siri Hansen
* siri/appups-21: Update sasl/test/test_lib.hrl with recent versions of kernel and stdlib Update appups in kernel, stdlib, and sasl for OTP-21.0
2017-07-07Merge pull request #1080 from josevalim/jv-sys-core-replaceBjörn Gustavsson
Introduce a new core pass called sys_core_alias OTP-14505
2017-07-07Merge branch 'maint'Hans Nilsson
2017-07-07Merge branch 'hans/crypto/supports_macs/OTP-14504' into maintHans Nilsson
2017-07-07Merge branch 'maint'Hans Nilsson
2017-07-07Merge branch 'hans/crypto/test_suite_reports_info' into maintHans Nilsson