diff options
Diffstat (limited to 'lib/ASN1.c')
-rw-r--r-- | lib/ASN1.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2384,6 +2384,7 @@ _asn1_yylex() { int c,counter=0,k,lastc; char string[ASN1_MAX_NAME_SIZE+1]; /* will contain the next token */ + size_t i; while(1) { @@ -2450,8 +2451,8 @@ _asn1_yylex() } /* Is STRING a keyword? */ - for(k=0;k<(sizeof(key_word)/sizeof(char*));k++) - if(!strcmp(string,key_word[k])) return key_word_token[k]; + for(i=0;i<(sizeof(key_word)/sizeof(char*));i++) + if(!strcmp(string,key_word[i])) return key_word_token[i]; /* STRING is an IDENTIFIER */ strcpy(yylval.str,string); |