MINOR: ssl: BoringSSL ocsp_response does not need issuer

HAproxy can fail when issuer is not found, it must not with BoringSSL.
This commit is contained in:
Emmanuel Hocdet 2019-10-25 12:19:00 +02:00 committed by William Lallemand
parent 83cbd3c89f
commit eaad5cc2d8

View File

@ -3281,6 +3281,7 @@ static int ssl_sock_load_files_into_ckch(const char *path, struct cert_key_and_c
}
}
#ifndef OPENSSL_IS_BORINGSSL /* Useless for BoringSSL */
if (ckch->ocsp_response) {
X509 *issuer;
int i;
@ -3321,6 +3322,7 @@ static int ssl_sock_load_files_into_ckch(const char *path, struct cert_key_and_c
}
}
}
#endif
ret = 0;