Remove unused variable

This commit is contained in:
Rene Kita
2021-09-02 11:53:15 +02:00
parent dad5cbe83b
commit 916104b7f2
7 changed files with 8 additions and 22 deletions

View File

@@ -418,7 +418,6 @@ ssl_check_cert_ident(X509 * x, char *hostname)
if (alt) {
int n;
GENERAL_NAME *gn;
X509V3_EXT_METHOD *method;
Str seen_dnsname = NULL;
n = sk_GENERAL_NAME_num(alt);
@@ -459,7 +458,7 @@ ssl_check_cert_ident(X509 * x, char *hostname)
break;
}
}
method = X509V3_EXT_get(ex);
X509V3_EXT_get(ex);
sk_GENERAL_NAME_free(alt);
if (i < n) /* Found a match */
match_ident = TRUE;