The opened FILE pointer needs to be closed on error paths. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
This allow the PKCS #1 and RSA implementation to be validated against the test vectors from http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zip and http://csrc.nist.gov/groups/STM/cavp/documents/dss/SigVer15EMTest.txt. Signed-off-by: Jouni Malinen <j@w1.fi>