version 1.91, 2002/03/18 17:16:38 |
version 1.92, 2002/03/19 10:49:35 |
|
|
return 1; |
return 1; |
} |
} |
|
|
/* |
/* |
* Exports an IV from the CipherContext required to export the key |
* Exports an IV from the CipherContext required to export the key |
* state back from the unprivileged child to the privileged parent |
* state back from the unprivileged child to the privileged parent |
* process. |
* process. |
|
|
packet_get_keycontext(int mode, u_char *dat) |
packet_get_keycontext(int mode, u_char *dat) |
{ |
{ |
CipherContext *cc; |
CipherContext *cc; |
|
|
if (mode == MODE_OUT) |
if (mode == MODE_OUT) |
cc = &send_context; |
cc = &send_context; |
else |
else |
|
|
packet_set_keycontext(int mode, u_char *dat) |
packet_set_keycontext(int mode, u_char *dat) |
{ |
{ |
CipherContext *cc; |
CipherContext *cc; |
|
|
if (mode == MODE_OUT) |
if (mode == MODE_OUT) |
cc = &send_context; |
cc = &send_context; |
else |
else |