summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/authfd.c b/authfd.c
index 80af9529a..d920b1f66 100644
--- a/authfd.c
+++ b/authfd.c
@@ -1,20 +1,20 @@
1/* 1/*
2 * 2 *
3 * authfd.c 3 * authfd.c
4 * 4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * 6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved 8 * All rights reserved
9 * 9 *
10 * Created: Wed Mar 29 01:30:28 1995 ylo 10 * Created: Wed Mar 29 01:30:28 1995 ylo
11 * 11 *
12 * Functions for connecting the local authentication agent. 12 * Functions for connecting the local authentication agent.
13 * 13 *
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: authfd.c,v 1.11 2000/04/13 02:26:35 damien Exp $"); 17RCSID("$Id: authfd.c,v 1.12 2000/04/16 01:18:40 damien Exp $");
18 18
19#include "ssh.h" 19#include "ssh.h"
20#include "rsa.h" 20#include "rsa.h"
@@ -69,7 +69,7 @@ ssh_get_authentication_socket()
69 * ssh_get_authentication_socket(). 69 * ssh_get_authentication_socket().
70 */ 70 */
71 71
72void 72void
73ssh_close_authentication_socket(int sock) 73ssh_close_authentication_socket(int sock)
74{ 74{
75 if (getenv(SSH_AUTHSOCKET_ENV_NAME)) 75 if (getenv(SSH_AUTHSOCKET_ENV_NAME))
@@ -113,7 +113,7 @@ ssh_get_authentication_connection()
113 * memory. 113 * memory.
114 */ 114 */
115 115
116void 116void
117ssh_close_authentication_connection(AuthenticationConnection *ac) 117ssh_close_authentication_connection(AuthenticationConnection *ac)
118{ 118{
119 buffer_free(&ac->packet); 119 buffer_free(&ac->packet);
@@ -343,7 +343,7 @@ error_cleanup:
343 * be used by normal applications. 343 * be used by normal applications.
344 */ 344 */
345 345
346int 346int
347ssh_add_identity(AuthenticationConnection *auth, 347ssh_add_identity(AuthenticationConnection *auth,
348 RSA * key, const char *comment) 348 RSA * key, const char *comment)
349{ 349{
@@ -431,7 +431,7 @@ error_cleanup:
431 * meant to be used by normal applications. 431 * meant to be used by normal applications.
432 */ 432 */
433 433
434int 434int
435ssh_remove_identity(AuthenticationConnection *auth, RSA *key) 435ssh_remove_identity(AuthenticationConnection *auth, RSA *key)
436{ 436{
437 Buffer buffer; 437 Buffer buffer;
@@ -514,7 +514,7 @@ error_cleanup:
514 * by normal applications. 514 * by normal applications.
515 */ 515 */
516 516
517int 517int
518ssh_remove_all_identities(AuthenticationConnection *auth) 518ssh_remove_all_identities(AuthenticationConnection *auth)
519{ 519{
520 Buffer buffer; 520 Buffer buffer;