diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-26 16:43:10 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-26 16:43:10 +0000 |
commit | a9be3af5ad4836f7e50f0546311ca90c717b861e (patch) | |
tree | f44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/dh | |
parent | 47339f6179fbefafc793c10b0411ed0365497d65 (diff) |
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh.h | 20 | ||||
-rw-r--r-- | crypto/dh/dhtest.c | 5 |
2 files changed, 0 insertions, 25 deletions
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" |