+ return False, '', '', ''
+
+ ret_warning = ''
+ if certauth.hash_function == "md5":
+ ca_suffix = ''
+ if ca_name != '':
+ ca_suffix = ': ' + ca_name
+ fault = "md5 hash function is unsupported%s" % ca_suffix
+ self.logger.error(fault)
+ raise xmlrpclib.Fault(1001,fault)
+ elif certauth.hash_function == "sha1":
+ ret_warning = "Deprecated hash function of sha1: %s\n" % ca_name