lslebodn / certmonger

Forked from certmonger 6 years ago
Clone

6207548 Handle X509 version being optional in tests

Authored and Committed by nalin 7 years ago
    Handle X509 version being optional in tests
    
    Newer versions of OpenSSL depart from older versions (and NSS) in that
    they skip the version field when encoding a certificate where the field,
    which is optional, has the default value of 0, indicating a v1
    certificate.  To keep minicerts produced by both CSR generation
    implementations the same, force the version to 3 (encoded value: 2) for
    the tests.
    
    Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
    
        
file modified
+3 -2
file modified
+2 -6
file modified
+3 -1
file modified
+3 -1
file modified
+5 -0