dab22d Permit explicit disabling of RSAMD5 in FIPS mode (#1709553)

Authored and Committed by pemensik 5 years ago
    Permit explicit disabling of RSAMD5 in FIPS mode (#1709553)
    
    When MD5 is disabled in library, it behaved like RSAMD5 were unknown.
    But security-policy disables it explicitly. It failed to even start in
    FIPS mode, because such algorithm were unknown. Fix disabled algorithm
    to return disabled result code. Accept such algorithm only when
    disabling it.
    
    Signed-off-by: Petr Menšík <pemensik@redhat.com>
    
        
file modified
+6 -1