Skip to content

Commit b7cab7f

Browse files
committed
Update comm function names in shadow backend
1 parent a3f5184 commit b7cab7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shadow.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void run_pw_backend_child(void) {
6464
assert(encpw != NULL);
6565
while (1) {
6666
char *buf;
67-
ssize_t size = read_comm_request(&buf);
67+
ssize_t size = read_comm_prompt_response(&buf);
6868
if (size < 0) {
6969
exit(EXIT_FAILURE);
7070
} else if (size == 0) {
@@ -81,7 +81,7 @@ void run_pw_backend_child(void) {
8181
}
8282
bool success = strcmp(c, encpw) == 0;
8383

84-
if (!write_comm_reply(success)) {
84+
if (write_comm_auth_result_from_backend(success) < 0) {
8585
exit(EXIT_FAILURE);
8686
}
8787

0 commit comments

Comments
 (0)