Skip to content

Commit

Permalink
- [email protected] 2009/10/01 11:37:33
Browse files Browse the repository at this point in the history
     [dh.c]
     fix a cast
     ok djm@ markus@
  • Loading branch information
dtucker committed Oct 6, 2009
1 parent 5e3b344 commit 6461269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
don't issue blocking read/write on agent sockets - just fall back to
select() on retriable read/write errors. bz#1633 reported and tested
by "noodle10000 AT googlemail.com"; ok dtucker@ markus@
- [email protected] 2009/10/01 11:37:33
[dh.c]
fix a cast
ok djm@ markus@

20091002
- (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
Expand Down
4 changes: 2 additions & 2 deletions dh.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: dh.c,v 1.47 2008/06/26 09:19:39 djm Exp $ */
/* $OpenBSD: dh.c,v 1.48 2009/10/01 11:37:33 grunk Exp $ */
/*
* Copyright (c) 2000 Niels Provos. All rights reserved.
*
Expand Down Expand Up @@ -83,7 +83,7 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg)
goto fail;
strsize = strsep(&cp, " "); /* size */
if (cp == NULL || *strsize == '\0' ||
(dhg->size = (u_int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
(dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
errstr)
goto fail;
/* The whole group is one bit larger */
Expand Down

0 comments on commit 6461269

Please sign in to comment.