Hi Brian, On 05/07, Brian Gix wrote: > + fd = open(key_file, O_WRONLY | O_CREAT | O_TRUNC); > + if (fd) { I think these should check for fd >= 0 regards -- Michał Lowas-Rzechonek <michal.lowas-rzechonek@xxxxxxxxxxx> Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND