Merge branch 'develop' of github.com:obgm/libcoap into develop

This commit is contained in:
Olaf Bergmann committed 2019-04-08 14:33:31 +02:00
commit affeac8983
1 file changed
+1 -1
+1 -1
View File
@@ -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);