1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

net/credman : Expose to Kconfig

Expose 'CONFIG_CREDMAN_MAX_CREDENTIALS' to Kconfig
This commit is contained in:
Akshai M 2020-07-09 15:09:17 +05:30
parent 774c18ea79
commit 1ad76240c5
2 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,7 @@
menu "Networking"
rsource "application_layer/Kconfig"
rsource "credman/Kconfig"
rsource "gnrc/Kconfig"
rsource "sock/Kconfig"
rsource "link_layer/Kconfig"

23
sys/net/credman/Kconfig Normal file
View File

@ -0,0 +1,23 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig KCONFIG_MODULE_CREDMAN
bool "Configure CREDMAN"
depends on MODULE_CREDMAN
help
Configure CREDMAN, Credentials management module for (D)TLS, using
Kconfig.
if KCONFIG_MODULE_CREDMAN
config CREDMAN_MAX_CREDENTIALS
int "MAX number of credentials in credential pool"
default 2
help
Configure 'CONFIG_CREDMAN_MAX_CREDENTIALS', the maximum number of
allowed credentials in the credential pool.
endif # KCONFIG_MODULE_CREDMAN