mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 17:02:56 +03:00
Merge branch 'develop' of github.com:obgm/libcoap into develop
This commit is contained in:
commit
affeac8983
1 file changed
+1
-1
+1
-1
@@ -404,7 +404,7 @@ psk_client_callback(gnutls_session_t g_session,
|
||||
*username = gnutls_malloc(identity_len+1);
|
||||
if (*username) {
|
||||
memcpy(*username, identity, identity_len);
|
||||
username[identity_len] = '\0';
|
||||
(*username)[identity_len] = '\0';
|
||||
}
|
||||
|
||||
key->data = gnutls_malloc(psk_len);
|
||||
|
||||
Reference in new issue
Block a user