| 2337 | |
| 2338 | |
| 2339 | int updateRequirePass(sds val, sds prev, const char **err) { |
| 2340 | UNUSED(prev); |
| 2341 | UNUSED(err); |
| 2342 | /* The old "requirepass" directive just translates to setting |
| 2343 | * a password to the default user. The only thing we do |
| 2344 | * additionally is to remember the cleartext password in this |
| 2345 | * case, for backward compatibility with Redis <= 5. */ |
| 2346 | ACLUpdateDefaultUserPassword(val); |
| 2347 | return 1; |
| 2348 | } |
| 2349 | |
| 2350 | #ifdef USE_OPENSSL |
| 2351 | static int updateTlsCfg(char *val, char *prev, const char **err) { |
nothing calls this directly
no test coverage detected