0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00

Minor fix to OpenSSL verify_callback_server method.

This commit is contained in:
James Yonan 2015-01-12 23:14:29 -07:00
parent 9004e8cbea
commit bb42a3b4f1

View File

@ -980,7 +980,7 @@ namespace openvpn {
std::memcpy(self_ssl->authcert->issuer_fp, ctx->current_cert->sha1_hash, sizeof(AuthCert::issuer_fp));
}
}
if (ctx->error_depth == 0) // leaf cert
else if (ctx->error_depth == 0) // leaf cert
{
// verify ns-cert-type
if (self->ns_cert_type_defined() && !self->verify_ns_cert_type(ctx->current_cert))