Reviewers: agl,
Message:
Hello [email protected] (cc: [email protected]),
I'd like you to review this change to
https://go.googlecode.com/hg/
Description:
crypto/x509: implement EncryptPEMBlock
Arbitrary decisions: order of the arguments and the
fact it takes a block-type argument (rather than
leaving to user to fill it in later); I'm happy whatever
colour we want to paint it.
We also change DecryptPEMBlock so that it won't
panic when the IV has the wrong size.
Please review this at http://codereview.appspot.com/6820114/
Affected files:
M src/pkg/crypto/x509/pem_decrypt.go
M src/pkg/crypto/x509/pem_decrypt_test.go