]> git.ipfire.org Git - thirdparty/openssl.git/commit
params: add helper functions to allocate & copy params
authorPauli <pauli@openssl.org>
Thu, 13 Apr 2023 02:10:50 +0000 (12:10 +1000)
committerPauli <pauli@openssl.org>
Tue, 25 Apr 2023 22:01:46 +0000 (08:01 +1000)
commit79523d55923e7f61104cc7269131fd6a975b579f
treea2a8283644e27d9e3390dad563337bc6cc723d10
parentd9b811dc01992adcc19ce400f38adc0eb7de2a0b
params: add helper functions to allocate & copy params

Added a function to allocate a buffer and copy a maching param.
Added a function to allocate a buffer and concatenate all matching params.

Fixes #20717

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20724)
crypto/params.c
include/internal/params.h [new file with mode: 0644]