*** Submitted as
http://code.google.com/p/go/source/detail?r=9ef24096faf2 ***
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.
R=agl, agl
CC=golang-dev
http://codereview.appspot.com/6820114
http://codereview.appspot.com/6820114/