Skip to content
Snippets Groups Projects
Commit 4849dde9 authored by rswindell's avatar rswindell
Browse files

Remove the socket library from the version info - not too relevant or

interesting and on many platforms, unavailable anyway.
parent da5befc7
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ char* socklib_version(char* str, char* winsock_ver)
#else
strcpy(str,"No socket library version available");
strcpy(str,"");
#endif
......@@ -107,8 +107,6 @@ void sbbs_t::ver()
}
#endif
socklib_version(str,SOCKLIB_DESC);
#ifdef USE_CRYPTLIB
if(is_crypt_initialized()) {
int cl_major=0, cl_minor=0, cl_step=0;
......@@ -117,11 +115,11 @@ void sbbs_t::ver()
result = cryptGetAttribute(CRYPT_UNUSED, CRYPT_OPTION_INFO_MINORVERSION, &cl_minor);
result = cryptGetAttribute(CRYPT_UNUSED, CRYPT_OPTION_INFO_STEPPING, &cl_step);
(void)result;
sprintf(str + strlen(str), " cryptlib %u.%u.%u (%u)", cl_major, cl_minor, cl_step, CRYPTLIB_VERSION);
sprintf(str, " cryptlib %u.%u.%u (%u)", cl_major, cl_minor, cl_step, CRYPTLIB_VERSION);
center(str);
CRLF;
}
#endif
center(str);
CRLF;
center(os_version(str));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment