1/*
2 *
3 * auth-rsa.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Mon Mar 27 01:46:52 1995 ylo
11 *
12 * RSA-based authentication. This code determines whether to admit a login
13 * based on RSA authentication. This file also contains functions to check
14 * validity of the host key.
15 *
16 * $FreeBSD: head/crypto/openssh/auth-rsa.c 57464 2000-02-25 01:53:12Z green $
17 */
18
19#include "includes.h"
20RCSID("$Id: auth-rsa.c,v 1.18 2000/02/11 10:59:11 markus Exp $");
21
22#include "rsa.h"
23#include "packet.h"
24#include "xmalloc.h"
25#include "ssh.h"
26#include "mpaux.h"
27#include "uidswap.h"
28#include "servconf.h"
29
30#include <openssl/rsa.h>
31#include <openssl/md5.h>
32
33/* Flags that may be set in authorized_keys options. */
34extern int no_port_forwarding_flag;
35extern int no_agent_forwarding_flag;
36extern int no_x11_forwarding_flag;
37extern int no_pty_flag;
38extern char *forced_command;
39extern struct envstring *custom_environment;
--- 439 unchanged lines hidden ---
2 *
3 * auth-rsa.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Mon Mar 27 01:46:52 1995 ylo
11 *
12 * RSA-based authentication. This code determines whether to admit a login
13 * based on RSA authentication. This file also contains functions to check
14 * validity of the host key.
15 *
16 * $FreeBSD: head/crypto/openssh/auth-rsa.c 57464 2000-02-25 01:53:12Z green $
17 */
18
19#include "includes.h"
20RCSID("$Id: auth-rsa.c,v 1.18 2000/02/11 10:59:11 markus Exp $");
21
22#include "rsa.h"
23#include "packet.h"
24#include "xmalloc.h"
25#include "ssh.h"
26#include "mpaux.h"
27#include "uidswap.h"
28#include "servconf.h"
29
30#include <openssl/rsa.h>
31#include <openssl/md5.h>
32
33/* Flags that may be set in authorized_keys options. */
34extern int no_port_forwarding_flag;
35extern int no_agent_forwarding_flag;
36extern int no_x11_forwarding_flag;
37extern int no_pty_flag;
38extern char *forced_command;
39extern struct envstring *custom_environment;
--- 439 unchanged lines hidden ---