Home | History | Annotate | Line # | Download | only in man1
openssl-version.pod.in revision 1.1
      1  1.1  christos =pod
      2  1.1  christos {- OpenSSL::safe::output_do_not_edit_headers(); -}
      3  1.1  christos 
      4  1.1  christos =head1 NAME
      5  1.1  christos 
      6  1.1  christos openssl-version - print OpenSSL version information
      7  1.1  christos 
      8  1.1  christos =head1 SYNOPSIS
      9  1.1  christos 
     10  1.1  christos B<openssl version>
     11  1.1  christos [B<-help>]
     12  1.1  christos [B<-a>]
     13  1.1  christos [B<-v>]
     14  1.1  christos [B<-b>]
     15  1.1  christos [B<-o>]
     16  1.1  christos [B<-f>]
     17  1.1  christos [B<-p>]
     18  1.1  christos [B<-d>]
     19  1.1  christos [B<-e>]
     20  1.1  christos [B<-m>]
     21  1.1  christos [B<-r>]
     22  1.1  christos [B<-c>]
     23  1.1  christos [B<-w>]
     24  1.1  christos 
     25  1.1  christos =head1 DESCRIPTION
     26  1.1  christos 
     27  1.1  christos This command is used to print out version information about OpenSSL.
     28  1.1  christos 
     29  1.1  christos =head1 OPTIONS
     30  1.1  christos 
     31  1.1  christos =over 4
     32  1.1  christos 
     33  1.1  christos =item B<-help>
     34  1.1  christos 
     35  1.1  christos Print out a usage message.
     36  1.1  christos 
     37  1.1  christos =item B<-a>
     38  1.1  christos 
     39  1.1  christos All information, this is the same as setting all the other flags.
     40  1.1  christos 
     41  1.1  christos =item B<-v>
     42  1.1  christos 
     43  1.1  christos The current OpenSSL version.
     44  1.1  christos 
     45  1.1  christos =item B<-b>
     46  1.1  christos 
     47  1.1  christos The date the current version of OpenSSL was built.
     48  1.1  christos 
     49  1.1  christos =item B<-o>
     50  1.1  christos 
     51  1.1  christos Option information: various options set when the library was built.
     52  1.1  christos 
     53  1.1  christos =item B<-f>
     54  1.1  christos 
     55  1.1  christos Compilation flags.
     56  1.1  christos 
     57  1.1  christos =item B<-p>
     58  1.1  christos 
     59  1.1  christos Platform setting.
     60  1.1  christos 
     61  1.1  christos =item B<-d>
     62  1.1  christos 
     63  1.1  christos OPENSSLDIR setting.
     64  1.1  christos 
     65  1.1  christos =item B<-e>
     66  1.1  christos 
     67  1.1  christos ENGINESDIR settings.
     68  1.1  christos 
     69  1.1  christos =item B<-m>
     70  1.1  christos 
     71  1.1  christos MODULESDIR settings.
     72  1.1  christos 
     73  1.1  christos =item B<-r>
     74  1.1  christos 
     75  1.1  christos The random number generator source settings.
     76  1.1  christos 
     77  1.1  christos =item B<-c>
     78  1.1  christos 
     79  1.1  christos The OpenSSL CPU settings info.
     80  1.1  christos 
     81  1.1  christos =item B<-w>
     82  1.1  christos 
     83  1.1  christos The OpenSSL B<OSSL_WINCTX> build time variable, if set.
     84  1.1  christos Used for computing Windows registry key names.  This option is unavailable on
     85  1.1  christos non-Windows platforms.
     86  1.1  christos 
     87  1.1  christos =back
     88  1.1  christos 
     89  1.1  christos =head1 HISTORY
     90  1.1  christos 
     91  1.1  christos In OpenSSL versions prior to 3.4, OpenSSL had a limitation regarding the
     92  1.1  christos B<OPENSSLDIR>, B<MODULESDIR> and B<ENGINESDIR> build time macros.  These macros
     93  1.1  christos were defined at build time, and represented filesystem paths.  This is common
     94  1.1  christos practice on unix like systems, as there was an expectation that a given build
     95  1.1  christos would be installed to a pre-determined location.  On Windows however, there is
     96  1.1  christos no such expectation, as libraries can be installed to arbitrary locations.
     97  1.1  christos B<OSSL_WINCTX> was introduced as a new build time variable to define a set of
     98  1.1  christos registry keys identified by the name openssl-<version>-<ctx>, in which the
     99  1.1  christos <version> value is derived from the version string in the openssl source, and
    100  1.1  christos the <ctx> extension is derived from the B<OSSL_WINCTX> variable.  The values of
    101  1.1  christos B<OPENSSLDIR>, B<ENGINESDIR> and B<MODULESDIR> can be set to various paths
    102  1.1  christos underneath this key to break the requirement to predict the installation path at
    103  1.1  christos build time.
    104  1.1  christos 
    105  1.1  christos =head1 NOTES
    106  1.1  christos 
    107  1.1  christos The output of C<openssl version -a> would typically be used when sending
    108  1.1  christos in a bug report.
    109  1.1  christos 
    110  1.1  christos =head1 COPYRIGHT
    111  1.1  christos 
    112  1.1  christos Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved.
    113  1.1  christos 
    114  1.1  christos Licensed under the Apache License 2.0 (the "License").  You may not use
    115  1.1  christos this file except in compliance with the License.  You can obtain a copy
    116  1.1  christos in the file LICENSE in the source distribution or at
    117  1.1  christos L<https://www.openssl.org/source/license.html>.
    118  1.1  christos 
    119  1.1  christos =cut
    120