Fix bbb-web doesnt work with checksumHash=sha256
This commit is contained in:
parent
be81a0e32a
commit
7ec8e81b45
@ -953,6 +953,7 @@ public class ParamsProcessorUtil {
|
||||
case "sha256":
|
||||
cs = DigestUtils.sha256Hex(data);
|
||||
log.info("SHA256 {}", cs);
|
||||
break;
|
||||
case "sha384":
|
||||
cs = DigestUtils.sha384Hex(data);
|
||||
log.info("SHA384 {}", cs);
|
||||
|
@ -48,6 +48,7 @@ public class GetChecksumValidator implements ConstraintValidator<GetChecksumCons
|
||||
case "sha256":
|
||||
createdCheckSum = DigestUtils.sha256Hex(data);
|
||||
log.info("SHA256 {}", createdCheckSum);
|
||||
break;
|
||||
case "sha384":
|
||||
createdCheckSum = DigestUtils.sha384Hex(data);
|
||||
log.info("SHA384 {}", createdCheckSum);
|
||||
|
Loading…
Reference in New Issue
Block a user