tempString[bytesRead] = '\0';
- printf(tempString);
+ printf("%s", tempString);
}
printf("\n\n\n");
{
printf("An error occurred:\n");
- printf(GetErrorMessage());
+ printf("%s",GetErrorMessage());
}
if (badops)
{
for (pp=ca_usage; (*pp != NULL); pp++)
- BIO_printf(bio_err,*pp);
+ BIO_printf(bio_err,"%s",*pp);
goto err;
}
if (badops)
{
for (pp=ciphers_usage; (*pp != NULL); pp++)
- BIO_printf(bio_err,*pp);
+ BIO_printf(bio_err,"%s",*pp);
goto end;
}
{
bad:
for (pp=crl_usage; (*pp != NULL); pp++)
- BIO_printf(bio_err,*pp);
+ BIO_printf(bio_err,"%s",*pp);
goto end;
}
{
bad:
for (pp=sess_id_usage; (*pp != NULL); pp++)
- BIO_printf(bio_err,*pp);
+ BIO_printf(bio_err,"%s",*pp);
goto end;
}
{
bad:
for (pp=x509_usage; (*pp != NULL); pp++)
- BIO_printf(bio_err,*pp);
+ BIO_printf(bio_err,"%s",*pp);
goto end;
}
{
bad:
for (pp=usage; (*pp != NULL); pp++)
- fprintf(stderr,*pp);
+ fprintf(stderr,"%s",*pp);
exit(1);
}
static int err_str0(const char *str0)
{
- fprintf(stderr, str0);
- fprintf(stderr, "\n");
+ fprintf(stderr, "%s\n", str0);
return 1;
}
-static int err_str1(const char *str0, const char *str1)
+static int err_str1(const char *fmt, const char *str1)
{
- fprintf(stderr, str0, str1);
+ fprintf(stderr, fmt, str1);
fprintf(stderr, "\n");
return 1;
}