Commit d58d092b authored by Bodo Möller's avatar Bodo Möller
Browse files

Avoid warnings.

parent 9d9b559e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -866,7 +866,7 @@ bad:
			if (!batch)
				{
				BIO_printf(bio_err,"\n%d out of %d certificate requests certified, commit? [y/n]",total_done,total);
				BIO_flush(bio_err);
				(void)BIO_flush(bio_err);
				buf[0][0]='\0';
				fgets(buf[0],10,stdin);
				if ((buf[0][0] != 'y') && (buf[0][0] != 'Y'))
@@ -1067,7 +1067,7 @@ bad:
					strlen(pp[DB_rev_date]));
				/* strcpy(r->revocationDate,pp[DB_rev_date]);*/

				BIO_reset(hex);
				(void)BIO_reset(hex);
				if (!BIO_puts(hex,pp[DB_serial]))
					goto err;
				if (!a2i_ASN1_INTEGER(hex,r->serialNumber,
@@ -1791,7 +1791,7 @@ again2:
	if (!batch)
		{
		BIO_printf(bio_err,"Sign the certificate? [y/n]:");
		BIO_flush(bio_err);
		(void)BIO_flush(bio_err);
		buf[0]='\0';
		fgets(buf,sizeof(buf)-1,stdin);
		if (!((buf[0] == 'y') || (buf[0] == 'Y')))
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ int MAIN(int argc, char **argv)
				}
			printf("%s(%s)= ",name,argv[i]);
			do_fp(buf,inp,separator);
			BIO_reset(bmd);
			(void)BIO_reset(bmd);
			}
		}
end:
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ static void MS_CALLBACK dsa_cb(int p, int n, char *arg)
	if (p == 2) c='*';
	if (p == 3) c='\n';
	BIO_write((BIO *)arg,&c,1);
	BIO_flush((BIO *)arg);
	(void)BIO_flush((BIO *)arg);
#ifdef LINT
	p=n;
#endif
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ static void MS_CALLBACK dh_cb(int p, int n, void *arg)
	if (p == 2) c='*';
	if (p == 3) c='\n';
	BIO_write((BIO *)arg,&c,1);
	BIO_flush((BIO *)arg);
	(void)BIO_flush((BIO *)arg);
#ifdef LINT
	p=n;
#endif
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ static void MS_CALLBACK genrsa_cb(int p, int n, void *arg)
	if (p == 2) c='*';
	if (p == 3) c='\n';
	BIO_write((BIO *)arg,&c,1);
	BIO_flush((BIO *)arg);
	(void)BIO_flush((BIO *)arg);
#ifdef LINT
	p=n;
#endif
Loading