[auth1.c]
be more carefull on allocation
- markus@cvs.openbsd.org 2001/12/25 18:49:56
[key.c]
be more careful on allocation
+ - markus@cvs.openbsd.org 2001/12/25 18:53:00
+ [auth1.c]
+ be more carefull on allocation
20020121
- (djm) Rework ssh-rand-helper:
*/
#include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.27 2001/12/19 07:18:56 deraadt Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.28 2001/12/25 18:53:00 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
}
/* RSA authentication requested. */
n = BN_new();
+ if (n == NULL)
+ fatal("BN_new failed");
packet_get_bignum(n, &nlen);
packet_integrity_check(plen, nlen, type);
authenticated = auth_rsa(pw, n);