commit | ef0912f0170a4cab5ca6259f3995f0ed48a3f17d | [log] [tgz] |
---|---|---|
author | Olaf Bergmann <bergmann@tzi.org> | Thu Nov 30 11:09:11 2017 +0100 |
committer | Olaf Bergmann <bergmann@tzi.org> | Thu Nov 30 11:09:11 2017 +0100 |
tree | 7a1179fcdc04fc8435d14ab0671b8381ce8a9ddd | |
parent | 12edf4defb527a5f5c25b7f1cc6681e54063629a [diff] |
dtls.c: initialize hmac storage in dtls_init() Raul Fuentes has pointed out[1] that dtls_hmac_storage_init() must be called when working with static memory allocation. The proposed fix was to call this function from dtls_init(). [1] http://dev.eclipse.org/mhonarc/lists/tinydtls-dev/msg00159.html Change-Id: I6916905d0e968089a531b09c2c08b97b7a9c8a68