X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcversion.c;h=e4e6afa69a273a6e3e56df4160bf1cb2df5d8866;hp=d6e452a7de7bc4d294eb9f684c227269102e8569;hb=45b8be21bc8c06fb324d434eb8ab75b6dffbd00b;hpb=d10f052be50d9115b574d1848e600fb93adade25 diff --git a/crypto/cversion.c b/crypto/cversion.c index d6e452a7de..e4e6afa69a 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -59,14 +59,13 @@ #include #include #include "cryptlib.h" -#include "crypto.h" +#include #include "date.h" -char *SSLeay_version(t) -int t; +const char *SSLeay_version(int t) { if (t == SSLEAY_VERSION) - return("OpenSSL 0.9.2 31-Dec-1998"); + return OPENSSL_VERSION_TEXT; if (t == SSLEAY_BUILT_ON) { #ifdef DATE @@ -103,7 +102,7 @@ int t; return("not available"); } -unsigned long SSLeay() +unsigned long SSLeay(void) { return(SSLEAY_VERSION_NUMBER); }