Current Path : /usr/opt/openssl11/share/doc/openssl/html/man3/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/openssl11/share/doc/openssl/html/man3/OpenSSL_version_num.html |
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>OPENSSL_VERSION_NUMBER</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@hsxx.drive.ne.jp" /> </head> <body style="background-color: white"> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#return_values">RETURN VALUES</a></li> <li><a href="#see_also">SEE ALSO</a></li> <li><a href="#copyright">COPYRIGHT</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <hr /> <h1><a name="name">NAME</a></h1> <p>OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT, OpenSSL_version, OpenSSL_version_num - get OpenSSL version number</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <pre> #include <openssl/opensslv.h> #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL #define OPENSSL_VERSION_TEXT "OpenSSL x.y.z xx XXX xxxx"</pre> <pre> #include <openssl/crypto.h></pre> <pre> unsigned long OpenSSL_version_num(); const char *OpenSSL_version(int t);</pre> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>OPENSSL_VERSION_NUMBER is a numeric release version identifier:</p> <pre> MNNFFPPS: major minor fix patch status</pre> <p>The status nibble has one of the values 0 for development, 1 to e for betas 1 to 14, and f for release.</p> <p>for example</p> <pre> 0x000906000 == 0.9.6 dev 0x000906023 == 0.9.6b beta 3 0x00090605f == 0.9.6e release</pre> <p>Versions prior to 0.9.3 have identifiers < 0x0930. Versions between 0.9.3 and 0.9.5 had a version identifier with this interpretation:</p> <pre> MMNNFFRBB major minor fix final beta/patch</pre> <p>for example</p> <pre> 0x000904100 == 0.9.4 release 0x000905000 == 0.9.5 dev</pre> <p>Version 0.9.5a had an interim interpretation that is like the current one, except the patch level got the highest bit set, to keep continuity. The number was therefore 0x0090581f.</p> <p>OPENSSL_VERSION_TEXT is the text variant of the version number and the release date. For example, "OpenSSL 1.0.1a 15 Oct 2015".</p> <p><code>OpenSSL_version_num()</code> returns the version number.</p> <p><code>OpenSSL_version()</code> returns different strings depending on <strong>t</strong>:</p> <dl> <dt><strong><a name="openssl_version" class="item">OPENSSL_VERSION</a></strong></dt> <dd> <p>The text variant of the version number and the release date. For example, "OpenSSL 1.0.1a 15 Oct 2015".</p> </dd> <dt><strong><a name="openssl_cflags" class="item">OPENSSL_CFLAGS</a></strong></dt> <dd> <p>The compiler flags set for the compilation process in the form "compiler: ..." if available or "compiler: information not available" otherwise.</p> </dd> <dt><strong><a name="openssl_built_on" class="item">OPENSSL_BUILT_ON</a></strong></dt> <dd> <p>The date of the build process in the form "built on: ..." if available or "built on: date not available" otherwise.</p> </dd> <dt><strong><a name="openssl_platform" class="item">OPENSSL_PLATFORM</a></strong></dt> <dd> <p>The "Configure" target of the library build in the form "platform: ..." if available or "platform: information not available" otherwise.</p> </dd> <dt><strong><a name="openssl_dir" class="item">OPENSSL_DIR</a></strong></dt> <dd> <p>The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "..."" if available or "OPENSSLDIR: N/A" otherwise.</p> </dd> <dt><strong><a name="openssl_engines_dir" class="item">OPENSSL_ENGINES_DIR</a></strong></dt> <dd> <p>The "ENGINESDIR" setting of the library build in the form "ENGINESDIR: "..."" if available or "ENGINESDIR: N/A" otherwise.</p> </dd> </dl> <p>For an unknown <strong>t</strong>, the text "not available" is returned.</p> <p> </p> <hr /> <h1><a name="return_values">RETURN VALUES</a></h1> <p><code>OpenSSL_version_num()</code> returns the version number.</p> <p><code>OpenSSL_version()</code> returns requested version strings.</p> <p> </p> <hr /> <h1><a name="see_also">SEE ALSO</a></h1> <p><em>crypto(7)</em></p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.</p> <p>Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p> </body> </html>