Integrated: 8327182: Move serverAlias into the loop

John Jiang jjiang at openjdk.org
Tue Mar 19 02:06:27 UTC 2024


On Mon, 4 Mar 2024 03:58:18 GMT, John Jiang <jjiang at openjdk.org> wrote:

> In method `X509Authentication::createServerPossession`, it looks unnecessary to define variable `serverAlias` out of the for-loop.
> It may be better to move `serverAlias` into that loop to narrow down the scope.

This pull request has now been integrated.

Changeset: 9059727d
Author:    John Jiang <jjiang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9059727df135dc90311bd476124f090b5766092b
Stats:     2 lines in 1 file changed: 1 ins; 1 del; 0 mod

8327182: Move serverAlias into the loop

Reviewed-by: gli, mullan

-------------

PR: https://git.openjdk.org/jdk/pull/18100



More information about the security-dev mailing list