summaryrefslogtreecommitdiff
path: root/crypto/cversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r--crypto/cversion.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c
index 4e823be52f..03d716a581 100644
--- a/crypto/cversion.c
+++ b/crypto/cversion.c
@@ -66,7 +66,7 @@ char *SSLeay_version(t)
int t;
{
if (t == SSLEAY_VERSION)
- return("SSLeay 0.9.0b 29-Jun-1998");
+ return("SSLeay 0.9.1a 06-Jul-1998");
if (t == SSLEAY_BUILT_ON)
{
#ifdef DATE
@@ -89,6 +89,17 @@ int t;
return("C flags not available");
#endif
}
+ if (t == SSLEAY_PLATFORM)
+ {
+#ifdef PLATFORM
+ static char buf[sizeof(PLATFORM)+10];
+
+ sprintf(buf,"Platform:%s",PLATFORM);
+ return(buf);
+#else
+ return("Platform information not available");
+#endif
+ }
return("not available");
}