From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Library:LibreSSL" |
|---|
| claim | "LibreSSL's opensslv.h defines LIBRESSL_VERSION_NUMBER (0x4040000f for 4.4.0), LIBRESSL_VERSION_TEXT "LibreSSL 4.4.0", OPENSSL_VERSION_NUMBER pinned to 0x20000000L, OPENSSL_VERSION_TEXT equal to the LibreSSL text and SHLIB_VERSION_NUMBER "1.0.0". These are macros: the library binary contains only the text "LibreSSL x.y.z" (returned by SSLeay_version(SSLEAY_VERSION), the exact release) and the constant 0x20000000 returned by SSLeay(); LIBRESSL_VERSION_NUMBER appears in a binary only if an application reads it, and the plain immediate 0x20000000 is weak on its own. SSLeay_version's other answers are "built on: date not available", "compiler: information not available", "platform: information not available"." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:LibreSSL" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "version text; constant returned by SSLeay()" |
|---|
| indicator | ""LibreSSL x.y.z"; 0x20000000 returned by SSLeay()" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "opensslv.h macros" |
|---|
| repo | "https://github.com/libressl/openbsd" |
|---|
| commit | "bc9483725c5815efb64b6d9acc52fc5fba139212" |
|---|
| path | "src/lib/libcrypto/opensslv.h" |
|---|
| lines | "6-16" |
|---|
|
| type | "source" |
|---|
| detail | "SSLeay_version returns OPENSSL_VERSION_TEXT" |
|---|
| repo | "https://github.com/libressl/openbsd" |
|---|
| commit | "bc9483725c5815efb64b6d9acc52fc5fba139212" |
|---|
| path | "src/lib/libcrypto/crypto_legacy.c" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Version macros" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T15:11:11.349Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:49:31.335Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read opensslv.h and crypto_legacy.c at the cited commit: LIBRESSL_VERSION_NUMBER 0x4040000f, text "LibreSSL 4.4.0", OPENSSL_VERSION_NUMBER 0x20000000L, SHLIB_VERSION_NUMBER "1.0.0"; SSLeay_version returns OPENSSL_VERSION_TEXT and the three 'not available' strings as the claim says." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:39:14.132Z" |
|---|
| summary | "The macros LIBRESSL_VERSION_NUMBER and OPENSSL_VERSION_NUMBER are header-only; clarify what is in the library: the LibreSSL x.y.z text and the SSLeay() constant." |
|---|
| changed | |
|---|
|
|
|---|