deps/libssh-0.6.3/src/init.c
int ssh_finalize(void) {
  ssh_crypto_finalize();
  ssh_socket_cleanup();
  /* It is important to finalize threading after CRYPTO because
   * it still depends on it */
  ssh_threads_finalize();

  return 0;
}
/**
 * @brief Finalize and cleanup all libssh and cryptographic data structures.
 *
 * This function should only be called once, at the end of the program!
 *
 * @returns             0 on succes, -1 if an error occured.
 *
   @returns 0 otherwise
 */
@brief Finalize and cleanup all libssh and cryptographic data structures.
This function should only be called once, at the end of the program!

@returns             0 on succes, -1 if an error occured.

@returns 0 otherwise
@brief Finalize and cleanup all libssh and cryptographic data structures . This function should only be called once at the end of the program! @returns 0 on succes - 1 if an error occured . @returns 0 otherwise
int ssh_finalize(void) {
  ssh_crypto_finalize();
  ssh_socket_cleanup();
  ssh_threads_finalize();
  return 0;
}
int ssh_finalize ( void ) { ssh_crypto_finalize ( ) ; ssh_socket_cleanup ( ) ; ssh_threads_finalize ( ) ; return 0 ; }
@brief Finalize and cleanup all libssh and cryptographic data structures.
@brief Finalize and cleanup all libssh and cryptographic data structures .
/* It is important to finalize threading after CRYPTO because
   * it still depends on it */