]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
pkcs11: Fix comment
authorTobias Brunner <tobias@strongswan.org>
Fri, 17 Oct 2025 15:16:32 +0000 (17:16 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 17 Oct 2025 15:20:13 +0000 (17:20 +0200)
Fixes: e9fa338e23cf ("pkcs11: Improve detection of already unwrapped CKA_EC_POINTs")
src/libstrongswan/plugins/pkcs11/pkcs11_library.c

index 7eff794400596d864db92b6e3de3f98cddf8f566..865173133e2e07730ba78dd21a6799ebff7faba6 100644 (file)
@@ -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;