Ticket #47493 - Configuration Tab does not work with FIPS mode enabled
Bug Description: Admin Server CGI sec-activate retrieves attribute
dn: cn=encryption,cn=configuration,cn=admin-serv-ID,cn=389 Administration
and return them to the client such as Console. The CGI sec-activate
was supposed to get the knowledge if the FIPS mode is enabled or not,
and return ciphers FIPS compliant, but the code was missing.
In this patch, the code is added to check if it is FIPS mode or not
and if it is, return just FIPS friendly ciphers in this patch.
Plus unnecessary temp buffer and copies from temp to temp_return were
Reviewed by email@example.com (Thank you, Mark!!)