summaryrefslogtreecommitdiffstats
path: root/include/openssl/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/dh.h')
-rw-r--r--include/openssl/dh.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/openssl/dh.h b/include/openssl/dh.h
index 852aeaf757..beb0f9f80c 100644
--- a/include/openssl/dh.h
+++ b/include/openssl/dh.h
@@ -287,6 +287,7 @@ int DH_meth_set_generate_params(DH_METHOD *dhm,
* 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.
*/
+
void ERR_load_DH_strings(void);
/* Error codes for the DH functions. */
@@ -309,7 +310,6 @@ void ERR_load_DH_strings(void);
# define DH_F_DH_PUB_ENCODE 109
# define DH_F_DO_DH_PRINT 100
# define DH_F_GENERATE_KEY 103
-# define DH_F_GENERATE_PARAMETERS 104
# define DH_F_PKEY_DH_DERIVE 112
# define DH_F_PKEY_DH_KEYGEN 113
@@ -321,7 +321,6 @@ void ERR_load_DH_strings(void);
# define DH_R_INVALID_PUBKEY 102
# define DH_R_KDF_PARAMETER_ERROR 112
# define DH_R_KEYS_NOT_SET 108
-# define DH_R_KEY_SIZE_TOO_SMALL 110
# define DH_R_MODULUS_TOO_LARGE 103
# define DH_R_NO_PARAMETERS_SET 107
# define DH_R_NO_PRIVATE_VALUE 100
@@ -329,9 +328,8 @@ void ERR_load_DH_strings(void);
# define DH_R_PEER_KEY_ERROR 111
# define DH_R_SHARED_INFO_ERROR 113
-# ifdef __cplusplus
+# ifdef __cplusplus
}
+# endif
# endif
-# endif
-
#endif