Skip to content

Commit

Permalink
Fix trivial typo in kex.c
Browse files Browse the repository at this point in the history
Change "cppstr" to "ccpstr", because it's not chaPHA20-poly1305, after
all.
  • Loading branch information
dorrellmw committed Sep 1, 2023
1 parent 93fa92d commit b53ac25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kex.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ patch_list(char * orig)
adj = xreallocarray(adj,
strlen(adj) /* original string length */
+ 1 /* for the original null-terminator */
+ strlen(cppstr) /* make room for ccpstr */
+ strlen(ccpstr) /* make room for ccpstr */
+ 1 /* make room for the comma delimiter */
, sizeof(char));
/*
Expand Down

0 comments on commit b53ac25

Please sign in to comment.