@@ -67,7 +67,7 @@ func main() {
if err != nil {
fmt.Fprintf(os.Stderr, "Decrypt err: %v\n", err)
}
- fmt.Fprintf(os.Stdout, "\n\nAS REP decrypted with password: %+v\n", r)
+ fmt.Fprintf(os.Stdout, "\nAS REP decrypted with passwd: %+v\n", r)
@@ -246,7 +246,7 @@ func TestUnmarshalASRepDecodeAndDecrypt(t *testing.T) {
t.Fatalf("keytab parse error: %v\n", err)
- err = asRep.DecryptEncPart(kt)
+ err = asRep.DecryptEncPartWithKeytab(kt)
t.Fatalf("Decryption of AS_REP EncPart failed: %v", err)