From 7c74925fa15e03b5d90b6fc37ef624d498928287 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 17 Oct 2025 17:16:32 +0200 Subject: [PATCH] pkcs11: Fix comment Fixes: e9fa338e23cf ("pkcs11: Improve detection of already unwrapped CKA_EC_POINTs") --- src/libstrongswan/plugins/pkcs11/pkcs11_library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_library.c b/src/libstrongswan/plugins/pkcs11/pkcs11_library.c index 7eff79440..865173133 100644 --- a/src/libstrongswan/plugins/pkcs11/pkcs11_library.c +++ b/src/libstrongswan/plugins/pkcs11/pkcs11_library.c @@ -686,7 +686,7 @@ static inline bool valid_ec_point_type_and_len(u_char type, size_t len) /* fall-through */ case 0x02: case 0x03: - /* uncompressed points */ + /* compressed points */ return len > min_len && (len % min_multiple) == 0; default: return FALSE;