aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2019-01-05 13:40:34 -0800
committerDoug Hogan <[email protected]>2019-01-08 01:11:59 -0800
commit5f8f5ea331fac053ae6ffeaa50dc3cf816cc3074 (patch)
tree49f507bfe47e7b64e2cb51175afbf8e74d8a5972
parent3db8a92c7ebb057574b65ac7ce041319da5d59a0 (diff)
downloadotp-5f8f5ea331fac053ae6ffeaa50dc3cf816cc3074.tar.gz
otp-5f8f5ea331fac053ae6ffeaa50dc3cf816cc3074.tar.bz2
otp-5f8f5ea331fac053ae6ffeaa50dc3cf816cc3074.zip
Revamp test_key_load()
-rw-r--r--lib/crypto/c_src/otp_test_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c
index 014a1055c4..3b228b8663 100644
--- a/lib/crypto/c_src/otp_test_engine.c
+++ b/lib/crypto/c_src/otp_test_engine.c
@@ -324,7 +324,7 @@ EVP_PKEY* test_key_load(ENGINE *eng, const char *id, UI_METHOD *ui_method, void
fprintf(stderr, "Contents of file \"%s\":\r\n",id);
f = fopen(id, "r");
{ /* Print the contents of the key file */
- char c;
+ int c;
while (!feof(f)) {
switch (c=fgetc(f)) {
case '\n':