diff options
author | rse <rse> | 1998-12-22 15:04:24 +0000 |
---|---|---|
committer | rse <rse> | 1998-12-22 15:04:24 +0000 |
commit | a6d8990e515fdbc1446b8fed44dcfdfe49be469c (patch) | |
tree | e7b9aebe7d25e1ed8f9d584020d2efd1b7389932 /crypto/cversion.c | |
parent | cec4933b86a2f10bea2006dbbf900e92249b9347 (diff) | |
download | openssl-a6d8990e515fdbc1446b8fed44dcfdfe49be469c.tar.gz |
Various cleanups and fixed by Marc and Ralf to start the OpenTLS project
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r-- | crypto/cversion.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c index d36496dcc..28e20a263 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -1,5 +1,5 @@ /* crypto/cversion.c */ -/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written @@ -66,7 +66,7 @@ char *SSLeay_version(t) int t; { if (t == SSLEAY_VERSION) - return("SSLeay 0.8.1b 29-Jun-1998"); + return("SSLeay 0.9.1c 22-Dec-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"); } |