Skip to content
  1. Nov 10, 2018
  2. Nov 09, 2018
  3. Nov 08, 2018
  4. Nov 07, 2018
  5. Nov 05, 2018
  6. Nov 04, 2018
  7. Nov 02, 2018
  8. Nov 01, 2018
  9. Oct 31, 2018
  10. Oct 30, 2018
  11. Oct 29, 2018
    • Richard Levitte's avatar
      test/evp_test.c: don't misuse pkey_test_ctrl() in mac_test_run() · d308458e
      Richard Levitte authored
      
      
      pkey_test_ctrl() was designed for parsing values, not for using in
      test runs.  Relying on its returned value when it returned 1 even for
      control errors made it particularly useless for mac_test_run().
      
      Here, it gets replaced with a MAC specific control function, that
      parses values the same way but is designed for use in a _run() rather
      than a _parse() function.
      
      This uncovers a SipHash test with an invalid control that wasn't
      caught properly.  After all, that stanza is supposed to test that
      invalid control values do generate an error.  Now we catch that.
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7500)
      
      (cherry picked from commit ce5d64c7)
      d308458e