]> git.ipfire.org Git - thirdparty/openssl.git/commit
ossl_rand_ctx_new(): Use OPENSSL_strdup instead of strdup
authorTomas Mraz <tomas@openssl.org>
Wed, 5 Feb 2025 07:51:43 +0000 (08:51 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 12 Feb 2025 16:44:51 +0000 (17:44 +0100)
commitdfd177b776ce95a435fc1653e328380c7f1a638c
treea9fafeb13ba2a060c5f1265234cdbd48afb93664
parentb45e035bf7a93df67d2b5fd96f818d02f977ec8a
ossl_rand_ctx_new(): Use OPENSSL_strdup instead of strdup

Fixes Coverity 1642620

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26641)
crypto/rand/rand_lib.c