mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
commit
05167a9294
|
@ -232,7 +232,7 @@ START_TEST(test_large_data)
|
||||||
c1len = encrypt_data_fast(k, n, m1, sizeof(m1), c1);
|
c1len = encrypt_data_fast(k, n, m1, sizeof(m1), c1);
|
||||||
c2len = encrypt_data_fast(k, n, m2, sizeof(m2), c2);
|
c2len = encrypt_data_fast(k, n, m2, sizeof(m2), c2);
|
||||||
|
|
||||||
ck_assert_msg(c1len == sizeof(m1) + ENCRYPTION_PADDING, "Could not encrypt max size");
|
ck_assert_msg(c1len == sizeof(m1) + ENCRYPTION_PADDING, "could not encrypt max size");
|
||||||
ck_assert_msg(c2len == -1, "incorrectly succeeded encrypting massive size");
|
ck_assert_msg(c2len == -1, "incorrectly succeeded encrypting massive size");
|
||||||
|
|
||||||
m1plen = decrypt_data_fast(k, n, c1, c1len, m1prime);
|
m1plen = decrypt_data_fast(k, n, c1, c1len, m1prime);
|
||||||
|
|
|
@ -208,7 +208,7 @@ if test -n "$PKG_CONFIG"; then
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_MSG_WARN([$LIBCONFIG_PKG_ERRORS])
|
AC_MSG_WARN([$LIBCONFIG_PKG_ERRORS])
|
||||||
AC_MSG_WARN([libconfig not available, will not build DHT botstrap daemon])
|
AC_MSG_WARN([libconfig not available, will not build DHT bootstrap daemon])
|
||||||
BUILD_DHT_BOOTSTRAP_DAEMON="no"
|
BUILD_DHT_BOOTSTRAP_DAEMON="no"
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
@ -223,7 +223,7 @@ if test -n "$PKG_CONFIG"; then
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([pkg-config was not found on your sytem])
|
AC_MSG_WARN([pkg-config was not found on your system])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (test "x$BUILD_NTOX" = "xyes") && (test "x$NCURSES_FOUND" != "xyes"); then
|
if (test "x$BUILD_NTOX" = "xyes") && (test "x$NCURSES_FOUND" != "xyes"); then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user