Loading src/or/config.c +1 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ RETURN VALUE: 0 on success, non-zero on error int Verbose; int code; poptContext optCon; char *cmd; const char *cmd; struct poptOption opt_tab[] = { { "APPort", 'a', POPT_ARG_INT, &options->APPort, Loading src/or/connection.c +1 −1 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ int connection_encrypt_cell(cell_t *cellp, connection_t *conn) { printf("\n"); #endif if(crypto_cipher_encrypt(conn->f_crypto, (char *)cellp, sizeof(cell_t), &newcell)) { if(crypto_cipher_encrypt(conn->f_crypto, (char *)cellp, sizeof(cell_t), (char *)&newcell)) { log(LOG_ERR,"Could not encrypt cell for connection %s:%u.",conn->address,conn->port); return -1; } Loading src/or/connection_op.c +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ int connection_op_process_inbuf(connection_t *conn) { int op_handshake_process_keys(connection_t *conn) { int retval; int x; //int x; unsigned char iv[16]; /* key exchange message */ Loading src/or/connection_or.c +2 −2 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ int connection_or_finished_flushing(connection_t *conn) { /*********************/ void conn_or_init_crypto(connection_t *conn) { int x; //int x; unsigned char iv[16]; assert(conn); Loading Loading @@ -257,7 +257,7 @@ connection_t *connection_or_connect_as_op(routerinfo_t *router, crypto_pk_env_t } int or_handshake_op_send_keys(connection_t *conn) { int x; //int x; uint32_t bandwidth = DEFAULT_BANDWIDTH_OP; unsigned char message[20]; /* bandwidth(32bits), forward key(64bits), backward key(64bits) */ unsigned char cipher[128]; Loading Loading
src/or/config.c +1 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ RETURN VALUE: 0 on success, non-zero on error int Verbose; int code; poptContext optCon; char *cmd; const char *cmd; struct poptOption opt_tab[] = { { "APPort", 'a', POPT_ARG_INT, &options->APPort, Loading
src/or/connection.c +1 −1 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ int connection_encrypt_cell(cell_t *cellp, connection_t *conn) { printf("\n"); #endif if(crypto_cipher_encrypt(conn->f_crypto, (char *)cellp, sizeof(cell_t), &newcell)) { if(crypto_cipher_encrypt(conn->f_crypto, (char *)cellp, sizeof(cell_t), (char *)&newcell)) { log(LOG_ERR,"Could not encrypt cell for connection %s:%u.",conn->address,conn->port); return -1; } Loading
src/or/connection_op.c +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ int connection_op_process_inbuf(connection_t *conn) { int op_handshake_process_keys(connection_t *conn) { int retval; int x; //int x; unsigned char iv[16]; /* key exchange message */ Loading
src/or/connection_or.c +2 −2 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ int connection_or_finished_flushing(connection_t *conn) { /*********************/ void conn_or_init_crypto(connection_t *conn) { int x; //int x; unsigned char iv[16]; assert(conn); Loading Loading @@ -257,7 +257,7 @@ connection_t *connection_or_connect_as_op(routerinfo_t *router, crypto_pk_env_t } int or_handshake_op_send_keys(connection_t *conn) { int x; //int x; uint32_t bandwidth = DEFAULT_BANDWIDTH_OP; unsigned char message[20]; /* bandwidth(32bits), forward key(64bits), backward key(64bits) */ unsigned char cipher[128]; Loading