1/*
2 *
3 * authfd.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: Wed Mar 29 01:30:28 1995 ylo
11 *
12 * Functions for connecting the local authentication agent.
13 *
14 * $FreeBSD: head/crypto/openssh/authfd.c 57464 2000-02-25 01:53:12Z green $
15 */
16
17#include "includes.h"
18RCSID("$Id: authfd.c,v 1.16 1999/12/15 19:43:10 markus Exp $");
19
20#include "ssh.h"
21#include "rsa.h"
22#include "authfd.h"
23#include "buffer.h"
24#include "bufaux.h"
25#include "xmalloc.h"
26#include "getput.h"
27
28#include <openssl/rsa.h>
29
30/* Returns the number of the authentication fd, or -1 if there is none. */
31
32int
33ssh_get_authentication_socket()
34{
35 const char *authsocket;
36 int sock;
--- 543 unchanged lines hidden ---
2 *
3 * authfd.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: Wed Mar 29 01:30:28 1995 ylo
11 *
12 * Functions for connecting the local authentication agent.
13 *
14 * $FreeBSD: head/crypto/openssh/authfd.c 57464 2000-02-25 01:53:12Z green $
15 */
16
17#include "includes.h"
18RCSID("$Id: authfd.c,v 1.16 1999/12/15 19:43:10 markus Exp $");
19
20#include "ssh.h"
21#include "rsa.h"
22#include "authfd.h"
23#include "buffer.h"
24#include "bufaux.h"
25#include "xmalloc.h"
26#include "getput.h"
27
28#include <openssl/rsa.h>
29
30/* Returns the number of the authentication fd, or -1 if there is none. */
31
32int
33ssh_get_authentication_socket()
34{
35 const char *authsocket;
36 int sock;
--- 543 unchanged lines hidden ---