Module: kamailio
Branch: master
Commit: 900d9fd0dbc489221cf3516f03399f8ac4980f15
URL:
https://github.com/kamailio/kamailio/commit/900d9fd0dbc489221cf3516f03399f8…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2018-02-07T17:35:36+01:00
auth_xkeys: fix typos
Thanks, lintian
I: kamailio: spelling-error-in-binary
usr/lib/x86_64-linux-gnu/kamailio/modules/auth_xkeys.so maching matching
---
Modified: src/modules/auth_xkeys/auth_xkeys.c
---
Diff:
https://github.com/kamailio/kamailio/commit/900d9fd0dbc489221cf3516f03399f8…
Patch:
https://github.com/kamailio/kamailio/commit/900d9fd0dbc489221cf3516f03399f8…
---
diff --git a/src/modules/auth_xkeys/auth_xkeys.c b/src/modules/auth_xkeys/auth_xkeys.c
index ad3bed70d6..980260988e 100644
--- a/src/modules/auth_xkeys/auth_xkeys.c
+++ b/src/modules/auth_xkeys/auth_xkeys.c
@@ -311,7 +311,7 @@ int auth_xkeys_check(sip_msg_t* msg, str *hdr, str *key,
if(hbody.len!=SHA256_DIGEST_STRING_LENGTH-1
&& hbody.len!=SHA384_DIGEST_STRING_LENGTH-1
&& hbody.len!=SHA512_DIGEST_STRING_LENGTH-1) {
- LM_DBG("not maching digest size for [%.*s]\n",
+ LM_DBG("not matching digest size for [%.*s]\n",
hf->body.len, hf->body.s);
return -1;
}
@@ -337,7 +337,7 @@ int auth_xkeys_check(sip_msg_t* msg, str *hdr, str *key,
strncpy(xdata.s + itc->kvalue.len + 1, data->s, data->len);
if(alg->len==6 && strncasecmp(alg->s, "sha256", 6)==0) {
if(hbody.len!=SHA256_DIGEST_STRING_LENGTH-1) {
- LM_DBG("not maching sha256 digest size for [%.*s]\n",
+ LM_DBG("not matching sha256 digest size for [%.*s]\n",
hf->body.len, hf->body.s);
return -1;
}
@@ -349,7 +349,7 @@ int auth_xkeys_check(sip_msg_t* msg, str *hdr, str *key,
}
} else if(alg->len==6 && strncasecmp(alg->s, "sha384", 6)==0)
{
if(hbody.len!=SHA384_DIGEST_STRING_LENGTH-1) {
- LM_DBG("not maching sha384 digest size for [%.*s]\n",
+ LM_DBG("not matching sha384 digest size for [%.*s]\n",
hf->body.len, hf->body.s);
return -1;
}
@@ -361,7 +361,7 @@ int auth_xkeys_check(sip_msg_t* msg, str *hdr, str *key,
}
} else if(alg->len==6 && strncasecmp(alg->s, "sha512", 6)==0)
{
if(hbody.len!=SHA512_DIGEST_STRING_LENGTH-1) {
- LM_DBG("not maching sha512 digest size for [%.*s]\n",
+ LM_DBG("not matching sha512 digest size for [%.*s]\n",
hf->body.len, hf->body.s);
return -1;
}