diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2016-03-15 03:57:39 +0000 |
commit | 26d978a556ae9099f6610ace9834991636e4a71b (patch) | |
tree | d8789c5afbe3920f3f7ef46ad73aa34f48173591 /third_party/srtp/crypto/hash/hmac.c | |
parent | 8b9358503884ec1901d807ff56c2fc588be896a2 (diff) |
Close #1847: Upgraded libsrtp version to 1.5.4 and added support for AES-CM-256 crypto.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5261 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp/crypto/hash/hmac.c')
-rw-r--r-- | third_party/srtp/crypto/hash/hmac.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/third_party/srtp/crypto/hash/hmac.c b/third_party/srtp/crypto/hash/hmac.c index 4336cf0a..ddb75ea3 100644 --- a/third_party/srtp/crypto/hash/hmac.c +++ b/third_party/srtp/crypto/hash/hmac.c @@ -42,6 +42,10 @@ * */ +#ifdef HAVE_CONFIG_H + #include <config.h> +#endif + #include "hmac.h" #include "alloc.h" @@ -262,6 +266,7 @@ hmac = { (char *) hmac_description, (int) 0, /* instance count */ (auth_test_case_t *) &hmac_test_case_0, - (debug_module_t *) &mod_hmac + (debug_module_t *) &mod_hmac, + (auth_type_id_t) HMAC_SHA1 }; |