comparison cli-session.c @ 795:7f604f9b3756 ecc

ecdsa is working
author Matt Johnston <matt@ucc.asn.au>
date Fri, 03 May 2013 23:07:48 +0800
parents d1575fdc29a6
children 7dcb46da72d9
comparison
equal deleted inserted replaced
794:d386defb5376 795:7f604f9b3756
83 NULL /* Null termination */ 83 NULL /* Null termination */
84 }; 84 };
85 85
86 void cli_session(int sock_in, int sock_out) { 86 void cli_session(int sock_in, int sock_out) {
87 87
88 seedrandom();
89
90 crypto_init();
91
92 common_session_init(sock_in, sock_out); 88 common_session_init(sock_in, sock_out);
93 89
94 chaninitialise(cli_chantypes); 90 chaninitialise(cli_chantypes);
95 91
96 /* Set up cli_ses vars */ 92 /* Set up cli_ses vars */