From a9be3af5ad4836f7e50f0546311ca90c717b861e Mon Sep 17 00:00:00 2001 From: Ulf Möller Date: Mon, 26 Apr 1999 16:43:10 +0000 Subject: Remove NOPROTO definitions and error code comments. --- crypto/dh/dh.h | 20 -------------------- crypto/dh/dhtest.c | 5 ----- 2 files changed, 25 deletions(-) (limited to 'crypto/dh') diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index c3592bd02b..3ae16f3b0c 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -104,7 +104,6 @@ typedef struct dh_st #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio(i2d_DHparams,(bp), \ (unsigned char *)(x)) -#ifndef NOPROTO DH * DH_new(void); void DH_free(DH *dh); int DH_size(DH *dh); @@ -125,25 +124,6 @@ int DHparams_print(char *bp, DH *x); #endif void ERR_load_DH_strings(void ); -#else - -DH * DH_new(); -void DH_free(); -int DH_size(); -DH * DH_generate_parameters(); -int DH_check(); -int DH_generate_key(); -int DH_compute_key(); -DH * d2i_DHparams(); -int i2d_DHparams(); -#ifndef NO_FP_API -int DHparams_print_fp(); -#endif -int DHparams_print(); -void ERR_load_DH_strings(); - -#endif - /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c index 24e361c3d7..c638e16bba 100644 --- a/crypto/dh/dhtest.c +++ b/crypto/dh/dhtest.c @@ -73,12 +73,7 @@ #define MS_CALLBACK #endif -#ifndef NOPROTO static void MS_CALLBACK cb(int p, int n, char *arg); -#else -static void MS_CALLBACK cb(); -#endif - #ifdef NO_STDIO #define APPS_WIN16 #include "bss_file.c" -- cgit v1.2.3