simmon / certmonger

Forked from certmonger 2 years ago
Clone

63d5470 Don't allow unitialized value in a conditional

Authored and Committed by rcritten 3 years ago
    Don't allow unitialized value in a conditional
    
    If newcert is NULL then error is undefined (probably 0) which could
    lead to the code thinking the certificate imported.
    
    If the certificate wasn't decoded then set error to SECFailure
    
        
file modified
+2 -0