Extended master secret fixes and checks.
[openssl.git] / apps / rsautl.c
index 0ef61050cb818c839f94d19057bb5289127fd636..5d6bdc024225ba6ce165f8338a8999d678a1f9c0 100644 (file)
@@ -248,10 +248,10 @@ int rsautl_main(int argc, char **argv)
         goto end;
     }
 
-    in = bio_open_default(infile, "rb");
+    in = bio_open_default(infile, 'r', FORMAT_BINARY);
     if (in == NULL)
         goto end;
-    out = bio_open_default(outfile, "wb");
+    out = bio_open_default(outfile, 'w', FORMAT_BINARY);
     if (out == NULL)
         goto end;