]> git.proxmox.com Git - mirror_qemu.git/blobdiff - crypto/tlscreds.c
Normalize position of header guard
[mirror_qemu.git] / crypto / tlscreds.c
index a8965531b6a0928d33e23305aae0c1fddea0a3b7..50ecb704ee0fbde5e95d11d4dc9ce1dbef9b38aa 100644 (file)
@@ -20,7 +20,8 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "crypto/tlscredspriv.h"
+#include "qemu/module.h"
+#include "tlscredspriv.h"
 #include "trace.h"
 
 #define DH_BITS 2048
@@ -233,7 +234,7 @@ qcrypto_tls_creds_class_init(ObjectClass *oc, void *data)
                                   NULL);
     object_class_property_add_enum(oc, "endpoint",
                                    "QCryptoTLSCredsEndpoint",
-                                   QCryptoTLSCredsEndpoint_lookup,
+                                   &QCryptoTLSCredsEndpoint_lookup,
                                    qcrypto_tls_creds_prop_get_endpoint,
                                    qcrypto_tls_creds_prop_set_endpoint,
                                    NULL);