From: Mark Wooding Date: Wed, 26 Apr 2017 10:53:05 +0000 (+0100) Subject: site.c: Cope with failure of transform `setkey' method. X-Git-Tag: v0.4.4~22 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6f0c71c532c29b8900ce4cdd85efcedd020badbd;hp=6f0c71c532c29b8900ce4cdd85efcedd020badbd;p=secnet.git site.c: Cope with failure of transform `setkey' method. The `setkey' method can fail, and indicates this by returning False. Indeed, the `serpent-cbc256' transform will fail if the shared secret it's given is too short. Change `set_new_transform' and its callers to propagate failures properly. Signed-off-by: Mark Wooding ---