提交 a022224c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

DepLibSRTP: update error strings

上级 b5ac5db8
......@@ -10,31 +10,31 @@
std::vector<const char*> DepLibSRTP::errors =
{
// From 0 (srtp_err_status_ok) to 24 (srtp_err_status_pfkey_err).
"success (err_status_ok)",
"unspecified failure (err_status_fail)",
"unsupported parameter (err_status_bad_param)",
"couldn't allocate memory (err_status_alloc_fail)",
"couldn't deallocate memory (err_status_dealloc_fail)",
"couldn't initialize (err_status_init_fail)",
"can’t process as much data as requested (err_status_terminus)",
"authentication failure (err_status_auth_fail)",
"cipher failure (err_status_cipher_fail)",
"replay check failed (bad index) (err_status_replay_fail)",
"replay check failed (index too old) (err_status_replay_old)",
"algorithm failed test routine (err_status_algo_fail)",
"unsupported operation (err_status_no_such_op)",
"no appropriate context found (err_status_no_ctx)",
"unable to perform desired validation (err_status_cant_check)",
"can’t use key any more (err_status_key_expired)",
"error in use of socket (err_status_socket_err)",
"error in use POSIX signals (err_status_signal_err)",
"nonce check failed (err_status_nonce_bad)",
"couldn’t read data (err_status_read_fail)",
"couldn’t write data (err_status_write_fail)",
"error parsing data (err_status_parse_err)",
"error encoding data (err_status_encode_err)",
"error while using semaphores (err_status_semaphore_err)",
"error while using pfkey (err_status_pfkey_err)"
"success (srtp_err_status_ok)",
"unspecified failure (srtp_err_status_fail)",
"unsupported parameter (srtp_err_status_bad_param)",
"couldn't allocate memory (srtp_err_status_alloc_fail)",
"couldn't deallocate memory (srtp_err_status_dealloc_fail)",
"couldn't initialize (srtp_err_status_init_fail)",
"can’t process as much data as requested (srtp_err_status_terminus)",
"authentication failure (srtp_err_status_auth_fail)",
"cipher failure (srtp_err_status_cipher_fail)",
"replay check failed (bad index) (srtp_err_status_replay_fail)",
"replay check failed (index too old) (srtp_err_status_replay_old)",
"algorithm failed test routine (srtp_err_status_algo_fail)",
"unsupported operation (srtp_err_status_no_such_op)",
"no appropriate context found (srtp_err_status_no_ctx)",
"unable to perform desired validation (srtp_err_status_cant_check)",
"can’t use key any more (srtp_err_status_key_expired)",
"error in use of socket (srtp_err_status_socket_err)",
"error in use POSIX signals (srtp_err_status_signal_err)",
"nonce check failed (srtp_err_status_nonce_bad)",
"couldn’t read data (srtp_err_status_read_fail)",
"couldn’t write data (srtp_err_status_write_fail)",
"error parsing data (srtp_err_status_parse_err)",
"error encoding data (srtp_err_status_encode_err)",
"error while using semaphores (srtp_err_status_semaphore_err)",
"error while using pfkey (srtp_err_status_pfkey_err)"
};
/* Static methods. */
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论