1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00

connect: Use ssh_is_ipaddr instead of regex.

This commit is contained in:
Andreas Schneider
2011-02-12 17:44:31 +01:00
parent b313fa944a
commit 768fbdd92e
3 changed files with 8 additions and 63 deletions

View File

@@ -57,8 +57,6 @@ int ssh_init(void) {
return -1;
if(ssh_socket_init())
return -1;
if(ssh_regex_init())
return -1;
return 0;
}
@@ -74,7 +72,6 @@ int ssh_init(void) {
*/
int ssh_finalize(void) {
ssh_threads_finalize();
ssh_regex_finalize();
ssh_crypto_finalize();
ssh_socket_cleanup();
#ifdef HAVE_LIBGCRYPT