diff options
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index e8018bf3a..5620b6b90 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.75 2001/12/19 07:18:56 deraadt Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.76 2001/12/27 18:22:16 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: ssh-agent.c,v 1.75 2001/12/19 07:18:56 deraadt Exp $"); | 39 | RCSID("$OpenBSD: ssh-agent.c,v 1.76 2001/12/27 18:22:16 markus Exp $"); |
40 | 40 | ||
41 | #include <openssl/evp.h> | 41 | #include <openssl/evp.h> |
42 | #include <openssl/md5.h> | 42 | #include <openssl/md5.h> |
@@ -186,7 +186,8 @@ process_authentication_challenge1(SocketEntry *e) | |||
186 | 186 | ||
187 | buffer_init(&msg); | 187 | buffer_init(&msg); |
188 | key = key_new(KEY_RSA1); | 188 | key = key_new(KEY_RSA1); |
189 | challenge = BN_new(); | 189 | if ((challenge = BN_new()) == NULL) |
190 | fatal("process_authentication_challenge1: BN_new failed"); | ||
190 | 191 | ||
191 | buffer_get_int(&e->input); /* ignored */ | 192 | buffer_get_int(&e->input); /* ignored */ |
192 | buffer_get_bignum(&e->input, key->rsa->e); | 193 | buffer_get_bignum(&e->input, key->rsa->e); |