diff --git a/lightway-core/src/tls/mod.rs b/lightway-core/src/tls/mod.rs index e0cf9f2e..845d8522 100644 --- a/lightway-core/src/tls/mod.rs +++ b/lightway-core/src/tls/mod.rs @@ -1,5 +1,9 @@ //! TLS library layer — re-exports the wolfssl crate's public API; in-tree //! code imports TLS types from here rather than from `wolfssl` directly. -pub use wolfssl::get_wolfssl_version_string as get_version_string; pub use wolfssl::*; + +/// Get version string for the TLS library that we're using +pub fn get_version_string() -> String { + format!("WolfSSL v{}", get_wolfssl_version_string()) +}