projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused parameters from internal functions
[openssl.git]
/
crypto
/
cversion.c
diff --git
a/crypto/cversion.c
b/crypto/cversion.c
index aa479a9409290b730c1618c57199514152442453..a13ccf429f1dca868d444067083685c86aca2875 100644
(file)
--- a/
crypto/cversion.c
+++ b/
crypto/cversion.c
@@
-1,4
+1,3
@@
-/* crypto/cversion.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-62,7
+61,7
@@
# include "buildinf.h"
#endif
# include "buildinf.h"
#endif
-unsigned long OpenSSL_version_num()
+unsigned long OpenSSL_version_num(
void
)
{
return OPENSSL_VERSION_NUMBER;
}
{
return OPENSSL_VERSION_NUMBER;
}
@@
-101,6
+100,13
@@
const char *OpenSSL_version(int t)
return "OPENSSLDIR: \"" OPENSSLDIR "\"";
#else
return "OPENSSLDIR: N/A";
return "OPENSSLDIR: \"" OPENSSLDIR "\"";
#else
return "OPENSSLDIR: N/A";
+#endif
+ }
+ if (t == OPENSSL_ENGINES_DIR) {
+#ifdef ENGINESDIR
+ return "ENGINESDIR: \"" ENGINESDIR "\"";
+#else
+ return "ENGINESDIR: N/A";
#endif
}
return ("not available");
#endif
}
return ("not available");