summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod')
-rw-r--r--src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod29
1 files changed, 21 insertions, 8 deletions
diff --git a/src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod b/src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod
index 68ea723259..c39ac35e78 100644
--- a/src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod
+++ b/src/lib/libcrypto/doc/OPENSSL_VERSION_NUMBER.pod
@@ -2,7 +2,7 @@
2 2
3=head1 NAME 3=head1 NAME
4 4
5OPENSSL_VERSION_NUMBER, SSLeay SSLeay_version - get OpenSSL version number 5OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version - get OpenSSL version number
6 6
7=head1 SYNOPSIS 7=head1 SYNOPSIS
8 8
@@ -11,7 +11,7 @@ OPENSSL_VERSION_NUMBER, SSLeay SSLeay_version - get OpenSSL version number
11 11
12 #include <openssl/crypto.h> 12 #include <openssl/crypto.h>
13 long SSLeay(void); 13 long SSLeay(void);
14 char *SSLeay_version(int t); 14 const char *SSLeay_version(int t);
15 15
16=head1 DESCRIPTION 16=head1 DESCRIPTION
17 17
@@ -55,20 +55,32 @@ SSLeay_version() returns different strings depending on B<t>:
55=over 4 55=over 4
56 56
57=item SSLEAY_VERSION 57=item SSLEAY_VERSION
58
58The text variant of the version number and the release date. For example, 59The text variant of the version number and the release date. For example,
59"OpenSSL 0.9.5a 1 Apr 2000". 60"OpenSSL 0.9.5a 1 Apr 2000".
60 61
61=item SSLEAY_CFLAGS 62=item SSLEAY_CFLAGS
62The flags given to the C compiler when compiling OpenSSL are returned in a 63
63string. 64The compiler flags set for the compilation process in the form
65"compiler: ..." if available or "compiler: information not available"
66otherwise.
67
68=item SSLEAY_BUILT_ON
69
70The date of the build process in the form "built on: ..." if available
71or "built on: date not available" otherwise.
64 72
65=item SSLEAY_PLATFORM 73=item SSLEAY_PLATFORM
66The platform name used when OpenSSL was configured is returned.
67 74
68=back 75The "Configure" target of the library build in the form "platform: ..."
76if available or "platform: information not available" otherwise.
77
78=item SSLEAY_DIR
69 79
70If the data request isn't available, a text saying that the information is 80The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "...""
71not available is returned. 81if available or "OPENSSLDIR: N/A" otherwise.
82
83=back
72 84
73For an unknown B<t>, the text "not available" is returned. 85For an unknown B<t>, the text "not available" is returned.
74 86
@@ -84,5 +96,6 @@ L<crypto(3)|crypto(3)>
84 96
85SSLeay() and SSLEAY_VERSION_NUMBER are available in all versions of SSLeay and OpenSSL. 97SSLeay() and SSLEAY_VERSION_NUMBER are available in all versions of SSLeay and OpenSSL.
86OPENSSL_VERSION_NUMBER is available in all versions of OpenSSL. 98OPENSSL_VERSION_NUMBER is available in all versions of OpenSSL.
99B<SSLEAY_DIR> was added in OpenSSL 0.9.7.
87 100
88=cut 101=cut