[openssl/openssl] ae9fe6: Augment rand argument parsing to allow scaling

Neil Horman noreply at github.com
Mon Nov 13 11:24:03 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: ae9fe65d9f85e027bd7428e0f84aa46ab368880e
      https://github.com/openssl/openssl/commit/ae9fe65d9f85e027bd7428e0f84aa46ab368880e
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M apps/rand.c
    M doc/man1/openssl-rand.pod.in
    M test/recipes/05-test_rand.t

  Log Message:
  -----------
  Augment rand argument parsing to allow scaling

Instead of just accepting a number of bytes, allows openssl rand to
accept a k|m|g suffix to scale to kbytes/mbytes/gbytes

Fixes #22622

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22624)




More information about the openssl-commits mailing list