X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccore%2Ftests%2Ftest_silcmessage.c;h=ea7695e572de84d33345062b8f63ce1b805f9493;hb=40df0fe9d2a0a7648a111ca03de16f7a740cf5ad;hp=1f7d505229b8f0956bd3c9405801a82b392cd647;hpb=d4ead7075692a4abdc487fcb422cb9fd5b41a596;p=silc.git diff --git a/lib/silccore/tests/test_silcmessage.c b/lib/silccore/tests/test_silcmessage.c index 1f7d5052..ea7695e5 100644 --- a/lib/silccore/tests/test_silcmessage.c +++ b/lib/silccore/tests/test_silcmessage.c @@ -16,7 +16,7 @@ int main(int argc, char **argv) SilcMessagePayload message; SilcBuffer buf; const char *msg = "FOOBAR MESSAGE"; - unsigned char *data, tmp[1023], *tmp2; + unsigned char *data, tmp[8192], *tmp2; SilcUInt32 data_len; SilcUInt16 flags; int i, n; @@ -36,7 +36,7 @@ int main(int argc, char **argv) if (!silc_load_key_pair("pubkey.pub", "privkey.prv", "", &public_key, &private_key)) { SILC_LOG_DEBUG(("Create keypair")); - if (!silc_create_key_pair("rsa", 2048, "pubkey.pub", "privkey.prv", + if (!silc_create_key_pair("rsa", 4096, "pubkey.pub", "privkey.prv", NULL, "", &public_key, &private_key, FALSE)) goto err; }