Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a974479633c99d998e45194fea21a7421a6ece19
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4f05d1b1139cf10b420d42e6b5b973516e851c88
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on May 22, 2018

  1. test: set clientOpts.port property

    Currently this test will overwrite the clientOpts object with the port,
    instead of setting the port property on the clientOpts object which
    looks like the original intent.
    
    Doing this the test fails reporting that the fake-cnnic-root-cert has
    expired. This is indeed true:
    $ openssl x509 -in test/fixtures/keys/fake-cnnic-root-cert.pem \
    -text -noout
    Certificate:
            ...
            Validity
                Not Before: Jun  9 17:15:16 2015 GMT
                Not After : Mar 29 17:15:16 2018 GMT
    
    This commit sets the errorCode to CERT_HAS_EXPIRED. I tried updating the
    certificate using test/fixtures/keys/Makefile but then no error is
    thrown and I'm currently looking into this.
    
    Backport-PR-URL: #20776
    PR-URL: #19767
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 22, 2018
    Configuration menu
    Copy the full SHA
    4406f6e View commit details
    Browse the repository at this point in the history
  2. test: remove test case 0 from tls-cnnic-whitelist

    I looks like this test has not worked as expected since commit
    2bc7841 ("test: use random ports
    where possible"). The test in that commit checked for `CERT_REVOKED`
    which was returned by CheckWhitelistedServerCert.
    
    CheckWhitelistedServerCert was later removed in commit
    6ee4228 ("src: drop CNNIC+StartCom
    certificate whitelisting").
    
    I'm suggesting that this test case be removed as I don't think it is
    valid anymore.
    
    Backport-PR-URL: #20776
    PR-URL: #19767
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 22, 2018
    Configuration menu
    Copy the full SHA
    4f05d1b View commit details
    Browse the repository at this point in the history
Loading