format strings
diff --git a/MacOS/GetHTTPS.src/GetHTTPS.cpp b/MacOS/GetHTTPS.src/GetHTTPS.cpp
index d62dc50..3a5e3f0 100644
--- a/MacOS/GetHTTPS.src/GetHTTPS.cpp
+++ b/MacOS/GetHTTPS.src/GetHTTPS.cpp
@@ -167,7 +167,7 @@
 		
 		tempString[bytesRead] = '\0';
 		
-		printf(tempString);
+		printf("%s", tempString);
 	}
 	
 	printf("\n\n\n");
@@ -201,7 +201,7 @@
 	{
 		printf("An error occurred:\n");
 		
-		printf(GetErrorMessage());
+		printf("%s",GetErrorMessage());
 	}
 	
 	
diff --git a/apps/ca.c b/apps/ca.c
index 9c7bac3..567ef47 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -479,7 +479,7 @@
 	if (badops)
 		{
 		for (pp=ca_usage; (*pp != NULL); pp++)
-			BIO_printf(bio_err,*pp);
+			BIO_printf(bio_err,"%s",*pp);
 		goto err;
 		}
 
diff --git a/apps/ciphers.c b/apps/ciphers.c
index b6e2f96..6be7671 100644
--- a/apps/ciphers.c
+++ b/apps/ciphers.c
@@ -150,7 +150,7 @@
 	if (badops)
 		{
 		for (pp=ciphers_usage; (*pp != NULL); pp++)
-			BIO_printf(bio_err,*pp);
+			BIO_printf(bio_err,"%s",*pp);
 		goto end;
 		}
 
diff --git a/apps/crl.c b/apps/crl.c
index 3b5725f..666a857 100644
--- a/apps/crl.c
+++ b/apps/crl.c
@@ -214,7 +214,7 @@
 		{
 bad:
 		for (pp=crl_usage; (*pp != NULL); pp++)
-			BIO_printf(bio_err,*pp);
+			BIO_printf(bio_err,"%s",*pp);
 		goto end;
 		}
 
diff --git a/apps/sess_id.c b/apps/sess_id.c
index 60cc3f1..eb40aa6 100644
--- a/apps/sess_id.c
+++ b/apps/sess_id.c
@@ -156,7 +156,7 @@
 		{
 bad:
 		for (pp=sess_id_usage; (*pp != NULL); pp++)
-			BIO_printf(bio_err,*pp);
+			BIO_printf(bio_err,"%s",*pp);
 		goto end;
 		}
 
diff --git a/apps/x509.c b/apps/x509.c
index 9422e1d..af3843b 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -435,7 +435,7 @@
 		{
 bad:
 		for (pp=x509_usage; (*pp != NULL); pp++)
-			BIO_printf(bio_err,*pp);
+			BIO_printf(bio_err,"%s",*pp);
 		goto end;
 		}
 
diff --git a/crypto/rc4/rc4.c b/crypto/rc4/rc4.c
index 709b7af..bfb0a3c 100644
--- a/crypto/rc4/rc4.c
+++ b/crypto/rc4/rc4.c
@@ -113,7 +113,7 @@
 		{
 bad:
 		for (pp=usage; (*pp != NULL); pp++)
-			fprintf(stderr,*pp);
+			fprintf(stderr,"%s",*pp);
 		exit(1);
 		}
 
diff --git a/demos/tunala/tunala.c b/demos/tunala/tunala.c
index 75d312e..9c3ff59 100644
--- a/demos/tunala/tunala.c
+++ b/demos/tunala/tunala.c
@@ -186,14 +186,13 @@
 
 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;
 }