[Spice-commits] common/ssl_verify.c

Alon Levy alon at kemper.freedesktop.org
Wed Apr 18 07:53:20 PDT 2012


 common/ssl_verify.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6af29a97ac2d4e88e1391dd1b4697f32138ce4df
Author: Aric Stewart <aric at codeweavers.com>
Date:   Wed Apr 18 08:59:20 2012 -0500

    move variable decleration to head of code block
    
    Signed-off-by: Aric Stewart <aric at codeweavers.com>

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);


More information about the Spice-commits mailing list