]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/esp_core.c
xnu-1699.22.73.tar.gz
[apple/xnu.git] / bsd / netinet6 / esp_core.c
index 3bae5bd183447ff322a679ef88cc702aa71c8059..905de9ba235eec69d6824b419c43be439e965e19 100644 (file)
@@ -1203,7 +1203,7 @@ esp_auth(m0, skip, length, sav, sum)
                        break;
                }
        }
-       (*algo->result)(&s, (caddr_t) sumbuf);
+       (*algo->result)(&s, (caddr_t) sumbuf, sizeof(sumbuf));
        bcopy(sumbuf, sum, siz);        /*XXX*/
        KERNEL_DEBUG(DBG_FNC_ESPAUTH | DBG_FUNC_END, 6,0,0,0,0);
        return 0;