mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 15:25:14 +03:00
net.c: Update coap_context_set_pki() parameters
Remove setup_callback parameter
This commit is contained in:
1 parent
2a99d04648
commit
0704792698
1 file changed
+1
-2
@@ -442,11 +442,10 @@ int coap_context_set_psk(coap_context_t *ctx,
|
||||
}
|
||||
|
||||
int coap_context_set_pki(coap_context_t *ctx,
|
||||
coap_dtls_security_setup_t setup_callback,
|
||||
coap_dtls_pki_t* setup_data
|
||||
) {
|
||||
if (coap_dtls_is_supported()) {
|
||||
return coap_dtls_context_set_pki(ctx, setup_callback, setup_data);
|
||||
return coap_dtls_context_set_pki(ctx, setup_data);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user