mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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
This commit is contained in:
parent
29d26d20e5
commit
5bfd5521ff
3 changed files with 6 additions and 8 deletions
2
vnc.c
2
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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue