[FIX] Set the correct errorcode if pinentry crashes. [#50 state:fixed]