Skip to content

Commit 13c07cf

Browse files
committed
net: nrf_provisioning: Remove undefined Kconfig options
Remove references to undefined Kconfig options CONFIG_NRF_PROVISIONING_AUTOGEN_JWT and all structure members that were used to support it. Signed-off-by: Seppo Takalo <[email protected]>
1 parent 943b11b commit 13c07cf

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

subsys/net/lib/nrf_provisioning/include/nrf_provisioning_http.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ struct nrf_provisioning_http_context {
6464
* CONFIG_REST_CLIENT_SCKT_RECV_TIMEOUT instead.
6565
*/
6666
int32_t timeout_ms;
67-
/** Authentication string: Bearer Token
68-
* If no JWT is provided, and CONFIG_NRF_PROVISIONING_AUTOGEN_JWT
69-
* is enabled, then one will be generated automatically with
70-
* CONFIG_NRF_PROVISIONING_AUTOGEN_JWT_VALID_TIME_S as its lifetime in
71-
* seconds.
72-
* If Attestation Token based authentication is enabled leaving this empty is mandatory,
73-
* unless a static token is used for testing purposes.
74-
*/
75-
char *auth;
7667
/** User allocated buffer for receiving API response, which
7768
* includes the HTTPS headers, any response data and a terminating
7869
* NULL.

subsys/net/lib/nrf_provisioning/src/nrf_provisioning.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ LOG_MODULE_REGISTER(nrf_provisioning, CONFIG_NRF_PROVISIONING_LOG_LEVEL);
4444
/* nRF Provisioning context */
4545
static struct nrf_provisioning_http_context rest_ctx = {
4646
.connect_socket = REST_CLIENT_SCKT_CONNECT,
47-
.keep_alive = false,
48-
.rx_buf = NULL,
49-
.rx_buf_len = 0,
50-
.auth = NULL,
5147
};
5248

5349
/* nRF Provisioning context */

0 commit comments

Comments
 (0)