projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make GCC happy by removing an unused variable defintion.
[oweals/openssl.git]
/
crypto
/
cversion.c
diff --git
a/crypto/cversion.c
b/crypto/cversion.c
index d36496dcc5d71e826ae64fa0419b56d453669d10..121bd1dcb5b72593da5762debfbc56b10e2b1b21 100644
(file)
--- a/
crypto/cversion.c
+++ b/
crypto/cversion.c
@@
-1,5
+1,5
@@
/* crypto/cversion.c */
/* crypto/cversion.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-66,7
+66,7
@@
char *SSLeay_version(t)
int t;
{
if (t == SSLEAY_VERSION)
int t;
{
if (t == SSLEAY_VERSION)
- return("
SSLeay 0.8.1b 29-Jun
-1998");
+ return("
OpenSSL 0.9.2 31-Dec
-1998");
if (t == SSLEAY_BUILT_ON)
{
#ifdef DATE
if (t == SSLEAY_BUILT_ON)
{
#ifdef DATE
@@
-87,6
+87,17
@@
int t;
return(buf);
#else
return("C flags not available");
return(buf);
#else
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");
#endif
}
return("not available");