Patch: wap/wtls_statesupport.c
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <3C9185B652F8419CA415353919BEE463@drwho> |
Hi Alex, This is a small patch to wtls. Fixes a problem with debug log output when large MAC names are used. Credits for both the patch and the bug go to Armindo Antunes, [email protected]. BR, Nikos
wtls_statesupport.diff
(application/octet-stream, 538 B)
Index: wap/wtls_statesupport.c
===================================================================
--- wap/wtls_statesupport.c (revision 4912)
+++ wap/wtls_statesupport.c (working copy)
@@ -1171,7 +1171,7 @@
/* Check if we support this MAC algsorithm */
if (currentCS->mac_algo >= SHA_0 &&
currentCS->mac_algo <= MD5_NOLIMIT) {
- char cipher[20], mac[10];
+ char cipher[20], mac[15];
/* We can use this CipherSuite then */
cipherName(cipher, currentCS->bulk_cipher_algo);