On Tue, Jan 22, 2019 at 11:45 AM Aleksandar Lazic <al-hapr...@none.at> wrote:
> Can it be reused to test a specific server like?
>
> ssl/test/runner/runner -test "KeyUpdate-ToServer" 127.0.0.1:8443

Not easily: it drives the implementation under test by forking a
process and has quite a complex interface via command-line arguments.
(I.e. 
https://boringssl.googlesource.com/boringssl/+/eadef4730e66f914d7b9cbb2f38ecf7989f992ed/ssl/test/test_config.h)

> or should be a small c/go program be used for that test?

You could easily tweak transport_common.cc to call SSL_key_update
before each SSL_write or so.


Cheers

AGL

-- 
Adam Langley a...@imperialviolet.org https://www.imperialviolet.org

Reply via email to