Fix a problem if CFLAGS is too long cversion.c fails to compile when config
[openssl.git] / crypto / opensslv.h
index e63b275e46f495338ab69d68f6b9a1d15c74d70c..22b87f9d571b64a079f9c6dc3e0d12056b32d65f 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef HEADER_OPENSSLV_H
 #define HEADER_OPENSSLV_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 /* Numeric release version identifier:
  * MNNFFPPS: major minor fix patch status
  * The status nibble has one of the values 0 for development, 1 to e for betas
  * (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
  *  major minor fix final patch/beta)
  */
-#define OPENSSL_VERSION_NUMBER 0x00908000L
-#define OPENSSL_VERSION_TEXT   "OpenSSL 0.9.8-dev XX xxx XXXX"
+#define OPENSSL_VERSION_NUMBER 0x10100000L
+#ifdef OPENSSL_FIPS
+#define OPENSSL_VERSION_TEXT   "OpenSSL 1.1.0-fips-dev xx XXX xxxx"
+#else
+#define OPENSSL_VERSION_TEXT   "OpenSSL 1.1.0-dev xx XXX xxxx"
+#endif
 #define OPENSSL_VERSION_PTEXT  " part of " OPENSSL_VERSION_TEXT
 
 
  * should only keep the versions that are binary compatible with the current.
  */
 #define SHLIB_VERSION_HISTORY ""
-#define SHLIB_VERSION_NUMBER "0.9.8"
+#define SHLIB_VERSION_NUMBER "1.1.0"
 
 
+#ifdef  __cplusplus
+}
+#endif
 #endif /* HEADER_OPENSSLV_H */