]> git.ipfire.org Git - thirdparty/openssl.git/commit
packet: add new utility function PACKET_get_4_len()
authorPauli <ppzgs1@gmail.com>
Wed, 25 Jun 2025 23:03:38 +0000 (09:03 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 10 Jul 2025 09:04:37 +0000 (19:04 +1000)
commit19126fcf230dc0b7b2d2785ec5e851c97fb15f93
tree2346ef2381c05775c556b768464e77bd0b86c2b7
parent8b449d01a7d73bd9567dd30be17238ab50249ee1
packet: add new utility function PACKET_get_4_len()

Get 4 bytes in network order from |pkt| and store the value in |*data|
Similar to PACKET_get_net_4() except the data is uint32_t

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27885)
include/internal/packet.h