Ver Fonte

Merge pull request #3241 from karalabe/fix-pgp-signer

internal/build: call correct signer method
Péter Szilágyi há 9 anos atrás
pai
commit
6707f70b4a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      internal/build/pgp.go

+ 1 - 1
internal/build/pgp.go

@@ -54,5 +54,5 @@ func PGPSignFile(input string, output string, pgpkey string) error {
 	defer out.Close()
 
 	// Generate the signature and return
-	return openpgp.ArmoredDetachSignText(out, keys[0], in, nil)
+	return openpgp.ArmoredDetachSign(out, keys[0], in, nil)
 }