vakwetu / certmonger

Forked from certmonger 2 years ago
Clone

45080ef When parsing possibly-PKCS#7, handle length==1

Authored and Committed by nalin 8 years ago
1 file changed. 3 lines added. 0 lines removed.
    When parsing possibly-PKCS#7, handle length==1
    
    When parsing PKCS#7 or X.509 data which might be binary or text, accept
    a length of -1 as implicitly meaning the strlen() of a passed-in buffer,
    to make things easier for callers who know they're passing us text.
    
        
file modified
+3 -0