diff options
Diffstat (limited to 'glusterfsd/src')
| -rw-r--r-- | glusterfsd/src/glusterfsd-mgmt.c | 2 | ||||
| -rw-r--r-- | glusterfsd/src/glusterfsd.c | 1 | 
2 files changed, 3 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index bf55a0770b4..d2b39494e51 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -2650,6 +2650,8 @@ glusterfs_mgmt_init (glusterfs_ctx_t *ctx)                          goto out;                  } + +                ctx->ssl_cert_depth = glusterfs_read_secure_access_file ();          }          rpc = rpc_clnt_new (options, THIS, THIS->name, 8); diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 0cc46c78943..ef06ddfed31 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1951,6 +1951,7 @@ parse_cmdline (int argc, char *argv[], glusterfs_ctx_t *ctx)          /* Do this before argp_parse so it can be overridden. */          if (sys_access (SECURE_ACCESS_FILE, F_OK) == 0) {                  cmd_args->secure_mgmt = 1; +                ctx->ssl_cert_depth = glusterfs_read_secure_access_file ();          }          argp_parse (&argp, argc, argv, ARGP_IN_ORDER, NULL, cmd_args);  | 
