53f87ee py3: fix csrgen error handling

1 file Authored by ftweedal 6 years ago, Committed by cheimes 6 years ago,
    py3: fix csrgen error handling
    
    csrgen error handling marshalls an error string from libcrypto.
    This is not handled correctly under python3.  Fix the error
    handling.
    
    Part of: https://pagure.io/freeipa/issue/7496
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+6 -2