examples/asn1/asn1.c: remove now-redundant fclose(fp) in asn1App_ReadFile() (which also was incorrectly closing stdin). see #6905.

pull/6941/head
Daniel Pouzzner 2023-11-02 16:14:40 -05:00
parent 8fc754515a
commit d6f37d48d6
1 changed files with 0 additions and 2 deletions

View File

@ -92,8 +92,6 @@ static int asn1App_ReadFile(FILE* fp, unsigned char** pdata, word32* plen)
/* Set data to new pointer. */
data = p;
}
/* Done with file. */
fclose(fp);
}
if (data != NULL) {