int ssl_check_version(void)
{
long ssl_linked;
-
+
ssl_linked = SSLeay();
-
+
if (ssl_linked != ssl_built) {
radlog(L_ERR, "libssl version mismatch."
" Built with: %lx\n Linked: %lx",
(unsigned long) ssl_built,
(unsigned long) ssl_linked);
-
+
return -1;
};
-
+
return 0;
}
*/
const char *ssl_version(void)
{
- return SSLeay_version(SSLEAY_VERSION);
+ return SSLeay_version(SSLEAY_VERSION);
}
#else
-int ssl_version_check(void) {
+int ssl_check_version(void) {
return 0;
}
radlog(L_INFO, "%s: %s", progname, radiusd_version);
DEBUG3("Server was built with: ");
-
+
#ifdef WITH_ACCOUNTING
DEBUG3(" accounting");
#endif
radlog(L_INFO, "You may redistribute copies of FreeRADIUS under the terms of the");
radlog(L_INFO, "GNU General Public License.");
radlog(L_INFO, "For more information about these matters, see the file named COPYRIGHT.");
-
+
fflush(NULL);
}