tvaughan / certmonger

Forked from certmonger 6 years ago
Clone

48d859a Correct buffer size and contents mismatches

Authored and Committed by nalin 11 years ago
    Correct buffer size and contents mismatches
    
    In cm_store_timestamp_from_time_for_display(), declare the incoming
    buffer size to be large enough for the data that we're going to
    sprintf() into it, and in case reading the current time fails for some
    reason, correct the fallback value that we use so that it's in the same
    format. (certmonger #20)
    
        
file modified
+1 -1
file modified
+2 -2