Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: fix faulty logic in iv size check #9032

Merged
merged 1 commit into from
Oct 17, 2016

Commits on Oct 17, 2016

  1. crypto: fix faulty logic in iv size check

    Fix a regression introduced in commit 2996b5c ("crypto: Allow GCM
    ciphers to have a longer IV length") from April 2016 where a misplaced
    parenthesis in a 'is ECB cipher?' check made it possible to use empty
    IVs with non-ECB ciphers.
    
    Also fix some exit bugs in test/parallel/test-crypto-authenticated.js
    that were introduced in commit 4a40832 ("test: cleanup IIFE tests")
    where removing the IFFEs made the test exit prematurely instead of just
    skipping subtests.
    
    PR-URL: nodejs#9032
    Refs: nodejs#6376
    Refs: nodejs#9024
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    bnoordhuis committed Oct 17, 2016
    Configuration menu
    Copy the full SHA
    6ef6d42 View commit details
    Browse the repository at this point in the history