mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 22:28:43 +08:00
Update to FreeBSD stable/12 2020-02-10
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
This commit is contained in:
@@ -136,7 +136,7 @@ signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen,
|
||||
/*
|
||||
* Do we have all the packet data to be checked?
|
||||
*/
|
||||
if (!ND_TTEST2(pptr, plen)) {
|
||||
if (!ND_TTEST2(*pptr, plen)) {
|
||||
/* No. */
|
||||
return (CANT_CHECK_SIGNATURE);
|
||||
}
|
||||
@@ -144,7 +144,7 @@ signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen,
|
||||
/*
|
||||
* Do we have the entire signature to check?
|
||||
*/
|
||||
if (!ND_TTEST2(sig_ptr, sizeof(sig))) {
|
||||
if (!ND_TTEST2(*sig_ptr, sizeof(sig))) {
|
||||
/* No. */
|
||||
return (CANT_CHECK_SIGNATURE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user