diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
commit | 26d978a556ae9099f6610ace9834991636e4a71b (patch) | |
tree | d8789c5afbe3920f3f7ef46ad73aa34f48173591 /third_party/srtp/crypto/kernel/err.c | |
parent | 8b9358503884ec1901d807ff56c2fc588be896a2 (diff) |
Close #1847: Upgraded libsrtp version to 1.5.4 and added support for AES-CM-256 crypto.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5261 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp/crypto/kernel/err.c')
-rw-r--r-- | third_party/srtp/crypto/kernel/err.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/third_party/srtp/crypto/kernel/err.c b/third_party/srtp/crypto/kernel/err.c index 4a3a8589..fcd90784 100644 --- a/third_party/srtp/crypto/kernel/err.c +++ b/third_party/srtp/crypto/kernel/err.c @@ -42,6 +42,10 @@ * */ +#ifdef HAVE_CONFIG_H + #include <config.h> +#endif + #include "err.h" #ifdef ERR_REPORTING_SYSLOG @@ -57,7 +61,7 @@ err_reporting_level_t err_level = err_level_none; #ifdef SRTP_KERNEL_LINUX err_status_t -err_reporting_init(char *ident) { +err_reporting_init(const char *ident) { return err_status_ok; } @@ -69,7 +73,7 @@ err_reporting_init(char *ident) { static FILE *err_file = NULL; err_status_t -err_reporting_init(char *ident) { +err_reporting_init(const char *ident) { #ifdef ERR_REPORTING_SYSLOG openlog(ident, LOG_PID, LOG_AUTHPRIV); #endif @@ -92,7 +96,7 @@ err_reporting_init(char *ident) { } void -err_report(int priority, char *format, ...) { +err_report(int priority, const char *format, ...) { va_list args; if (priority <= err_level) { |