X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcversion.c;h=297f8843f58586803ea450af2e1be417186bbbc4;hp=c3a372258edf518fac83fd5b025bf07c6efcfad2;hb=1bdb8633c105e11708ec79034eb1f0531799d3fa;hpb=b4cadc6e1343c01b06613053a90ed2ee85e65090 diff --git a/crypto/cversion.c b/crypto/cversion.c index c3a372258e..297f8843f5 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -59,11 +59,11 @@ #include #include #include "cryptlib.h" -#include "crypto.h" -#include "date.h" +#include -char *SSLeay_version(t) -int t; +#include "buildinf.h" + +const char *SSLeay_version(int t) { if (t == SSLEAY_VERSION) return OPENSSL_VERSION_TEXT; @@ -73,7 +73,7 @@ int t; static char buf[sizeof(DATE)+11]; sprintf(buf,"built on: %s",DATE); - return(buf); + return(buf); #else return("built on: date not available"); #endif @@ -103,7 +103,7 @@ int t; return("not available"); } -unsigned long SSLeay() +unsigned long SSLeay(void) { return(SSLEAY_VERSION_NUMBER); }