forked from wolfSSL/wolfssl
examples/asn1/asn1.c: remove now-redundant fclose(fp) in asn1App_ReadFile() (which also was incorrectly closing stdin). see #6905.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user