spelling: valid

This commit is contained in:
Josh Soref 2018-03-14 03:28:00 +00:00
parent 33f90d7783
commit b81672c906
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func processPrivateKeyFile(privateKeyFile, passphrase string) ([]byte, error) {
PEMBlock, _ := pem.Decode(rawPrivateKeyBytes) PEMBlock, _ := pem.Decode(rawPrivateKeyBytes)
if PEMBlock == nil { if PEMBlock == nil {
return nil, fmt.Errorf( return nil, fmt.Errorf(
"%s does not contain a vaild private key", privateKeyFile) "%s does not contain a valid private key", privateKeyFile)
} }
if x509.IsEncryptedPEMBlock(PEMBlock) { if x509.IsEncryptedPEMBlock(PEMBlock) {