X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fgendh.c;h=b3c19581d350370dc6df0a80ece47dec90ab6d08;hb=7e701817234ff2be2a745fc63f32ccb5e874854c;hp=8900b4f1af349c3bd66ac2bae31c2595a3352f75;hpb=6b691a5c85ddc4e407e32781841fee5c029506cd;p=oweals%2Fopenssl.git diff --git a/apps/gendh.c b/apps/gendh.c index 8900b4f1af..b3c19581d3 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -56,31 +56,26 @@ * [including the GNU Public Licence.] */ +#ifndef NO_DH #include #include #include #include #include "apps.h" -#include "bio.h" -#include "rand.h" -#include "err.h" -#include "bn.h" -#include "dh.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include #define DEFBITS 512 #undef PROG #define PROG gendh_main -#ifndef NOPROTO static void MS_CALLBACK dh_cb(int p, int n, char *arg); static long dh_load_rand(char *names); -#else -static void MS_CALLBACK dh_cb(); -static long dh_load_rand(); -#endif - int MAIN(int argc, char **argv) { char buffer[200]; @@ -225,5 +220,4 @@ static long dh_load_rand(char *name) } return(tot); } - - +#endif