summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:11:38 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:11:38 +1100
commit66823cddbe80d1d22ac44d503b8c121f071e7105 (patch)
treef08715640b009f1db31f07e73a15a627496c2d79 /auth-rsa.c
parentd221ca6cc96082a27ae9b4a7a0600d8ac8b1b2d7 (diff)
- markus@cvs.openbsd.org 2001/12/27 20:39:58
[auth1.c auth-rsa.c channels.c clientloop.c packet.c packet.h serverloop.c session.c ssh.c sshconnect1.c sshd.c ttymodes.c] get rid of packet_integrity_check, use packet_done() instead.
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index de50b8ef8..1d74a79cd 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -14,7 +14,7 @@
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$OpenBSD: auth-rsa.c,v 1.47 2001/12/27 18:22:16 markus Exp $"); 17RCSID("$OpenBSD: auth-rsa.c,v 1.48 2001/12/27 20:39:58 markus Exp $");
18 18
19#include <openssl/rsa.h> 19#include <openssl/rsa.h>
20#include <openssl/md5.h> 20#include <openssl/md5.h>
@@ -92,9 +92,9 @@ auth_rsa_challenge_dialog(RSA *pk)
92 92
93 /* Wait for a response. */ 93 /* Wait for a response. */
94 packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE); 94 packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE);
95 packet_integrity_check(plen, 16, SSH_CMSG_AUTH_RSA_RESPONSE);
96 for (i = 0; i < 16; i++) 95 for (i = 0; i < 16; i++)
97 response[i] = packet_get_char(); 96 response[i] = packet_get_char();
97 packet_done();
98 98
99 /* The response is MD5 of decrypted challenge plus session id. */ 99 /* The response is MD5 of decrypted challenge plus session id. */
100 len = BN_num_bytes(challenge); 100 len = BN_num_bytes(challenge);