diff options
author | Nick Thomas <nick@gitlab.com> | 2021-04-30 14:15:30 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-04-30 14:32:06 +0100 |
commit | 4545fc56e23b476ca2b54cc23ec72a0aa0d7dae1 (patch) | |
tree | 8175967320e2fa8e022e5629d6f39b2ddcfe16bb /internal/command/command.go | |
parent | 584643e0e10e0cbeee4f8366b5e50656dfee9ea4 (diff) | |
download | gitlab-shell-4545fc56e23b476ca2b54cc23ec72a0aa0d7dae1.tar.gz |
gitlab-sshd: Respect the ssl_cert_dir config516-handle-ssl-cert-dir-correctly
Changelog: fixed
Diffstat (limited to 'internal/command/command.go')
-rw-r--r-- | internal/command/command.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/command/command.go b/internal/command/command.go index bb430b7..038cd5d 100644 --- a/internal/command/command.go +++ b/internal/command/command.go @@ -2,7 +2,6 @@ package command import ( "context" - "os" "gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedkeys" "gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedprincipals" @@ -37,10 +36,6 @@ func New(e *executable.Executable, arguments []string, env sshenv.Env, config *c } if cmd := buildCommand(e, args, config, readWriter); cmd != nil { - if config.SslCertDir != "" { - os.Setenv("SSL_CERT_DIR", config.SslCertDir) - } - return cmd, nil } |