fix switch statement for crypt-signedsession