[Asterisk-code-review] spelling: digress (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:06:37 CDT 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16878 )


Change subject: spelling: digress
......................................................................

spelling: digress

Change-Id: I88891b3c2a21ba532c8fda722e986607ac136ce0
---
M channels/chan_iax2.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/78/16878/1

diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 80c0c8b..3a1451c 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -8404,18 +8404,18 @@
 		if ((authmethods & IAX_AUTH_MD5) && !ast_strlen_zero(challenge)) {
 			struct MD5Context md5;
 			unsigned char digest[16];
-			char digres[128];
+			char digress[128];
 			MD5Init(&md5);
 			MD5Update(&md5, (unsigned char *)challenge, strlen(challenge));
 			MD5Update(&md5, (unsigned char *)secret, strlen(secret));
 			MD5Final(digest, &md5);
 			/* If they support md5, authenticate with it.  */
 			for (x=0;x<16;x++)
-				sprintf(digres + (x << 1),  "%02hhx", digest[x]); /* safe */
+				sprintf(digress + (x << 1),  "%02hhx", digest[x]); /* safe */
 			if (pvt) {
 				build_encryption_keys(digest, pvt);
 			}
-			iax_ie_append_str(ied, IAX_IE_MD5_RESULT, digres);
+			iax_ie_append_str(ied, IAX_IE_MD5_RESULT, digress);
 			res = 0;
 		} else if (authmethods & IAX_AUTH_PLAINTEXT) {
 			iax_ie_append_str(ied, IAX_IE_PASSWORD, secret);

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16878
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I88891b3c2a21ba532c8fda722e986607ac136ce0
Gerrit-Change-Number: 16878
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/23537ccc/attachment.html>


More information about the asterisk-code-review mailing list