summaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/opensslv.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/opensslv.h')
-rw-r--r--crypto/openssl/crypto/opensslv.h31
1 files changed, 21 insertions, 10 deletions
diff --git a/crypto/openssl/crypto/opensslv.h b/crypto/openssl/crypto/opensslv.h
index b841347f05e8..55ec97389f6c 100644
--- a/crypto/openssl/crypto/opensslv.h
+++ b/crypto/openssl/crypto/opensslv.h
@@ -2,20 +2,31 @@
#define HEADER_OPENSSLV_H
/* Numeric release version identifier:
- * MMNNFFRBB: major minor fix final beta/patch
+ * MMNNFFPPS: major minor fix patch status
+ * The status nibble has one of the values 0 for development, 1 to e for betas
+ * 1 to 14, and f for release. The patch level is exactly that.
* For example:
* 0.9.3-dev 0x00903000
- * 0.9.3beta1 0x00903001
- * 0.9.3beta2-dev 0x00903002
- * 0.9.3beta2 0x00903002
- * 0.9.3 0x00903100
- * 0.9.3a 0x00903101
- * 0.9.4 0x00904100
- * 1.2.3z 0x1020311a
+ * 0.9.3-beta1 0x00903001
+ * 0.9.3-beta2-dev 0x00903002
+ * 0.9.3-beta2 0x00903002 (same as ...beta2-dev)
+ * 0.9.3 0x0090300f
+ * 0.9.3a 0x0090301f
+ * 0.9.4 0x0090400f
+ * 1.2.3z 0x102031af
+ *
+ * For continuity reasons (because 0.9.5 is already out, and is coded
+ * 0x00905100), between 0.9.5 and 0.9.6 the coding of the patch level
+ * part is slightly different, by setting the highest bit. This means
+ * that 0.9.5a looks like this: 0x0090581f. At 0.9.6, we can start
+ * with 0x0090600S...
+ *
* (Prior to 0.9.3-dev a different scheme was used: 0.9.2b is 0x0922.)
+ * (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
+ * major minor fix final patch/beta)
*/
-#define OPENSSL_VERSION_NUMBER 0x00904100L
-#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.4 09 Aug 1999"
+#define OPENSSL_VERSION_NUMBER 0x0090581fL
+#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.5a 1 Apr 2000"
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
#endif /* HEADER_OPENSSLV_H */