aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-01-04 14:55:38 +0000
committerLutz Jänicke <jaenicke@openssl.org>2002-01-04 14:55:38 +0000
commit4ab1e7ceaf79c2f426ad41f4712afb4621a6473b (patch)
tree9377bae374268f457288ce486119a6f1c342eb4e /doc
parent06623ff028b703091b30454f2d87afde1a520e02 (diff)
downloadopenssl-4ab1e7ceaf79c2f426ad41f4712afb4621a6473b.tar.gz
Add information as provided by Richard Levitte on openssl-users :-)
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/SSLeay_version.pod65
-rw-r--r--doc/crypto/crypto.pod3
2 files changed, 67 insertions, 1 deletions
diff --git a/doc/crypto/SSLeay_version.pod b/doc/crypto/SSLeay_version.pod
new file mode 100644
index 0000000000..6fa5aa109a
--- /dev/null
+++ b/doc/crypto/SSLeay_version.pod
@@ -0,0 +1,65 @@
+=pod
+
+=head1 NAME
+
+SSLeay_version - retrieve version/build information about OpenSSL library
+
+=head1 SYNOPSIS
+
+ #include <openssl/crypto.h>
+
+ const char *SSLeay_version(int type);
+
+=head1 DESCRIPTION
+
+SSLeay_version() returns a pointer to a constant string describing the
+version of the OpenSSL library or giving information about the library
+build.
+
+The following B<type> values are supported:
+
+=over 4
+
+=item SSLEAY_VERSION
+
+The version of the OpenSSL library including the release date.
+
+=item SSLEAY_CFLAGS
+
+The compiler flags set for the compilation process in the form
+"compiler: ..." if available or "compiler: information not available"
+otherwise.
+
+=item SSLEAY_BUILT_ON
+
+The date of the build process in the form "built on: ..." if available
+or "built on: date not available" otherwise.
+
+=item SSLEAY_PLATFORM
+
+The "Configure" target of the library build in the form "platform: ..."
+if available or "platform: information not available" otherwise.
+
+=back
+
+=head1 RETURN VALUES
+
+The following return values can occur:
+
+=over 4
+
+=item "not available"
+
+An invalid value for B<type> was given.
+
+=item Pointer to constant string
+
+Textual description.
+
+=back
+
+=head1 SEE ALSO
+
+L<crypto(3)|crypto(3)>
+
+=cut
diff --git a/doc/crypto/crypto.pod b/doc/crypto/crypto.pod
index 07ba7e5bc9..0256d226cc 100644
--- a/doc/crypto/crypto.pod
+++ b/doc/crypto/crypto.pod
@@ -46,7 +46,8 @@ L<sha(3)|sha(3)>
=item AUXILIARY FUNCTIONS
-L<err(3)|err(3)>, L<threads(3)|threads(3)>, L<rand(3)|rand(3)>
+L<err(3)|err(3)>, L<threads(3)|threads(3)>, L<rand(3)|rand(3)>,
+L<SSLeay_version(3)|SSLeay_version(3)>
=item INPUT/OUTPUT, DATA ENCODING