summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-05 15:34:26 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-05 15:35:11 +0200
commit589c804845b196047c8bdee48903efac5160c6b9 (patch)
tree60246fb1a83334146941a68ec578c0d0734cdd53
parentd529004eecac0439bfa756038e7285fcfd3c01de (diff)
downloadgnutls-589c804845b196047c8bdee48903efac5160c6b9.tar.gz
better placement of ifdefs.
-rw-r--r--lib/auth_cert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/auth_cert.c b/lib/auth_cert.c
index 9dbb67722e..66aaf0bfc9 100644
--- a/lib/auth_cert.c
+++ b/lib/auth_cert.c
@@ -568,10 +568,10 @@ call_get_cert_callback (gnutls_session_t session,
goto cleanup;
}
}
- break;
#endif
-#ifdef ENABLE_PKCS11
+ break;
case GNUTLS_PRIVKEY_PKCS11:
+#ifdef ENABLE_PKCS11
if (st2.key.pkcs11 != NULL)
{
local_key =
@@ -583,8 +583,8 @@ call_get_cert_callback (gnutls_session_t session,
goto cleanup;
}
}
- break;
#endif
+ break;
case GNUTLS_PRIVKEY_X509:
if (st2.key.x509 != NULL)
{