summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorliuwentan <[email protected]>2023-12-21 10:24:49 +0800
committerliuwentan <[email protected]>2023-12-21 10:24:49 +0800
commit759f625cb178ada2751a9980062c4c9045a83675 (patch)
tree4e33b3e87b7f316dd88f85860047363a16789d74 /src
parent48af7e7aac84f673bf39a5679503bc891407a182 (diff)
[PATCH]add bloom filter to optimize performance => OMPUB-1081v4.0.49dev-23.07
Diffstat (limited to 'src')
-rw-r--r--src/maat_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maat_utils.c b/src/maat_utils.c
index 9f91322..9b251c5 100644
--- a/src/maat_utils.c
+++ b/src/maat_utils.c
@@ -260,7 +260,7 @@ int system_cmd_gzip(const char *src_file, const char *dst_file)
int system_cmd_encrypt(const char *src_file, const char *dst_file, const char *password)
{
char cmd[MAX_SYSTEM_CMD_LEN] = { 0 };
- snprintf(cmd, sizeof(cmd), "openssl enc -e -aes-256-cbc -k %s -p -nosalt -in %s -out %s -md md5",
+ snprintf(cmd, sizeof(cmd), "openssl enc -e -aes-256-cbc -k %s -nosalt -in %s -out %s -md md5",
password, src_file, dst_file);
return system(cmd);
}