summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec.c
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2017-12-20 15:24:11 +0530
committerKotresh HR <khiremat@redhat.com>2017-12-22 15:32:06 +0000
commit3fd961d08588bd1ec31f8cfc72201dfa1a4e85d6 (patch)
tree31f48a57bc34eae25ffab73c560e44b6e33f7f82 /xlators/cluster/ec/src/ec.c
parentc96a1338fe8139d07a0aa1bc40f0843d033f0324 (diff)
fips/geo-rep: Replace MD5 with SHA256
MD5 is not fips compliant. Hence replacing with SHA256. NOTE: The hash is used to form the ctl_path for the ssh connection. The length of ctl_path for ssh connection should not be > 108. ssh fails with ctl_path too long if it is so. But when rsync is piped to ssh, it is not taking > 90. rsync is failing with error number 12. Hence using first 32 bytes of hash. Hash collision doesn't matter as only one sock file is created per directory. Change-Id: I58aeb32a80b5422f6ac0188cf33fbecccbf08ae7 Updates: #230 Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec.c')
0 files changed, 0 insertions, 0 deletions