/* If no = or starts with [ (for [L=20] line) just copy */
if (!p)
{
- if (!fputs(olinebuf, out))
+ if (fputs(olinebuf, out) < 0)
goto error;
continue;
}
if (!rsa_test(out, in))
{
- fprintf(stderr, "FATAL RSAVTEST file processing error\n");
+ fprintf(stderr, "FATAL RSAGTEST file processing error\n");
goto end;
}
else
/* If no = or starts with [ (for [foo = bar] line) just copy */
if (!p || *keyword=='[')
{
- if (!fputs(olinebuf, out))
+ if (fputs(olinebuf, out) < 0)
goto error;
continue;
}
if (!rsa_stest(out, in, Saltlen))
{
- fprintf(stderr, "FATAL RSAVTEST file processing error\n");
+ fprintf(stderr, "FATAL RSASTEST file processing error\n");
goto end;
}
else
/* If no = just copy */
if (!p)
{
- if (!fputs(olinebuf, out))
+ if (fputs(olinebuf, out) < 0)
goto error;
continue;
}
/* If no = or starts with [ (for [foo = bar] line) just copy */
if (!p || *keyword=='[')
{
- if (!fputs(olinebuf, out))
+ if (fputs(olinebuf, out) < 0)
goto error;
continue;
}