simmon / certmonger

Forked from certmonger 2 years ago
Clone

1a65ed4 Don't forget to close the output file structure

Authored and Committed by nalin 8 years ago
1 file changed. 2 lines added. 1 lines removed.
    Don't forget to close the output file structure
    
    In our current sorting-the-CA-certs stub function, don't forget to close
    the buffered FILE that we opened for writing to the output descriptor,
    and use _exit() instead of return to avoid messing with the parent
    process's exit handlers.  Found by static analysis.
    
        
file modified
+2 -1