Commit 1c757b91 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

fix signed/unsigned comparison, plus typo


svn:r2451
parent e7241044
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1189,7 +1189,7 @@ static void init_dh_param() {
  dh_param_g = g;
}

/** Allocate and return a new DH object for a key echange.
/** Allocate and return a new DH object for a key exchange.
 */
crypto_dh_env_t *crypto_dh_new()
{
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
int
tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)
{
        int i;
        unsigned int i;
        for (i=0;i<nfds;++i) {
                tor_assert(ufds[i].fd >= 0);
        }