summaryrefslogtreecommitdiffstats
path: root/src/home/homectl-pkcs11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/homectl-pkcs11.h')
-rw-r--r--src/home/homectl-pkcs11.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/home/homectl-pkcs11.h b/src/home/homectl-pkcs11.h
index 424777facd..994198f2ee 100644
--- a/src/home/homectl-pkcs11.h
+++ b/src/home/homectl-pkcs11.h
@@ -1,14 +1,14 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
-#include "json.h"
+#include "sd-json.h"
-int identity_add_token_pin(JsonVariant **v, const char *pin);
+int identity_add_token_pin(sd_json_variant **v, const char *pin);
#if HAVE_P11KIT
-int identity_add_pkcs11_key_data(JsonVariant **v, const char *token_uri);
+int identity_add_pkcs11_key_data(sd_json_variant **v, const char *token_uri);
#else
-static inline int identity_add_pkcs11_key_data(JsonVariant **v, const char *token_uri) {
+static inline int identity_add_pkcs11_key_data(sd_json_variant **v, const char *token_uri) {
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "PKCS#11 tokens not supported on this build.");
}
#endif