fixes #14084 -- Fix IndexError when loading malformed ECDSA SSH key with empty point (#14085)

When parsing an SSH ECDSA public key with empty point data, the code
was accessing point[0] without first checking if the point is empty,
causing an IndexError. This change adds a check for empty point data
before accessing point[0], raising a ValueError instead.

Co-authored-by: Claude <noreply@anthropic.com>
2 files changed