[riot-notifications] [RIOT-OS/RIOT] sys: add credman (D)TLS credential management module (#11564)
notifications at github.com
Tue May 28 18:21:58 CEST 2019
pokgak commented on this pull request.
> + tag, type);
+ return CREDMAN_NOT_FOUND;
+ memset(&credentials[pos], 0, sizeof(credman_credential_t));
+ return CREDMAN_OK;
+ return used;
+ memset(credentials, 0, sizeof(credman_credential_t) * CREDMAN_MAX_CREDENTIALS);
Just found out that all global and static variables are automatically initialized to zero. So this function is only used for testing. Changed to `credman_reset()`.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications