From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Library:OpenSSL" |
|---|
| claim | "Since 3.0 OPENSSL_VERSION_NUMBER is synthesized as (major<<28)|(minor<<20)|(patch<<4), layout 0xMNN00PP0L; e.g. 3.0.13 is 0x300000D0. Immediates compared against OpenSSL_version_num() in application code decode with this layout." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:OpenSSL" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "constant decoding" |
|---|
| indicator | "0xMNN00PP0 (3.x and later)" |
|---|
| table | "major<<28 | minor<<20 | patch<<4" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "the macro definition and its comment" |
|---|
| repo | "https://github.com/openssl/openssl" |
|---|
| commit | "6d76833d61fad07a171219d9cb1444bc37f88b8f" |
|---|
| path | "include/openssl/opensslv.h.in" |
|---|
| lines | "112-118" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "OPENSSL_VERSION_NUMBER layout" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T04:49:51.051Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:38:47.946Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read include/openssl/opensslv.h.in at the cited commit: OPENSSL_VERSION_NUMBER = (MAJOR<<28)|(MINOR<<20)|(PATCH<<4)|0x0L; 3.0.13 gives 0x300000D0." |
|---|
|
|
|---|