diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-31 13:08:23 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-09 20:13:29 -0500 |
commit | effaf4dee90beff07bb40f21d81352304a5e8152 (patch) | |
tree | 4bc77d1b1998e6fac62b3a5967a223376cb47111 /apps/srp.c | |
parent | 1ffa8a9685e22a5a0ff1b1322df4d1720b05ce4c (diff) | |
download | openssl-effaf4dee90beff07bb40f21d81352304a5e8152.tar.gz |
Use NON_EMPTY_TRANSLATION_UNIT, consistently.
This also closes RT 4123
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/srp.c')
-rw-r--r-- | apps/srp.c | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/apps/srp.c b/apps/srp.c index c3e4f439fb..2c4d746f88 100644 --- a/apps/srp.c +++ b/apps/srp.c @@ -55,19 +55,22 @@ * Hudson (tjh@cryptsoft.com). * */ + #include <openssl/opensslconf.h> +#ifdef OPENSSL_NO_SRP +NON_EMPTY_TRANSLATION_UNIT +#else -#ifndef OPENSSL_NO_SRP -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <openssl/conf.h> -#include <openssl/bio.h> -#include <openssl/err.h> -#include <openssl/txt_db.h> -#include <openssl/buffer.h> -#include <openssl/srp.h> -#include "apps.h" +# include <stdio.h> +# include <stdlib.h> +# include <string.h> +# include <openssl/conf.h> +# include <openssl/bio.h> +# include <openssl/err.h> +# include <openssl/txt_db.h> +# include <openssl/buffer.h> +# include <openssl/srp.h> +# include "apps.h" # define BASE_SECTION "srp" # define CONFIG_FILE "openssl.cnf" @@ -653,11 +656,4 @@ int srp_main(int argc, char **argv) OBJ_cleanup(); return (ret); } - -#else - -# if PEDANTIC -static void *dummy = &dummy; -# endif - #endif |