Chinaunix首页 | 论坛 | 博客
  • 博客访问: 542722
  • 博文数量: 375
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-20 10:21
文章分类

全部博文(375)

文章存档

2015年(1)

2014年(374)

分类: LINUX

2014-08-18 13:37:50

原文地址:[手册] Openssl 之 version 命令 作者:ailms

VERSION(1)               OpenSSL               VERSION(1)



NAME
       version - print OpenSSL version information
 
        # 注释 :version 子命令用于打印 OpenSSL 的版本信息
 
[root@dhcp tmp]# openssl
OpenSSL> version -a
OpenSSL 0.9.7a Feb 19 2003
built on: Fri Dec  3 16:44:23 EST 2004
platform: linux-elf
options:  bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx)
compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_EC -I/usr/kerberos/include -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -m32 -march=i686 -mtune=pentium4 -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
OPENSSLDIR: "/usr/share/ssl"
engines:  dynamic cswift chil atalla nuron ubsec aep ibmca sureware 4758cca
OpenSSL>


SYNOPSIS
       openssl version [-a] [-v] [-b] [-o] [-f] [-p]

DESCRIPTION
       This command is used to print out version information about OpenSSL.        


OPTIONS
       -a  all information, this is the same as setting all the other flags.
 
        # 注释 ;-a 打印所有信息。

       -v  the current OpenSSL version.
 
        # 注释 :-v 打印当前 OpenSSL 的版本

       -b  the date the current version of OpenSSL was built.
 
        # 注释 :-b 打印当前版本的 OpenSSL built 的时间

       -o  option information: various options set when the library was built.
 
        # 注释 :-o 打印库文件在 built 时的不同选项集

       -c  compilation flags.
 
        # 注释 :-c 打印编译 OpenSSL 时给出的参数
 
        # 补充 :这个参数在 0.9.7 中为 -f 
OpenSSL> version -f
compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_EC -I/usr/kerberos/include -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -m32 -march=i686 -mtune=pentium4 -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
OpenSSL>


       -p  platform setting.
 
        # 注释 :-p 打印平台的设置

       -d  OPENSSLDIR setting.
 
        # 注释 :-d 打印 OPENSSLDIR 的值

NOTES
       The output of openssl version -a would typically be used when sending
       in a bug report.

HISTORY
       The -d option was added in OpenSSL 0.9.7.



0.9.7a                  2002-01-04               VERSION(1)
阅读(705) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~