aboutsummaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 16:31:30 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 16:31:30 +0000
commit5bfd5521ff344eedd862abdfda9a68cefad912ba (patch)
tree48d3fd98c245b47ecf5b0951441c259cd159b798 /vnc.c
parent29d26d20e5b4a9f28cdd9d072b407223e7b0e610 (diff)
Some little fixes on QEMU
- some vectors can be declared as "const" - test on CONFIG_VNC_TLS is done for two times while just one is enough. (Carlo Bramini) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5172 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vnc.c b/vnc.c
index c0a05a85f1..2fe1e51365 100644
--- a/vnc.c
+++ b/vnc.c
@@ -109,12 +109,10 @@ enum {
VNC_AUTH_VENCRYPT_X509PLAIN = 262,
};
-#if CONFIG_VNC_TLS
#define X509_CA_CERT_FILE "ca-cert.pem"
#define X509_CA_CRL_FILE "ca-crl.pem"
#define X509_SERVER_KEY_FILE "server-key.pem"
#define X509_SERVER_CERT_FILE "server-cert.pem"
-#endif
#endif /* CONFIG_VNC_TLS */