| 297 | } |
| 298 | |
| 299 | void |
| 300 | crm_send_remote_msg(void *session, xmlNode * msg, gboolean encrypted) |
| 301 | { |
| 302 | if (encrypted) { |
| 303 | #ifdef HAVE_GNUTLS_GNUTLS_H |
| 304 | cib_send_tls(session, msg); |
| 305 | #else |
| 306 | CRM_ASSERT(encrypted == FALSE); |
| 307 | #endif |
| 308 | } else { |
| 309 | cib_send_plaintext(GPOINTER_TO_INT(session), msg); |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | xmlNode * |
| 314 | crm_recv_remote_msg(void *session, gboolean encrypted) |
no test coverage detected