[zeromq-dev] libcurve #12 test fails for me

l.alebarde at free.fr l.alebarde at free.fr
Wed Sep 11 14:51:54 CEST 2013


Hi,

The last merge builds, but curve_selftest fails for me :

 * curve_keypair: OK
 * curve_keystore: OK
curve_selftest: curve_codec.c:1031: zap_authenticator: Assertion
`(!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p
((mechanism)) && __builtin_constant_p (("CURVE")) && (__s1_len = strlen
((mechanism)), __s2_len = strlen (("CURVE")), (!((size_t)(const void
*)(((mechanism)) + 1) - (size_t)(const void *)((mechanism)) == 1) || __s1_len >=
4) && (!((size_t)(const void *)((("CURVE")) + 1) - (size_t)(const void
*)(("CURVE")) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((mechanism),
("CURVE")) : (__builtin_constant_p ((mechanism)) && ((size_t)(const void
*)(((mechanism)) + 1) - (size_t)(const void *)((mechanism)) == 1) && (__s1_len =
strlen ((mechanism)), __s1_len < 4) ? (__builtin_constant_p (("CURVE")) &&
((size_t)(const void *)((("CURVE")) + 1) - (size_t)(const void *)(("CURVE")) ==
1) ? __builtin_strcmp ((mechanism), ("CURVE")) : (__extension__ ({ __const
unsigned char *__s2 = (__const unsigned char *) (__const char *) (("CURVE"));
register int __result = (((__const unsigned char *) (__const char *)
((mechanism)))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result =
(((__const unsigned char *) (__const char *) ((mechanism)))[1] - __s2[1]); if
(__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *)
(__const char *) ((mechanism)))[2] - __s2[2]); if (__s1_len > 2 && __result ==
0) __result = (((__const unsigned char *) (__const char *) ((mechanism)))[3] -
__s2[3]); } } __result; }))) : (__builtin_constant_p (("CURVE")) &&
((size_t)(const void *)((("CURVE")) + 1) - (size_t)(const void *)(("CURVE")) ==
1) && (__s2_len = strlen (("CURVE")), __s2_len < 4) ? (__builtin_constant_p
((mechanism)) && ((size_t)(const void *)(((mechanism)) + 1) - (size_t)(const
void *)((mechanism)) == 1) ? __builtin_strcmp ((mechanism), ("CURVE")) :
(__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *)
(__const char *) ((mechanism)); register int __result = __s1[0] - ((__const
unsigned char *) (__const char *) (("CURVE")))[0]; if (__s2_len > 0 && __result
== 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *)
(("CURVE")))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] -
((__const unsigned char *) (__const char *) (("CURVE")))[2]); if (__s2_len > 2
&& __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char
*) (("CURVE")))[3]); } } __result; }))) : __builtin_strcmp ((mechanism),
("CURVE"))))); }))' failed.
 * curve_codec: /bin/sh: line 5: 30264 Aborted                 ${dir}$tst
FAIL: curve_selftest

Any idea please ?



More information about the zeromq-dev mailing list