From b7538ca165c084d9a7f603d941087804600e0e7d Mon Sep 17 00:00:00 2001 From: hanez Date: Thu, 19 Feb 2026 23:41:34 +0100 Subject: [PATCH] Some unicode fixes in docs/. No code changes. (0.38.16) --- docs/build.md | 6 ++++-- docs/external/README.md | 2 +- docs/external/libressl.md | 2 +- docs/external/openssl.md | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/build.md b/docs/build.md index 2d70544..04c45a0 100644 --- a/docs/build.md +++ b/docs/build.md @@ -23,7 +23,7 @@ Fun exposes several options you can toggle at configure time: - `FUN_WITH_CPP` (ON/OFF) - Enable C++-based opcode/examples support - `FUN_WITH_RUST` (ON/OFF) - Build and link Rust staticlib from `src/rust/` - `FUN_WITH_OPENSSL` (ON/OFF) - Enable OpenSSL-backed helpers (MD5/SHA-256/SHA-512/RIPEMD-160) - - `FUN_WITH_LIBRESSL` (ON/OFF) - Enable LibreSSL-backed helpers (MD5/SHA-256/SHA-512/RIPEMD-160) +- `FUN_WITH_LIBRESSL` (ON/OFF) - Enable LibreSSL-backed helpers (MD5/SHA-256/SHA-512/RIPEMD-160) When configuring, the build prints a summary like: @@ -62,7 +62,9 @@ cmake --build build_release --target build If `FUN_WITH_RUST` is enabled, ensure `cargo` is available in PATH; the build will invoke it and link the produced static library. -If `FUN_WITH_OPENSSL` is enabled, CMake must detect your system OpenSSL (libcrypto). If `FUN_WITH_LIBRESSL` is enabled, CMake detects LibreSSL directly (via pkg-config or standard include/lib locations) and links to LibreSSL’s `libcrypto` — no OpenSSL installation is required. Both extensions use the EVP interface. Note: On OpenSSL 3.x, RIPEMD-160 may require the legacy provider; if unavailable, the helper returns an empty string. +If `FUN_WITH_OPENSSL` is enabled, CMake must detect your system OpenSSL (libcrypto). + +If `FUN_WITH_LIBRESSL` is enabled, CMake detects LibreSSL directly (via pkg-config or standard include/lib locations) and links to LibreSSL's `libcrypto` — no OpenSSL installation is required. Both extensions use the EVP interface. Note: On OpenSSL 3.x, RIPEMD-160 may require the legacy provider; if unavailable, the helper returns an empty string. ## Running - CLI: run the `fun` executable from your build directory. diff --git a/docs/external/README.md b/docs/external/README.md index 8a78aa7..5219cbd 100644 --- a/docs/external/README.md +++ b/docs/external/README.md @@ -1,6 +1,6 @@ # External integrations (optional extensions) -This section documents Fun’s optional, build‑time selectable extensions. Each page covers: +This section documents Fun's optional, build-time selectable extensions. Each page covers: - How to enable the extension via CMake option (FUN_WITH_*) - Build requirements and detection notes - Available opcodes and/or helper functions diff --git a/docs/external/libressl.md b/docs/external/libressl.md index 5751a0e..388c69a 100644 --- a/docs/external/libressl.md +++ b/docs/external/libressl.md @@ -1,7 +1,7 @@ # LibreSSL extension (optional) - CMake option: FUN_WITH_LIBRESSL=ON -- Purpose: provide small crypto helpers backed by LibreSSL’s libcrypto. Includes md5, sha256, sha512, ripemd160 helpers under libressl_* names. +- Purpose: provide small crypto helpers backed by LibreSSL's libcrypto. Includes md5, sha256, sha512, ripemd160 helpers under libressl_* names. - Homepage: https://www.libressl.org/ ## Build notes: diff --git a/docs/external/openssl.md b/docs/external/openssl.md index c0a732b..f56a3ce 100644 --- a/docs/external/openssl.md +++ b/docs/external/openssl.md @@ -40,4 +40,4 @@ ## Notes: -- The OpenSSL 3.x provider configuration on your system determines availability of RIPEMD‑160. If the legacy provider is not enabled, openssl_ripemd160() will return an empty string. +- The OpenSSL 3.x provider configuration on your system determines availability of RIPEMD-160. If the legacy provider is not enabled, openssl_ripemd160() will return an empty string.