mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
update libsrtp to use openssl
This commit is contained in:
1 parent
365f81b412
commit
80c7eb85e6
36 files changed
+3541
-197
No files matched your search
@@ -66,7 +66,11 @@ ctr_prng_init(rand_source_func_t random_source) {
|
||||
return status;
|
||||
|
||||
/* initialize aes ctr context with random key */
|
||||
#ifdef OPENSSL
|
||||
status = aes_icm_openssl_context_init(&ctr_prng.state, tmp_key, 30);
|
||||
#else
|
||||
status = aes_icm_context_init(&ctr_prng.state, tmp_key, 30);
|
||||
#endif
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
|
||||
Reference in new issue
Block a user