]> andersk Git - openssh.git/commitdiff
- (djm) [umac.c] Rename variable s/buffer_ptr/bufp/ to avoid clash;
authordjm <djm>
Mon, 14 Jul 2008 02:04:43 +0000 (02:04 +0000)
committerdjm <djm>
Mon, 14 Jul 2008 02:04:43 +0000 (02:04 +0000)
   reported by cristian.ionescu-idbohrn AT axis.com

ChangeLog
umac.c

index abf0854b95fa01b17dca61557997e4be8a6064bf..be9ea981ed44107272ca0855e262b70679bae41e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/umac.c b/umac.c
index 1eba663c0cb733f0509c5e4537e647580ae90589..92902bc09b2f0250c5bbdcfe068d29b47f99938e 100644 (file)
--- a/umac.c
+++ b/umac.c
@@ -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 */
This page took 0.05152 seconds and 5 git commands to generate.