[openssl/openssl] 62640f: The rsa_validate_keypair_multiprime() function ret...

matt noreply at reply.github.openssl.org
Tue Jun 28 15:07:19 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 62640f08eec74ab932c1b73318368d9668211a09
      https://github.openssl.org/openssl/openssl/commit/62640f08eec74ab932c1b73318368d9668211a09
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M crypto/rsa/rsa_chk.c

  Log Message:
  -----------
  The rsa_validate_keypair_multiprime() function return is not boolean

A -ve return value from this function indicates an error which we should
treat as a failure to validate.

Fixes #18538

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18651)

(cherry picked from commit 518f1ee81d5a6910365ef404888d0e119a87fd81)


  Commit: 23b7dd6a1646f6050a7c9e43508999773e8a8805
      https://github.openssl.org/openssl/openssl/commit/23b7dd6a1646f6050a7c9e43508999773e8a8805
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M test/evp_extra_test.c

  Log Message:
  -----------
  Add a test for an all 0 RSA key

Testing a key with all values set to 0.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18651)

(cherry picked from commit 995eccb611431a4857cac3283e2442c01109d428)


Compare: https://github.openssl.org/openssl/openssl/compare/7ee7ed9b7938...23b7dd6a1646


More information about the openssl-commits mailing list