]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: sshkey_ec_validate_public: zap trailing blank I missed on
authortb@openbsd.org <tb@openbsd.org>
Fri, 7 Nov 2025 06:29:45 +0000 (06:29 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 13 Nov 2025 04:57:13 +0000 (15:57 +1100)
review

OpenBSD-Commit-ID: b296bd6056f33fd567ca0d5e9123dac1ec00f037

sshkey.c

index 6e47362fcc378d373932f21cd62be9349f5d7f8b..e9a287480a1be4e41a489b976e5fca4dcb5fb0cc 100644 (file)
--- a/sshkey.c
+++ b/sshkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.c,v 1.156 2025/11/07 04:11:59 djm Exp $ */
+/* $OpenBSD: sshkey.c,v 1.157 2025/11/07 06:29:45 tb Exp $ */
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2008 Alexander von Gernler.  All rights reserved.
@@ -2696,7 +2696,7 @@ sshkey_ec_validate_public(const EC_GROUP *group, const EC_POINT *public)
        /*
         * Verify nQ == infinity (n == order of subgroup)
         * This check may be skipped for curves with cofactor 1, as per
-        * NIST SP 800-56A, 5.6.2.3. 
+        * NIST SP 800-56A, 5.6.2.3.
         */
        if (!BN_is_one(cofactor)) {
                if ((order = BN_new()) == NULL) {