From 69ab7171de75da8916a3e9b4f308e88d24fe5a31 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sun, 23 Mar 2025 22:42:53 -0400 Subject: [PATCH] auth: fix return type key type is an unsigned. Signed-off-by: Patrick Donnelly (cherry picked from commit 3665599fe6a8003be8b88116f7c484bef6aba83b) --- src/auth/Crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/Crypto.h b/src/auth/Crypto.h index 7bec81aabec..b9fbe0a26a5 100644 --- a/src/auth/Crypto.h +++ b/src/auth/Crypto.h @@ -143,7 +143,7 @@ public: *this = CryptoKey(); } - int get_type() const { return type; } + unsigned get_type() const { return type; } utime_t get_created() const { return created; } void print(std::ostream& out) const; -- 2.39.5