[core] DTLS PEM validation/creation tweaks and fix leaks in fixed pem path.

This commit is contained in:
Ciprian
2020-09-10 13:56:25 -04:00
committed by GitHub
parent 7bd59f6440
commit 60073ad431
3 changed files with 65 additions and 1 deletions
+1
View File
@@ -2812,6 +2812,7 @@ SWITCH_DECLARE(void) switch_sql_queue_manager_execute_sql_event_callback_err(swi
SWITCH_DECLARE(pid_t) switch_fork(void);
SWITCH_DECLARE(int) switch_core_gen_certs(const char *prefix);
SWITCH_DECLARE(switch_bool_t) switch_core_check_dtls_pem(const char *file);
SWITCH_DECLARE(int) switch_core_cert_gen_fingerprint(const char *prefix, dtls_fingerprint_t *fp);
SWITCH_DECLARE(int) switch_core_cert_expand_fingerprint(dtls_fingerprint_t *fp, const char *str);
SWITCH_DECLARE(int) switch_core_cert_verify(dtls_fingerprint_t *fp);