diff options
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: authfd.c,v 1.43 2001/08/01 22:03:33 markus Exp $"); | 38 | RCSID("$OpenBSD: authfd.c,v 1.44 2001/08/07 10:37:46 markus Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -58,7 +58,8 @@ int decode_reply(int type); | |||
58 | 58 | ||
59 | /* macro to check for "agent failure" message */ | 59 | /* macro to check for "agent failure" message */ |
60 | #define agent_failed(x) \ | 60 | #define agent_failed(x) \ |
61 | ((x == SSH_AGENT_FAILURE) || (x == SSH_COM_AGENT2_FAILURE)) | 61 | ((x == SSH_AGENT_FAILURE) || (x == SSH_COM_AGENT2_FAILURE) || \ |
62 | (x == SSH2_AGENT_FAILURE)) | ||
62 | 63 | ||
63 | /* Returns the number of the authentication fd, or -1 if there is none. */ | 64 | /* Returns the number of the authentication fd, or -1 if there is none. */ |
64 | 65 | ||
@@ -585,6 +586,7 @@ decode_reply(int type) | |||
585 | switch (type) { | 586 | switch (type) { |
586 | case SSH_AGENT_FAILURE: | 587 | case SSH_AGENT_FAILURE: |
587 | case SSH_COM_AGENT2_FAILURE: | 588 | case SSH_COM_AGENT2_FAILURE: |
589 | case SSH2_AGENT_FAILURE: | ||
588 | log("SSH_AGENT_FAILURE"); | 590 | log("SSH_AGENT_FAILURE"); |
589 | return 0; | 591 | return 0; |
590 | case SSH_AGENT_SUCCESS: | 592 | case SSH_AGENT_SUCCESS: |