Replace the genericly-named tls.c with a tls_gnutls.c for switching

support in and out. It's easier for the build system if we do this
with #ifdef's but conditional compilation is easier while we're
playing around.

Also rename a function.
This commit is contained in:
Ralph Giles
2005-07-21 19:00:08 +00:00
parent 5c50538338
commit 3ee4193043
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ void tls_shutdown(void);
tls_t *tls_new(xmpp_ctx_t *ctx, sock_t sock);
void tls_free(tls_t *tls);
int tls_setcredentials(tls_t *tls, const char *cafilename);
int tls_set_credentials(tls_t *tls, const char *cafilename);
int tls_start(tls_t *tls);
int tls_stop(tls_t *tls);

View File

@@ -72,7 +72,7 @@ void tls_free(tls_t *tls)
xmpp_free(tls->ctx, tls);
}
int tls_setcredentials(tls_t *tls, const char *cafilename)
int tls_set_credentials(tls_t *tls, const char *cafilename)
{
int err;