1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 01:36:18 +00:00
This commit is contained in:
Benjamin Gamard
2019-05-07 14:38:05 +02:00
parent 8b1c41ae1e
commit 40756a5e4b
3 changed files with 3 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ public class FileProcessingAsyncListener {
final File file = event.getFile();
FormatHandler formatHandler = FormatHandlerUtil.find(file.getMimeType());
if (formatHandler == null) {
log.error("Format unhandled: " + file.getMimeType());
log.info("Format unhandled: " + file.getMimeType());
FileUtil.endProcessingFile(file.getId());
return;
}

View File

@@ -32,6 +32,7 @@ public class EncryptionUtil {
static {
// Initialize Bouncy Castle provider
Security.insertProviderAt(new BouncyCastleProvider(), 1);
Security.removeProvider("SunRsaSign");
}
/**