Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Bernard2018-10-30 17:25:41 +0000
committerSimon Bernard2018-10-30 17:25:41 +0000
commit7e1323095dc3fa2b6c175e12c6b19bdaa5dcd3ed (patch)
tree4d4edb2f1a911980c60acb5a1f73a4df8127ff9f
parent178b945e5497b813b1239e2fbf57e34b7488745f (diff)
downloadorg.eclipse.tinydtls-7e1323095dc3fa2b6c175e12c6b19bdaa5dcd3ed.tar.gz
org.eclipse.tinydtls-7e1323095dc3fa2b6c175e12c6b19bdaa5dcd3ed.tar.xz
org.eclipse.tinydtls-7e1323095dc3fa2b6c175e12c6b19bdaa5dcd3ed.zip
Fix dtls-client.cfix_dlts_client
-rw-r--r--tests/dtls-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dtls-client.c b/tests/dtls-client.c
index 46a893a..1979721 100644
--- a/tests/dtls-client.c
+++ b/tests/dtls-client.c
@@ -135,6 +135,8 @@ get_psk_info(struct dtls_context_t *ctx UNUSED_PARAM,
memcpy(result, psk_key, psk_key_length);
return psk_key_length;
+ case DTLS_PSK_HINT:
+ return 0;
default:
dtls_warn("unsupported request type: %d\n", type);
}

Back to the top