Re: Pike 8.0 RC1
Arne Goedeke <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 22 Oct 2014, Henrik Grubbström wrote: > On Wed, 22 Oct 2014, Arne Goedeke wrote: > >> > Also, if you have anything you really want to fix in pike 8.0, please >> > say something about it, or commit a fix soon. >> >> We are currently not completely compatible with nettle 2.7, which is >> what gentoo is still shipping. The problem, which has already been >> discussed here, is that at some point nettle changed the signatures for >> random functions. Should that be fixed? > > I've never noticed. In what way does the problem manifest? > > BTW: I've just added an ebuild for Pike 8.0.10 to the pike gentoo overlay, > and it seems to install fine on at least on of my machines. The second argument of the random function was changed from unsigned int to size_t at some point (I guess in nettle 3 or so). dsa_generate_keypair(struct dsa_public_key *pub, /usr/include/nettle/dsa.h:200:1: note: expected 'void (*)(void *, unsigned int, uint8_t *)' but argument is of type 'void (*)(void *, size_t, uint8_t *)' dsa_generate_keypair(struct dsa_public_key *pub, It builds and installs fine for me, too. The code also works; I guess it doesnt matter with x86-64 calling conventions.