Latest update.
This commit is contained in:
@@ -883,8 +883,11 @@ BIO *OSSL_HTTP_transfer(const char *server, const char *port, const char *path,
|
||||
if (lib == ERR_LIB_SSL || lib == ERR_LIB_HTTP
|
||||
|| (lib == ERR_LIB_BIO && reason == BIO_R_CONNECT_TIMEOUT)
|
||||
|| (lib == ERR_LIB_BIO && reason == BIO_R_CONNECT_ERROR)
|
||||
# ifndef OPENSSL_NO_CMP
|
||||
|| (lib == ERR_LIB_CMP
|
||||
&& reason == CMP_R_POTENTIALLY_INVALID_CERTIFICATE)) {
|
||||
&& reason == CMP_R_POTENTIALLY_INVALID_CERTIFICATE)
|
||||
# endif
|
||||
) {
|
||||
BIO_snprintf(buf, 200, "server=%s:%s", server, port);
|
||||
ERR_add_error_data(1, buf);
|
||||
if (err == 0) {
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
/* name aliases for legacy names with name prefix "OCSP_" */
|
||||
typedef OCSP_REQ_CTX OSSL_HTTP_REQ_CTX;
|
||||
/* functions meanwhile only used internally */
|
||||
# define OSSL_HTTP_REQ_CTX_new OCSP_REQ_CTX_new
|
||||
# define OSSL_HTTP_REQ_CTX_free OCSP_REQ_CTX_free
|
||||
# define OSSL_HTTP_REQ_CTX_header OCSP_REQ_CTX_http
|
||||
# define OSSL_HTTP_REQ_CTX_add1_header OCSP_REQ_CTX_add1_header
|
||||
# define OSSL_HTTP_REQ_CTX_i2d OCSP_REQ_CTX_i2d
|
||||
# define OSSL_HTTP_REQ_CTX_nbio OCSP_REQ_CTX_nbio
|
||||
# define OSSL_HTTP_REQ_CTX_new OCSP_REQ_CTX_new
|
||||
# define OSSL_HTTP_REQ_CTX_free OCSP_REQ_CTX_free
|
||||
# define OSSL_HTTP_REQ_CTX_header OCSP_REQ_CTX_http
|
||||
# define OSSL_HTTP_REQ_CTX_add1_header OCSP_REQ_CTX_add1_header
|
||||
# define OSSL_HTTP_REQ_CTX_i2d OCSP_REQ_CTX_i2d
|
||||
# define OSSL_HTTP_REQ_CTX_nbio OCSP_REQ_CTX_nbio
|
||||
# ifndef OPENSSL_NO_SOCK
|
||||
# define OSSL_HTTP_REQ_CTX_sendreq_d2i OCSP_REQ_CTX_nbio_d2i
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user