cmp_client_test.c: add tests for end_time being initialized for RR/GENM
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 25 Nov 2022 09:43:12 +0000 (10:43 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Mon, 23 Jan 2023 09:54:29 +0000 (10:54 +0100)
commitb908ec0f217da0a23f9d81442f81d44c94c98f23
treef41831e2c1fef85c95e2b629d6b575ba5e044385
parent5acd4007a0646ef1f9d0015ce438b891d1b24a62
cmp_client_test.c: add tests for end_time being initialized for RR/GENM

To this end, tweak the internal handling of ctx->total_timeout.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19391)
crypto/cmp/cmp_client.c
crypto/cmp/cmp_ctx.c
test/cmp_client_test.c