Set the 386 flag automatically when building on i386.
[openssl.git] / crypto / cversion.c
index d6e452a7de7bc4d294eb9f684c227269102e8569..8d18a95dfc6789230c1677619dc65eb873018a7b 100644 (file)
 #include "crypto.h"
 #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);
        }