[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.401 and 1.402

version 1.401, 2014/02/26 20:18:37 version 1.402, 2014/04/29 18:01:49
Line 64 
Line 64 
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
   #ifdef WITH_OPENSSL
 #include <openssl/evp.h>  #include <openssl/evp.h>
 #include <openssl/err.h>  #include <openssl/err.h>
   #endif
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "ssh.h"  #include "ssh.h"
Line 603 
Line 605 
                         break;                          break;
                 case 'V':                  case 'V':
                         fprintf(stderr, "%s, %s\n",                          fprintf(stderr, "%s, %s\n",
                             SSH_VERSION, SSLeay_version(SSLEAY_VERSION));                              SSH_VERSION,
   #ifdef WITH_OPENSSL
                               SSLeay_version(SSLEAY_VERSION)
   #else
                               "without OpenSSL"
   #endif
                           );
                         if (opt == 'V')                          if (opt == 'V')
                                 exit(0);                                  exit(0);
                         break;                          break;
Line 800 
Line 808 
   
         host_arg = xstrdup(host);          host_arg = xstrdup(host);
   
   #ifdef WITH_OPENSSL
         OpenSSL_add_all_algorithms();          OpenSSL_add_all_algorithms();
         ERR_load_crypto_strings();          ERR_load_crypto_strings();
   #endif
   
         /* Initialize the command to execute on remote host. */          /* Initialize the command to execute on remote host. */
         buffer_init(&command);          buffer_init(&command);
Line 848 
Line 858 
             SYSLOG_FACILITY_USER, !use_syslog);              SYSLOG_FACILITY_USER, !use_syslog);
   
         if (debug_flag)          if (debug_flag)
                 logit("%s, %s", SSH_VERSION, SSLeay_version(SSLEAY_VERSION));                  logit("%s, %s", SSH_VERSION,
   #ifdef WITH_OPENSSL
                       SSLeay_version(SSLEAY_VERSION)
   #else
                       "without OpenSSL"
   #endif
                   );
   
         /* Parse the configuration files */          /* Parse the configuration files */
         process_config_files(pw);          process_config_files(pw);

Legend:
Removed from v.1.401  
changed lines
  Added in v.1.402