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

David von Oheimb noreply at github.com
Fri Apr 28 06:58:35 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: aa99c6ee42754dc2fde65f2164e59e0e92306254
      https://github.com/openssl/openssl/commit/aa99c6ee42754dc2fde65f2164e59e0e92306254
  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)

(cherry picked from commit 1f757df1f3de0c18cc22a4992d66e9a7b113f61d)




More information about the openssl-commits mailing list