# HG changeset patch # User Sebastien Decugis # Date 1371433620 -28800 # Node ID 98478a8aabb17a9bd2dbb50eef7ff96cbed0e9c5 # Parent 0ef5c4eda92a224218c5d61f3998eab5b01166ed Fix compilation warning diff -r 0ef5c4eda92a -r 98478a8aabb1 libfdcore/cnxctx.c --- a/libfdcore/cnxctx.c Fri Jun 14 17:36:33 2013 +0800 +++ b/libfdcore/cnxctx.c Mon Jun 17 09:47:00 2013 +0800 @@ -1636,9 +1636,11 @@ return 0; } +#ifndef DISABLE_SCTP static int fd_cnx_uses_dtls(struct cnxctx * conn) { return fd_cnx_may_dtls(conn) && (fd_cnx_teststate(conn, CC_STATUS_TLS)); } +#endif /* DISABLE_SCTP */ /* TLS handshake a connection; no need to have called start_clear before. Reception is active if handhsake is successful */ int fd_cnx_handshake(struct cnxctx * conn, int mode, int algo, char * priority, void * alt_creds)