bsed / gorilla

Automatically exported from code.google.com/p/gorilla
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[sessions] Catch block key size error in encrypt()/decrypt() #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently if encrypt()/decrypt() is called with an invalid block (a block with 
an invalid key size), it will panic.

Must catch that error and return os.Error instead. 

Original issue reported on code.google.com by rodrigo.moraes on 17 Sep 2011 at 8:23

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 3a55522fcdd7.

Original comment by rodrigo.moraes on 17 Sep 2011 at 8:40