mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
move variable decleration to head of code block
Signed-off-by: Aric Stewart <aric@codeweavers.com>
This commit is contained in:
parent
6bb8d93bbf
commit
6af29a97ac
@ -386,9 +386,9 @@ static int verify_subject(X509* cert, SpiceOpenSSLVerify* verify)
|
||||
if (ret == 0) {
|
||||
spice_debug("subjects match");
|
||||
} else {
|
||||
char *p;
|
||||
spice_debug("subjects mismatch");
|
||||
|
||||
char *p;
|
||||
p = X509_NAME_oneline(cert_subject, NULL, 0);
|
||||
spice_debug("cert_subject: %s", p);
|
||||
free(p);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user