]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/sslapitest.c
Test that PEM_BUFSIZE is passed into pem_password_cb
authorTomas Mraz <tomas@openssl.org>
Tue, 21 Dec 2021 15:05:52 +0000 (16:05 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 3 Jan 2022 09:35:36 +0000 (10:35 +0100)
commitc7debe811123951a60cdfe73716184ca8fdd79d2
treeb8d5321a0cce625369c54ac27dd1f0a88ae8dd4a
parent5b5342e04ff24d5138c054c1677c32729d47e938
Test that PEM_BUFSIZE is passed into pem_password_cb

When pem_password_cb is used from SSL_CTX, its size
parameter should be equal to PEM_BUFSIZE.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/17320)
test/certs/leaf-encrypted.key [new file with mode: 0644]
test/sslapitest.c