f78f6eb Ensure that files read in have a trailing new-line

Authored and Committed by rcritten 4 years ago
    Ensure that files read in have a trailing new-line
    
    In SCEP when retrieving the CA chain the certificates passed in
    on the command-line (RA agent and CA cert) area printed along with
    the contents of what was retrieved remotely.
    
    If one of the filesystem certificates lacks a newline then the
    output will be jumbled like:
    
    -----END CERTIFICATE----------BEGIN CERTIFICATE-----\n
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1814976
    
        
file modified
+8 -0
file modified
+7 -3
file modified
+5 -1