[BACK]Return to ssh.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh.c between version 1.507 and 1.508

version 1.507, 2019/09/13 04:27:35 version 1.508, 2019/10/31 21:18:28
Line 1323 
Line 1323 
                 exit(0);                  exit(0);
         }          }
   
           /* Expand SecurityKeyProvider if it refers to an environment variable */
           if (options.sk_provider != NULL && *options.sk_provider == '$' &&
               strlen(options.sk_provider) > 1) {
                   if ((cp = getenv(options.sk_provider + 1)) == NULL) {
                           debug("Security key provider %s did not resolve; "
                               "disabling", options.sk_provider);
                           free(options.sk_provider);
                           options.sk_provider = NULL;
                   } else {
                           debug2("resolved SecurityKeyProvider %s => %s",
                               options.sk_provider, cp);
                           free(options.sk_provider);
                           options.sk_provider = xstrdup(cp);
                   }
           }
   
         if (muxclient_command != 0 && options.control_path == NULL)          if (muxclient_command != 0 && options.control_path == NULL)
                 fatal("No ControlPath specified for \"-O\" command");                  fatal("No ControlPath specified for \"-O\" command");
         if (options.control_path != NULL) {          if (options.control_path != NULL) {

Legend:
Removed from v.1.507  
changed lines
  Added in v.1.508