Descriptioncrypto/x509: fix DecryptPEMBlock
The current implement can fail when the
block size is not a multiple of 8 bytes.
This CL makes it work, and also checks that the
data is in fact a multiple of the block size.
Patch Set 1 #Patch Set 2 : diff -r 57f70857cf91 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 57f70857cf91 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 25dcee3d220c https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 25dcee3d220c https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|