Commit 5cf37957 authored by Rich Salz's avatar Rich Salz
Browse files

RT3543: Remove #ifdef LINT



I also replaced some exit/return wrappers in various
programs (from main) to standardize on return.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent a4a93411
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -560,9 +560,6 @@ static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
	if (p == 3) c='\n';
	BIO_write(BN_GENCB_get_arg(cb),&c,1);
	(void)BIO_flush(BN_GENCB_get_arg(cb));
#ifdef LINT
	p=n;
#endif
	return 1;
	}

+0 −3
Original line number Diff line number Diff line
@@ -482,9 +482,6 @@ static int MS_CALLBACK dsa_cb(int p, int n, BN_GENCB *cb)
	if (p == 3) c='\n';
	BIO_write(BN_GENCB_get_arg(cb),&c,1);
	(void)BIO_flush(BN_GENCB_get_arg(cb));
#ifdef LINT
	p=n;
#endif
#ifdef GENCB_TEST
	if(stop_keygen_flag)
		return 0;
+0 −3
Original line number Diff line number Diff line
@@ -233,9 +233,6 @@ static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
	if (p == 3) c='\n';
	BIO_write(BN_GENCB_get_arg(cb),&c,1);
	(void)BIO_flush(BN_GENCB_get_arg(cb));
#ifdef LINT
	p=n;
#endif
	return 1;
	}
#else /* !OPENSSL_NO_DH */
+0 −3
Original line number Diff line number Diff line
@@ -433,8 +433,5 @@ static int genpkey_cb(EVP_PKEY_CTX *ctx)
	if (p == 3) c='\n';
	BIO_write(b,&c,1);
	(void)BIO_flush(b);
#ifdef LINT
	p=n;
#endif
	return 1;
	}
+0 −3
Original line number Diff line number Diff line
@@ -327,9 +327,6 @@ static int MS_CALLBACK genrsa_cb(int p, int n, BN_GENCB *cb)
	if (p == 3) c='\n';
	BIO_write(BN_GENCB_get_arg(cb),&c,1);
	(void)BIO_flush(BN_GENCB_get_arg(cb));
#ifdef LINT
	p=n;
#endif
	return 1;
	}
#else /* !OPENSSL_NO_RSA */
Loading