diff options
author | Richard Levitte <levitte@openssl.org> | 2021-02-16 01:19:58 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-02-17 14:37:20 +0100 |
commit | e5ac413b2d3d6bcff57446f06f3d05650921f182 (patch) | |
tree | 4326f74d1de888922c06b3ebd1e2ec587d3417c4 /apps/dhparam.c | |
parent | 3a962b2093a6226daa26e4d1855d4eb9f2e5035b (diff) |
Fix backward incompatibility revolving around OSSL_HTTP_REQ_CTX_sendreq_d2i()
The OSSL_HTTP_REQ_CTX API has a few changes compared to the older
OCSP_REQ_CTX API which are not quite obvious at first sight.
The old OCSP_REQ_CTX_nbio_d2i() took three arguments, of which one is
an output argument, and return an int, while the newer
OSSL_HTTP_REQ_CTX_sendreq_d2i() returns the value directly and thereby
takes one less argument.
The mapping from the old to the new wasn't quite right, this corrects
it, along with a couple of X509 macros that needed the same kind of
fix.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/14196)
Diffstat (limited to 'apps/dhparam.c')
0 files changed, 0 insertions, 0 deletions