diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 08:13:10 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 08:13:10 +0000 |
commit | 3ed8b10a8df515c0cb5a2a6a0962c67f1c697164 (patch) | |
tree | 16644eb4e4232e2d2cd65fc342c5dbaafdc4e136 /sbin/photurisd/cookie.h | |
parent | c021608bd50b74de1b8074e336f7adad03b1c7d8 (diff) |
rm trailing whitespace
Diffstat (limited to 'sbin/photurisd/cookie.h')
-rw-r--r-- | sbin/photurisd/cookie.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/photurisd/cookie.h b/sbin/photurisd/cookie.h index 3846a605e20..e41828c0791 100644 --- a/sbin/photurisd/cookie.h +++ b/sbin/photurisd/cookie.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cookie.h,v 1.3 2001/01/28 22:45:07 niklas Exp $ */ +/* $OpenBSD: cookie.h,v 1.4 2002/06/09 08:13:08 todd Exp $ */ /* * Copyright 1997-2000 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -28,29 +28,29 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* - * cookie.h: +/* + * cookie.h: * cookie generation header file - */ + */ #ifndef _COOKIE_H_ #define _COOKIE_H_ #include "state.h" - + #define SECRET_SIZE 16 #undef EXTERN #ifdef _COOKIE_C_ #define EXTERN -static u_int8_t rsecret[SECRET_SIZE]; /* Responder secret */ +static u_int8_t rsecret[SECRET_SIZE]; /* Responder secret */ #else #define EXTERN extern #endif EXTERN void reset_secret(void); EXTERN int secret_generate(u_int8_t *secret, u_int16_t size); -EXTERN int cookie_generate(struct stateob *st, +EXTERN int cookie_generate(struct stateob *st, u_int8_t *cookie, u_int16_t size, u_int8_t *data, u_int16_t dsize); #endif |