mirror of https://github.com/wolfSSL/wolfssl.git
examples/asn1/asn1.c: remove now-redundant fclose(fp) in asn1App_ReadFile() (which also was incorrectly closing stdin). see #6905.
parent
8fc754515a
commit
d6f37d48d6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue