From 902109189641891faa1dcdf84842138b957c5962 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 23 May 2018 14:04:41 -0600 Subject: [PATCH] update comments --- wolfcrypt/src/asn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 2e5cb96e9..e3ab7e545 100755 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -685,7 +685,8 @@ static int SetShortInt(byte* input, word32* inOutIdx, word32 number, input[idx++] = ar[i]; len++; } - /* set number of bytes for integer and update index value */ + /* jump back to beginning of input buffer using unaltered inOutIdx value + * and set number of bytes for integer, then update the index value */ input[*inOutIdx + 1] = (byte)len; *inOutIdx = idx;