summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/ssl_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ssl_verify.c b/common/ssl_verify.c
index e45d26e..2f34c00 100644
--- a/common/ssl_verify.c
+++ b/common/ssl_verify.c
@@ -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);