From 28ad8e591d69d27a942d56090baa744de8b7b014 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Tue, 4 Sep 2018 18:08:40 -0500 Subject: [PATCH] Adding comment for empty case in GetNameType --- wolfcrypt/src/asn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 255e8e3f2..34a8241bc 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -9466,7 +9466,9 @@ static char GetNameType(CertName* name, int idx) #else case 7: #endif - + /* FALL THROUGH */ + /* The last index, email name, does not have encoding type. + The empty case here is to keep track of it for future reference. */ default: return 0; }