Skip to content

Commit 5c5873e

Browse files
authored
fix type annotation for load_ssh_public_identity (#13015)
looks like new mypy (#13013) notices its wrong
1 parent cae8bee commit 5c5873e

File tree

1 file changed

+1
-1
lines changed
  • src/cryptography/hazmat/primitives/serialization

1 file changed

+1
-1
lines changed

src/cryptography/hazmat/primitives/serialization/ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def _load_ssh_public_identity(
11241124

11251125

11261126
def load_ssh_public_identity(
1127-
data: bytes,
1127+
data: utils.Buffer,
11281128
) -> SSHCertificate | SSHPublicKeyTypes:
11291129
return _load_ssh_public_identity(data)
11301130

0 commit comments

Comments
 (0)