rcritten / freeipa

Forked from freeipa 6 years ago
Clone

0ebbb48 test_cert_plugin: Encode 'certificate' for comparison with 'usercertificate'

1 file Authored by pviktori 8 years ago, Committed by mbasti 8 years ago,
    test_cert_plugin: Encode 'certificate' for comparison with 'usercertificate'
    
    The 'certificate' option is Str, but 'usercertificate' is Bytes.
    Decode before comparing one with the other.
    
    Part of the work for: https://fedorahosted.org/freeipa/ticket/4985
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>