Ignore autogenerated assembler files.
[openssl.git] / crypto / cversion.c
index d6e452a7de7bc4d294eb9f684c227269102e8569..e4e6afa69a273a6e3e56df4160bf1cb2df5d8866 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include "cryptlib.h"
-#include "crypto.h"
+#include <openssl/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);
        }