Created SILC Crypto Toolkit git repository.
[crypto.git] / lib / silcacc / tests / test_softacc.c
index 08da67ef9bdeb5277899513eda4c4deda913c574..14b44d571137070707c0f14bcce8d794beaa4fb1 100644 (file)
@@ -1,6 +1,6 @@
 /* Software accelerator tests */
 
-#include "silc.h"
+#include "silccrypto.h"
 
 SilcSchedule schedule;
 SilcPublicKey public_key, accpub;
@@ -29,7 +29,7 @@ SILC_TASK_CALLBACK(quit)
 
 SILC_TASK_CALLBACK(sign)
 {
-  silc_pkcs_sign(accprv, data, data_len, TRUE, hash, sign_compl, NULL);
+  silc_pkcs_sign(accprv, data, data_len, TRUE, hash, NULL, sign_compl, NULL);
   if (--s > 0)
     silc_schedule_task_add_timeout(schedule, sign, NULL, 0, 60000);
 }
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
   if (!softacc)
     goto err;
 
-  if (!silc_acc_init(softacc, schedule, "min_threads", 2, "max_threads", 
+  if (!silc_acc_init(softacc, schedule, "min_threads", 2, "max_threads",
                     8, NULL))
     goto err;