cluade code review changes
This commit is contained in:
@@ -65,7 +65,7 @@ func ParseEdPrivateKey(d []byte) (ed25519.PrivateKey, error) {
|
||||
case ed25519.PrivateKey:
|
||||
return pub, nil
|
||||
default:
|
||||
return nil, errors.New("key type is not RSA")
|
||||
return nil, errors.New("key type is not Ed25519")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -99,6 +99,6 @@ func ParseEdPublicKey(d []byte) (ed25519.PublicKey, error) {
|
||||
case ed25519.PublicKey:
|
||||
return pub, nil
|
||||
default:
|
||||
return nil, errors.New("key type is not RSA")
|
||||
return nil, errors.New("key type is not Ed25519")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user