X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcversion.c;h=121bd1dcb5b72593da5762debfbc56b10e2b1b21;hb=0491b70983f90db2ec2e95951f87ba2f0c2a0ce7;hp=4e823be52f9c1db3352a9e0ad0f225a4cc429c96;hpb=58964a492275ca9a59a0cd9c8155cb2491b4b909;p=oweals%2Fopenssl.git diff --git a/crypto/cversion.c b/crypto/cversion.c index 4e823be52f..121bd1dcb5 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("OpenSSL 0.9.2 31-Dec-1998"); if (t == SSLEAY_BUILT_ON) { #ifdef DATE @@ -87,6 +87,17 @@ int t; 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");