On Thu, 23 Jun 2005, ov wrote: > Hi all, > > I'm new to this list, so I hope I'm posting to the right place. I've been > working on getting openvpn to work on an ARM system, and I've run into a > little trouble. > > A straight ./configure; make works fine, but the resulting binary fails > the loopback self tests with an assertion failure in integer.h: > TESTING ENCRYPT/DECRYPT of packet length=97 > Assertion failed at integer.h:94 > > Oddly enough, with this code before the assert, it passes the test: > if(0 > x || x >= mod || -mod > y || y > mod) > fprintf(stderr, "x %d y %d mod %dn", x, y, mod); > > Any ideas on what's going on? Has anybody seen this before? Should I be > worried about this?
This is the first report I've ever seen of an assertion in this function. Try making the function non-inline and see if that changes anything. Which compiler/version are you using? James