Просмотр исходного кода

Merge branch 'startup-info' of https://github.com/smallstep/certificates into startup-info

Carl Tashian 4 лет назад
Родитель
Сommit
ef9e31cd92
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      authority/authority.go

+ 1 - 1
authority/authority.go

@@ -543,7 +543,7 @@ func (a *Authority) init() error {
 	if tmplVars.SSH.HostKey != nil {
 		log.Printf("SSH Host CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.HostKey))
 	}
-	if tmplVars.SSH.HostKey != nil {
+	if tmplVars.SSH.UserKey != nil {
 		log.Printf("SSH User CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.UserKey))
 	}