projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New function CRYPTO_num_locks.
[openssl.git]
/
crypto
/
cversion.c
diff --git
a/crypto/cversion.c
b/crypto/cversion.c
index 3933a0c37a1a8ed1f6febbbaa3ecdd2fcfaa12bc..959b2611b7ba5a711d17e1fe251e82278404c946 100644
(file)
--- a/
crypto/cversion.c
+++ b/
crypto/cversion.c
@@
-59,11
+59,10
@@
#include <stdio.h>
#include <string.h>
#include "cryptlib.h"
#include <stdio.h>
#include <string.h>
#include "cryptlib.h"
-#include
"crypto.h"
+#include
<openssl/crypto.h>
#include "date.h"
#include "date.h"
-const char *SSLeay_version(t)
-int t;
+const char *SSLeay_version(int t)
{
if (t == SSLEAY_VERSION)
return OPENSSL_VERSION_TEXT;
{
if (t == SSLEAY_VERSION)
return OPENSSL_VERSION_TEXT;
@@
-73,7
+72,7
@@
int t;
static char buf[sizeof(DATE)+11];
sprintf(buf,"built on: %s",DATE);
static char buf[sizeof(DATE)+11];
sprintf(buf,"built on: %s",DATE);
- return(buf);
+ return(buf);
#else
return("built on: date not available");
#endif
#else
return("built on: date not available");
#endif
@@
-103,7
+102,7
@@
int t;
return("not available");
}
return("not available");
}
-unsigned long SSLeay()
+unsigned long SSLeay(
void
)
{
return(SSLEAY_VERSION_NUMBER);
}
{
return(SSLEAY_VERSION_NUMBER);
}