mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Rename rsa_public_blob_len to mention SSH-1.
It's yet another function with an outdatedly vague name.
This commit is contained in:
parent
ae3863679d
commit
ff11e10d62
@ -1073,7 +1073,7 @@ int pageant_add_keyfile(Filename *filename, const char *passphrase,
|
||||
}
|
||||
/* Now skip over public blob */
|
||||
if (type == SSH_KEYTYPE_SSH1) {
|
||||
int n = rsa_public_blob_len(p, keylistlen);
|
||||
int n = rsa_ssh1_public_blob_len(p, keylistlen);
|
||||
if (n < 0) {
|
||||
*retstr = dupstr("Received broken key list from agent");
|
||||
sfree(keylist);
|
||||
|
2
ssh.h
2
ssh.h
@ -196,7 +196,7 @@ char *rsa_ssh1_fingerprint(struct RSAKey *key);
|
||||
int rsa_verify(struct RSAKey *key);
|
||||
void rsa_ssh1_public_blob(BinarySink *bs, struct RSAKey *key,
|
||||
RsaSsh1Order order);
|
||||
int rsa_public_blob_len(void *data, int maxlen);
|
||||
int rsa_ssh1_public_blob_len(void *data, int maxlen);
|
||||
void freersakey(struct RSAKey *key);
|
||||
|
||||
typedef uint32 word32;
|
||||
|
4
sshrsa.c
4
sshrsa.c
@ -441,8 +441,8 @@ void rsa_ssh1_public_blob(BinarySink *bs, struct RSAKey *key,
|
||||
}
|
||||
}
|
||||
|
||||
/* Given a public blob, determine its length. */
|
||||
int rsa_public_blob_len(void *data, int maxlen)
|
||||
/* Given an SSH-1 public key blob, determine its length. */
|
||||
int rsa_ssh1_public_blob_len(void *data, int maxlen)
|
||||
{
|
||||
BinarySource src[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user