diff options
author | djm <djm> | 2008-07-14 02:04:43 +0000 |
---|---|---|
committer | djm <djm> | 2008-07-14 02:04:43 +0000 |
commit | 4742a1ea50e2a354b4d4f749510966d3a1d1b3a6 (patch) | |
tree | 6d50240456e1b1187273deb63e90029c3bf00450 | |
parent | d815f60a50c2d702af8d032765f804d4e7274503 (diff) | |
download | openssh-4742a1ea50e2a354b4d4f749510966d3a1d1b3a6.tar.gz |
- (djm) [umac.c] Rename variable s/buffer_ptr/bufp/ to avoid clash;
reported by cristian.ionescu-idbohrn AT axis.com
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | umac.c | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -20,6 +20,8 @@ cristian.ionescu-idbohrn AT axis.com - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close() prototype; reported by cristian.ionescu-idbohrn AT axis.com + - (djm) [umac.c] Rename variable s/buffer_ptr/bufp/ to avoid clash; + reported by cristian.ionescu-idbohrn AT axis.com 20080712 - (djm) OpenBSD CVS Sync @@ -4656,4 +4658,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5080 2008/07/14 02:03:27 djm Exp $ +$Id: ChangeLog,v 1.5081 2008/07/14 02:04:43 djm Exp $ @@ -181,14 +181,14 @@ typedef AES_KEY aes_int_key[1]; /* The user-supplied UMAC key is stretched using AES in a counter * mode to supply all random bits needed by UMAC. The kdf function takes * an AES internal key representation 'key' and writes a stream of - * 'nbytes' bytes to the memory pointed at by 'buffer_ptr'. Each distinct + * 'nbytes' bytes to the memory pointed at by 'bufp'. Each distinct * 'ndx' causes a distinct byte stream. */ -static void kdf(void *buffer_ptr, aes_int_key key, UINT8 ndx, int nbytes) +static void kdf(void *bufp, aes_int_key key, UINT8 ndx, int nbytes) { UINT8 in_buf[AES_BLOCK_LEN] = {0}; UINT8 out_buf[AES_BLOCK_LEN]; - UINT8 *dst_buf = (UINT8 *)buffer_ptr; + UINT8 *dst_buf = (UINT8 *)bufp; int i; /* Setup the initial value */ |