File: crypt.c

package info (click to toggle)
rocks 2.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 284 kB
  • ctags: 412
  • sloc: ansic: 5,218; makefile: 111
file content (16 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 
 *  rocks/crypt.c
 *
 *  Common cryptography interface.
 *
 *  Copyright (C) 2001 Victor Zandy
 *  See COPYING for distribution terms.
 */

#include "rs.h"

int
rs_authenticate(rs_key_t key, int sock)
{
	return rs_mutual_auth(key, sock);
}