1c10433 Fix usage of PKCS#7 ASN1 attribute retrieval for SCEP keygen

Authored and Committed by rcritten 4 months ago
    Fix usage of PKCS#7 ASN1 attribute retrieval for SCEP keygen
    
    Since pre-1.0.0 code should not have used ASN1_ITEM references
    directly like &X509_it. It should instead use the macro
    ASN1_ITEM_rptr(X509).
    
    This worked up to 3.0.0.
    
    Switch the code to more current usage of ASN1_ITEM and referencing
    the PKCS7 signer info object.
    
    Fixes: https://pagure.io/certmonger/issue/244
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+6 -4