mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 09:16:22 +00:00
Remove redundant tls secured function
This commit is contained in:
@@ -281,12 +281,6 @@ connection_set_domain(char *domain)
|
||||
conn.domain = strdup(domain);
|
||||
}
|
||||
|
||||
int
|
||||
connection_is_secured(void)
|
||||
{
|
||||
return xmpp_conn_is_secured(conn.conn);
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBMESODE
|
||||
TLSCertificate*
|
||||
connection_get_tls_peer_cert(void)
|
||||
@@ -312,7 +306,7 @@ connection_get_tls_peer_cert(void)
|
||||
#endif
|
||||
|
||||
gboolean
|
||||
connection_conn_is_secured(void)
|
||||
connection_is_secured(void)
|
||||
{
|
||||
if (conn.conn_status == JABBER_CONNECTED) {
|
||||
return xmpp_conn_is_secured(conn.conn) == 0 ? FALSE : TRUE;
|
||||
|
||||
Reference in New Issue
Block a user