summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--auth1.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index beccb5297..a75883387 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,9 @@
29 - markus@cvs.openbsd.org 2001/12/25 18:49:56 29 - markus@cvs.openbsd.org 2001/12/25 18:49:56
30 [key.c] 30 [key.c]
31 be more careful on allocation 31 be more careful on allocation
32 - markus@cvs.openbsd.org 2001/12/25 18:53:00
33 [auth1.c]
34 be more carefull on allocation
32 35
3320020121 3620020121
34 - (djm) Rework ssh-rand-helper: 37 - (djm) Rework ssh-rand-helper:
@@ -7176,4 +7179,4 @@
7176 - Wrote replacements for strlcpy and mkdtemp 7179 - Wrote replacements for strlcpy and mkdtemp
7177 - Released 1.0pre1 7180 - Released 1.0pre1
7178 7181
7179$Id: ChangeLog,v 1.1730 2002/01/22 12:07:21 djm Exp $ 7182$Id: ChangeLog,v 1.1731 2002/01/22 12:07:52 djm Exp $
diff --git a/auth1.c b/auth1.c
index 3aac26fcc..41628cedc 100644
--- a/auth1.c
+++ b/auth1.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: auth1.c,v 1.27 2001/12/19 07:18:56 deraadt Exp $"); 13RCSID("$OpenBSD: auth1.c,v 1.28 2001/12/25 18:53:00 markus Exp $");
14 14
15#include "xmalloc.h" 15#include "xmalloc.h"
16#include "rsa.h" 16#include "rsa.h"
@@ -231,6 +231,8 @@ do_authloop(Authctxt *authctxt)
231 } 231 }
232 /* RSA authentication requested. */ 232 /* RSA authentication requested. */
233 n = BN_new(); 233 n = BN_new();
234 if (n == NULL)
235 fatal("BN_new failed");
234 packet_get_bignum(n, &nlen); 236 packet_get_bignum(n, &nlen);
235 packet_integrity_check(plen, nlen, type); 237 packet_integrity_check(plen, nlen, type);
236 authenticated = auth_rsa(pw, n); 238 authenticated = auth_rsa(pw, n);