fix signed/unsigned comparison, plus typo

svn:r2451
This commit is contained in:
Roger Dingledine
2004-10-12 19:09:40 +00:00
parent e4182e7b3b
commit acf6bf75e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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);
}