[openssl/openssl] 3ecb53: Added check for the return value of the RAND_bytes...

Evgeny Shtanov noreply at github.com
Tue Oct 10 15:20:28 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 3ecb534946e2d940fc8a145b06f976744f5dc234
      https://github.com/openssl/openssl/commit/3ecb534946e2d940fc8a145b06f976744f5dc234
  Author: Klavishnik <evg.shtanov at gmail.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M apps/speed.c

  Log Message:
  -----------
  Added check for the return value of the RAND_bytes() function

Call app_bail_out if RAND_bytes() fails.

Also changed the output parameter of RAND_bytes() to inp as
writing to encrypted output buffer does not make sense.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21706)

(cherry picked from commit 8d120aef951d7bb7deac0b8b559f8003f5ea6384)




More information about the openssl-commits mailing list