mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
update to cvs head srtp
This commit is contained in:
1 parent
aad4da5b71
commit
72e2d183c1
100 files changed
+4732
-1509
No files matched your search
@@ -9,7 +9,7 @@
|
||||
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 2001-2005, Cisco Systems, Inc.
|
||||
* Copyright (c) 2001-2006, Cisco Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -74,8 +74,8 @@ auth_type_get_ref_count(const auth_type_t *at) {
|
||||
}
|
||||
|
||||
/*
|
||||
* auth_type_self_test() tests an auth function of type ct against
|
||||
* test cases provided in an array of values of key, data, and tag
|
||||
* auth_type_test() tests an auth function of type ct against
|
||||
* test cases provided in a list test_data of values of key, data, and tag
|
||||
* that is known to be good
|
||||
*/
|
||||
|
||||
@@ -83,8 +83,8 @@ auth_type_get_ref_count(const auth_type_t *at) {
|
||||
#define SELF_TEST_TAG_BUF_OCTETS 32
|
||||
|
||||
err_status_t
|
||||
auth_type_self_test(const auth_type_t *at) {
|
||||
auth_test_case_t *test_case = at->test_data;
|
||||
auth_type_test(const auth_type_t *at, const auth_test_case_t *test_data) {
|
||||
const auth_test_case_t *test_case = test_data;
|
||||
auth_t *a;
|
||||
err_status_t status;
|
||||
uint8_t tag[SELF_TEST_TAG_BUF_OCTETS];
|
||||
@@ -171,3 +171,13 @@ auth_type_self_test(const auth_type_t *at) {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* auth_type_self_test(at) performs auth_type_test on at's internal
|
||||
* list of test data.
|
||||
*/
|
||||
|
||||
err_status_t
|
||||
auth_type_self_test(const auth_type_t *at) {
|
||||
return auth_type_test(at, at->test_data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user