summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2021-05-09 20:09:59 +0200
committerNiels Möller <nisse@lysator.liu.se>2021-05-09 20:09:59 +0200
commit0a714543136de97c7fd34f1c6ac1592dc5036879 (patch)
treec7e0a64d5b3b42a0794c04265f1437a5f0f4f86b
parent7616541e6eff73353bf682c62e3a68e4fe696707 (diff)
downloadnettle-0a714543136de97c7fd34f1c6ac1592dc5036879.tar.gz
Fix comment typos.
-rw-r--r--pkcs1-sec-decrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkcs1-sec-decrypt.c b/pkcs1-sec-decrypt.c
index 16833691..942a2bd3 100644
--- a/pkcs1-sec-decrypt.c
+++ b/pkcs1-sec-decrypt.c
@@ -101,8 +101,8 @@ _pkcs1_sec_decrypt_variable(size_t *length, uint8_t *message,
/* length is discovered in a side-channel silent way.
* not_found goes to 0 when the terminator is found.
- * offset strts at 3 as it includes the terminator and
- * the fomat bytes already */
+ * offset starts at 3 as it includes the terminator and
+ * the format bytes already */
offset = 3;
for (i = 2; i < padded_message_length; i++)
{