mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-15 20:40:20 +00:00
Fix docstring for _SSHFormatSKECDSA.load_public (#11135)
Correct a small mistake from copy-pasting the docstring of
`_SSHFormatSKEd25519.load_public` as noted in
51a6dd28cc (r143361696).
This commit is contained in:
parent
b8dc9ddddc
commit
5440f1dfec
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ class _SSHFormatSKECDSA:
|
|||
def load_public(
|
||||
self, data: memoryview
|
||||
) -> tuple[ec.EllipticCurvePublicKey, memoryview]:
|
||||
"""Make Ed25519 public key from data."""
|
||||
"""Make ECDSA public key from data."""
|
||||
public_key, data = _lookup_kformat(_ECDSA_NISTP256).load_public(data)
|
||||
_, data = load_application(data)
|
||||
return public_key, data
|
||||
|
|
|
|||
Loading…
Reference in a new issue