Skip to content

Commit

Permalink
fixup! fixup! sock_dodtls: make use of sock_dtls_establish_session()
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Feb 18, 2023
1 parent 15d5c14 commit 2acc48a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/net/application_layer/sock_dodtls/sock_dodtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ static int _connect_server(const sock_udp_ep_t *server,
res = credman_add(creds);
if (res < 0 && res != CREDMAN_EXIST) {
DEBUG("Unable to add credential to credman\n");
credman_delete(creds_tag, creds_type);
switch (res) {
case CREDMAN_NO_SPACE:
res = -ENOSPC;
Expand Down

0 comments on commit 2acc48a

Please sign in to comment.