Fix for issue #509. Check symmetric key length once decrypted, to make sure it is the same size as expected.
Fix for issue #509. Check symmetric key length once decrypted, to make sure it is the same size as expected.

git-svn-id: a243b28a2a52d65555a829a95c8c333076d39ae1@3145 44740490-163a-0410-bde0-09ae8108e29a

jschlyter/simplesamlphp,jschlyter/simplesamlphp,Kunstmaan/simplesamlphp,maytechnet/simplesamlphp,sylvainmed/simplesamlphp,dnmvisser/simplesamlphp,sylvainmed/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,grnet/simplesamlphp,dialogik/simplesamlphp,simplesamlphp/simplesamlphp,madmatt/simplesamlphp,sitya/simplesamlphp,jschlyter/simplesamlphp,jschlyter/simplesamlphp,madmatt/simplesamlphp,grnet/simplesamlphp,dialogik/simplesamlphp,Kunstmaan/simplesamlphp,gtkrug/simplesamlphp,girgen/simplesamlphp,shoaibali/simplesamlphp,dialogik/simplesamlphp,dzuelke/simplesamlphp,dnmvisser/simplesamlphp,sitya/simplesamlphp,sylvainmed/simplesamlphp,dialogik/simplesamlphp,dialogik/simplesamlphp,madmatt/simplesamlphp,gtkrug/simplesamlphp,dzuelke/simplesamlphp,jschlyter/simplesamlphp,grnet/simplesamlphp,grnet/simplesamlphp,girgen/simplesamlphp,girgen/simplesamlphp,Kunstmaan/simplesamlphp,shoaibali/simplesamlphp,girgen/simplesamlphp,sitya/simplesamlphp,maytechnet/simplesamlphp,sitya/simplesamlphp,gtkrug/simplesamlphp,BrettMerrick/simplesamlphp,simplesamlphp/simplesamlphp,madmatt/simplesamlphp,Kunstmaan/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,cwaldbieser/simplesamlphp,maytechnet/simplesamlphp,maytechnet/simplesamlphp,girgen/simplesamlphp,gtkrug/simplesamlphp,sylvainmed/simplesamlphp,cwaldbieser/simplesamlphp,shoaibali/simplesamlphp,BrettMerrick/simplesamlphp,shoaibali/simplesamlphp,dzuelke/simplesamlphp,dzuelke/simplesamlphp,cwaldbieser/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,ghalse/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,BrettMerrick/simplesamlphp,simplesamlphp/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,ghalse/simplesamlphp,cwaldbieser/simplesamlphp,BrettMerrick/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp