]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
cli: print DEFAULT_TRUST_STORE_{DIR,PKCS11} with --list-config
authorDaiki Ueno <ueno@gnu.org>
Mon, 7 Jul 2025 23:47:07 +0000 (08:47 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 8 Jul 2025 12:51:49 +0000 (21:51 +0900)
Signed-off-by: Daiki Ueno <ueno@gnu.org>
lib/global.c

index 0ff60c24d97aae5ee3e3dc2949e43aa1b6682da4..1f56b86ce89bb92abf43ab20ebf726cdda2c3e28 100644 (file)
@@ -612,6 +612,15 @@ static const struct gnutls_library_config_st _gnutls_library_config[] = {
 #endif
        { "hardware-features", HW_FEATURES },
        { "tls-features", TLS_FEATURES },
+#ifdef DEFAULT_TRUST_STORE_PKCS11
+       { "default-trust-store-pkcs11", DEFAULT_TRUST_STORE_PKCS11 },
+#endif
+#ifdef DEFAULT_TRUST_STORE_DIR
+       { "default-trust-store-dir", DEFAULT_TRUST_STORE_DIR },
+#endif
+#ifdef DEFAULT_TRUST_STORE_FILE
+       { "default-trust-store-file", DEFAULT_TRUST_STORE_FILE },
+#endif
        { "default-system-config", SYSTEM_PRIORITY_FILE },
        { NULL, NULL }
 };