Commit fb4815e0 authored by Jurre van Bergen's avatar Jurre van Bergen

remove otrv1 from toolkit

parent f96b1b30
Pipeline #54 failed with stages
in 4 minutes and 49 seconds
......@@ -121,25 +121,6 @@ static void parse(const char *msg)
printf("\n");
free_signature(smsg);
break;
case OTRL_MSGTYPE_V1_KEYEXCH:
keyexch = parse_keyexch(msg);
if (!keyexch) {
printf("Invalid Key Exchange Message\n\n");
break;
}
printf("Key Exchange Message:\n");
dump_int(stdout, "\tReply", keyexch->reply);
dump_mpi(stdout, "\tDSA p", keyexch->p);
dump_mpi(stdout, "\tDSA q", keyexch->q);
dump_mpi(stdout, "\tDSA g", keyexch->g);
dump_mpi(stdout, "\tDSA e", keyexch->e);
dump_int(stdout, "\tKeyID", keyexch->keyid);
dump_mpi(stdout, "\tDH y", keyexch->y);
dump_mpi(stdout, "\tSIG r", keyexch->r);
dump_mpi(stdout, "\tSIG s", keyexch->s);
printf("\n");
free_keyexch(keyexch);
break;
case OTRL_MSGTYPE_DATA:
datamsg = parse_datamsg(msg);
if (!datamsg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment