mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 02:22:54 +03:00
coap_notls.c: Add in coap_get_tls_library_version() function
Add in coap_get_tls_library_version() for determining TLS build base + version
This commit is contained in:
1 parent
e1fa280d88
commit
7d14b745c9
1 file changed
+8
@@ -29,6 +29,14 @@ coap_tls_is_supported(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
coap_tls_version_t *
|
||||
coap_get_tls_library_version(void) {
|
||||
static coap_tls_version_t version;
|
||||
version.version = 0;
|
||||
version.type = COAP_TLS_LIBRARY_NOTLS;
|
||||
return &version;
|
||||
}
|
||||
|
||||
static int dtls_log_level = 0;
|
||||
|
||||
void coap_dtls_startup(void) {
|
||||
|
||||
Reference in new issue
Block a user