On Sun, Oct 13, 2013 at 10:03:23PM +0200, Jérémie Courrèges-Anglas wrote: > j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: > > > Juan Francisco Cantero Hurtado <i...@juanfra.info> writes: > > > >> On Tue, Oct 08, 2013 at 02:31:12PM +0200, Jérémie Courrèges-Anglas wrote: > >>> > >>> Hi, > >>> > >>> A short time after I checked the arm build-failures[1], Juan Francisco > >>> Cantero Hurtado sent me a patch to fix it (thanks!). > >>> > >>> In this diff: > >>> - fix attempt for the build > >>> - provide more debugging information wrt. /dev/urandom failure reported > >>> by juanfra > >>> - enable regress tests (they touch ocb) > >>> > >>> People with ARM boxes, please build, run make test and test the runtime > >>> behavior. > >> > >> All tests passed. > >> > >> $ mosh-server new -v > >> "Crypto exception: Could not read from /dev/urandom in Base64Key: > >> Undefined error: 0" > > Would you mind trying this? This seems to fix the behavior of > mosh-server... > > I'm not asking for OKs since I don't understand what the issues really > are. If people with any C++ knowledge could explain what's wrong with > the original code in the second patch, thanks in advance. >
The code compiles OK. mosh (i386 client, ARM server) doesn't work for me but maybe I've something broken on my ARM. MOSH CONNECT 0 u4id+P9EclW6TCZCbNDYXw mosh-server (mosh 1.2.4) Copyright 2012 Keith Winstein <mosh-de...@mit.edu> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [mosh-server detached, pid = 12679] Warning: termios IUTF8 flag not defined. Character-erase of multibyte character sequence probably does not work properly on this platform. -- Juan Francisco Cantero Hurtado http://juanfra.info