commit | 1b7933537c929a2d159cdd9d2d20d770ee7e9116 | [log] [tgz] |
---|---|---|
author | Joachim Bauch <mail@joachim-bauch.de> | Mon Dec 14 21:30:44 2015 +0100 |
committer | Joachim Bauch <mail@joachim-bauch.de> | Mon Dec 14 21:30:44 2015 +0100 |
tree | b237658dc02e500ab0b31b07bee68133643db418 | |
parent | f3965b47c310e0844ded6da53f3ea9bacf3409c4 [diff] [blame] |
Zero-initialize policy struct in test.
diff --git a/test/srtp_driver.c b/test/srtp_driver.c index ccb0558..32f1b70 100644 --- a/test/srtp_driver.c +++ b/test/srtp_driver.c
@@ -2046,6 +2046,7 @@ srtp_t srtp_snd, srtp_recv; srtp_policy_t policy; + memset(&policy, 0, sizeof(policy)); srtp_crypto_policy_set_rtp_default(&policy.rtp); srtp_crypto_policy_set_rtcp_default(&policy.rtcp); policy.ekt = NULL;