]> Git Repo - qemu.git/blobdiff - crypto/tlscreds.c
configure: allow disable of cross compilation containers
[qemu.git] / crypto / tlscreds.c
index a8965531b6a0928d33e23305aae0c1fddea0a3b7..4e657b850ce343b401851c9b7dea366b115d0099 100644 (file)
@@ -6,7 +6,7 @@
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * version 2.1 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -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);
This page took 0.022882 seconds and 4 git commands to generate.