Commit 41e3ebd5 authored by Viktor Dukhovni's avatar Viktor Dukhovni Committed by Viktor Dukhovni
Browse files

One more typo when changing !result to result <= 0

(cherry picked from commit eef1827f)
parent 9624b50d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -739,7 +739,7 @@ static int check_id(X509_STORE_CTX *ctx)
	X509_VERIFY_PARAM *vpm = ctx->param;
	X509_VERIFY_PARAM_ID *id = vpm->id;
	X509 *x = ctx->cert;
	if (id->hosts && !check_hosts(x, id) <= 0)
	if (id->hosts && check_hosts(x, id) <= 0)
		{
		if (!check_id_error(ctx, X509_V_ERR_HOSTNAME_MISMATCH))
			return 0;