summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-11-29 18:37:02 +0000
committerjca <jca@openbsd.org>2016-11-29 18:37:02 +0000
commit6b22954c9592090bc121f26d4e8a5ccf85b5e68f (patch)
treea7f70802698acdcdbc7ce917c006de80c64cd0d3 /lib/libcrypto
parentseperate these descriptions into seperate files to reduce confusion. (diff)
downloadwireguard-openbsd-6b22954c9592090bc121f26d4e8a5ccf85b5e68f.tar.xz
wireguard-openbsd-6b22954c9592090bc121f26d4e8a5ccf85b5e68f.zip
Stop exporting the eproto_db array, export a pointer to it instead.
tcpdump directly uses eproto_db even though it is not part of the libpcap API. This means that we can't freely add members to this array, else ld.so complains about size mismatches. Keep the data in a static array instead and make it usable by tcpdump through a pointer whose size won't change in the future. A minor bump is enough here for ld.so to stop complaining. While here, mark _eproto_db and llc_db as const, as they are meant to be. Suggested by and ok deraadt@
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions