bradleycha / cliauth

Minimal cross-platform terminal authenticator app.
GNU General Public License v3.0
0 stars 0 forks source link

Change byte array parameter types from "const void *" to "const CliAuthUInt8 []" #3

Closed bradleycha closed 2 months ago

bradleycha commented 2 months ago

All functions in the program which take a generic byte array currently take a void pointer as the byte array pointer. This should be a CliAuthUInt8 array instead. This provides type safety and forces the caller to intentionally provide a byte array instead of generic data, which may help avoid endianess UB footguns.

bradleycha commented 2 months ago

Resolved with 22eee5c