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

Diff for /src/usr.bin/openssl/version.c between version 1.11 and 1.12

version 1.11, 2023/03/06 14:32:06 version 1.12, 2023/07/27 07:01:50
Line 184 
Line 184 
         },          },
         {          {
                 .name = "o",                  .name = "o",
                 .desc = "Option information",  
                 .type = OPTION_FLAG,                  .type = OPTION_FLAG,
                 .opt.flag = &cfg.options,                  .opt.flag = &cfg.options,
         },          },
Line 206 
Line 205 
 static void  static void
 version_usage(void)  version_usage(void)
 {  {
         fprintf(stderr, "usage: version [-abdfopv]\n");          fprintf(stderr, "usage: version [-abdfpv]\n");
         options_usage(version_options);          options_usage(version_options);
 }  }
   
Line 241 
Line 240 
                 printf("%s\n", SSLeay_version(SSLEAY_BUILT_ON));                  printf("%s\n", SSLeay_version(SSLEAY_BUILT_ON));
         if (cfg.platform)          if (cfg.platform)
                 printf("%s\n", SSLeay_version(SSLEAY_PLATFORM));                  printf("%s\n", SSLeay_version(SSLEAY_PLATFORM));
         if (cfg.options) {  
                 printf("options:  ");  
                 printf("%s ", BN_options());  
 #ifndef OPENSSL_NO_RC4  
                 printf("%s ", RC4_options());  
 #endif  
 #ifndef OPENSSL_NO_DES  
                 printf("%s ", DES_options());  
 #endif  
 #ifndef OPENSSL_NO_IDEA  
                 printf("%s ", idea_options());  
 #endif  
 #ifndef OPENSSL_NO_BF  
                 printf("%s ", BF_options());  
 #endif  
                 printf("\n");  
         }  
         if (cfg.cflags)          if (cfg.cflags)
                 printf("%s\n", SSLeay_version(SSLEAY_CFLAGS));                  printf("%s\n", SSLeay_version(SSLEAY_CFLAGS));
         if (cfg.dir)          if (cfg.dir)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12