Page MenuHomeFreeBSD

Fixed crypto tool compilation errors.
Needs ReviewPublic

Authored by ksawery.wieczorkowski-rettinger_mobica.com on May 22 2023, 12:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 18 2024, 8:28 AM
Unknown Object (File)
Dec 24 2023, 8:45 AM
Unknown Object (File)
Dec 22 2023, 12:13 AM
Unknown Object (File)
Dec 13 2023, 2:47 AM
Unknown Object (File)
Dec 9 2023, 8:04 AM
Unknown Object (File)
Dec 7 2023, 4:26 PM
Unknown Object (File)
Nov 1 2023, 6:29 PM
Unknown Object (File)
Oct 30 2023, 3:18 PM
Subscribers

Details

Reviewers
jhb
markj
Summary

Fixed compilation errors in the cryptocheck, cryptotest, cryptostats, hifnstats, safestats and ipsecstats tools. Added missing cryptostats and cryptotstat declarations in cryptodev.h.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 51592
Build 48483: arc lint + arc unit

Event Timeline

Could you please split the compilation fixes into a separate patch?

tools/tools/crypto/cryptocheck.c
758

The indentation here was correct before, now it's wrong.

sys/opencrypto/cryptodev.h
320

These fields were removed a while ago. The right solution is to remove references to these fields from userspace utilities, not to re-add them to the kernel.

tools/tools/crypto/cryptotest.c
191

This should probably be size_t instead.

202

Ditto.

266

These can be declared in the for-loop headers where they are used.

661