+2016-09-03 Niels Möller <nisse@lysator.liu.se>
+
+ * testsuite/rsa-encrypt-test.c (test_main): Fix pointer
+ signednesss warning.
+
2016-08-29 Niels Möller <nisse@lysator.liu.se>
* sexp-format.c (strlen_u8): New helper function.
struct knuth_lfib_ctx lfib;
/* FIXME: How is this spelled? */
- const uint8_t *msg = "Squemish ossifrage";
- size_t msg_length;
+ const unsigned char msg[] = "Squemish ossifrage";
+ size_t msg_length = LLENGTH(msg);
uint8_t *decrypted;
size_t decrypted_length;
knuth_lfib_init(&lfib, 17);
test_rsa_set_key_1(&pub, &key);
- msg_length = strlen(msg);
if (verbose)
fprintf(stderr, "msg: `%s', length = %d\n", msg, (int) msg_length);