Merge pull request #99 from painless-security/jennifer/count_failed_reqs
[trust_router.git] / mon / monc.c
index 426b447..c16d328 100644 (file)
@@ -65,7 +65,7 @@ void monc_free(MONC_INSTANCE *monc)
 
 int monc_open_connection(MONC_INSTANCE *monc,
                          const char *server,
-                         unsigned int port)
+                         int port)
 {
   return tr_gssc_open_connection(monc->gssc, server, port);
 }
@@ -98,13 +98,3 @@ cleanup:
   talloc_free(tmp_ctx);
   return resp;
 }
-
-DH *monc_get_dh(MONC_INSTANCE *inst)
-{
-  return tr_gssc_get_dh(inst->gssc);
-}
-
-DH *monc_set_dh(MONC_INSTANCE *inst, DH *dh)
-{
-  return tr_gssc_set_dh(inst->gssc, dh);
-}