diff --git a/pc/externalhmac.cc b/pc/externalhmac.cc index 0e82fffc28..899c33822c 100644 --- a/pc/externalhmac.cc +++ b/pc/externalhmac.cc @@ -111,7 +111,6 @@ srtp_err_status_t external_hmac_init(void* state, return srtp_err_status_bad_param; ExternalHmacContext* context = static_cast(state); - memset(context->key, 0, key_len); memcpy(context->key, key, key_len); context->key_length = key_len; return srtp_err_status_ok;