Don't complain if we receive the cryptopro extension in the ClientHello
[openssl.git] / include / openssl / dherr.h
index f225cc392b5eb4db5d71054d497abc8aa4fb348f..81e73f75c07d4e9e858cf9be8bb249f7d2353b25 100644 (file)
 # ifndef OPENSSL_NO_DH
 
 #  ifdef  __cplusplus
-extern "C" {
+extern "C"
 #  endif
 int ERR_load_DH_strings(void);
-#  ifdef  __cplusplus
-}
-#  endif
 
 /*
  * DH function codes.
@@ -50,6 +47,7 @@ int ERR_load_DH_strings(void);
 #  define DH_F_GENERATE_KEY                                103
 #  define DH_F_PKEY_DH_CTRL_STR                            120
 #  define DH_F_PKEY_DH_DERIVE                              112
+#  define DH_F_PKEY_DH_INIT                                125
 #  define DH_F_PKEY_DH_KEYGEN                              113
 
 /*