mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
autoconf: Check for srtp_get_version_string() before using it
Change-Id: Id2a916ff9448706090e72ff2c7fb3f5ba24a05df
This commit is contained in:
@@ -1212,7 +1212,11 @@ static int res_srtp_init(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef HAVE_SRTP_GET_VERSION
|
||||
ast_verb(2, "%s initialized\n", srtp_get_version_string());
|
||||
#else
|
||||
ast_verb(2, "libsrtp initialized\n");
|
||||
#endif
|
||||
|
||||
g_initialized = 1;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user