[openssl/openssl] 1f757d: APPS/cmp: prevent HTTP client failure on -rspin op...

David von Oheimb noreply at github.com
Fri Apr 28 06:53:36 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 1f757df1f3de0c18cc22a4992d66e9a7b113f61d
      https://github.com/openssl/openssl/commit/1f757df1f3de0c18cc22a4992d66e9a7b113f61d
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M apps/cmp.c
    M doc/man1/openssl-cmp.pod.in
    M test/recipes/80-test_cmp_http_data/test_commands.csv

  Log Message:
  -----------
  APPS/cmp: prevent HTTP client failure on -rspin option with too few filenames

The logic for handling inconsistent use of -rspin etc., -port, -server,
and -use_mock_srv options proved faulty.  This is fixed here, updating and
correcting also the documentation and diagnostics of the involved options.

In particular, the case that -rspin (or -rspout. reqin, -reqout) does not
provide enough message file names was not properly described and handled.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/20295)




More information about the openssl-commits mailing list