Clean up RPM spec for newer distributions
[clumanager.git] / librhcm / auth_md5.h
blob32269c74e678428481ed9fd0a42b86c54d9751aa
1 /**
2 Copyright Red Hat, Inc. 2003
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 2, or (at your option) any
7 later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to the
16 Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
17 MA 02139, USA.
19 /** @file
20 * Very simple challenge-response, based on md5 + shared-secret (header)
22 #ifndef __AUTH_MD5_H
23 #define __AUTH_MD5_H
24 int auth_md5_init(char *key, size_t keylen);
25 int auth_md5_deinit(void);
26 int auth_md5_challenge(int fd);
27 int auth_md5(int fd);
28 #endif