diff options
| author | Frank Denis <github@pureftpd.org> | 2025-02-19 19:25:04 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-02-21 22:45:38 +0100 |
| commit | 65e7ede4994237f160e8db558e74da113f886f98 (patch) | |
| tree | ccc4491c0bfc8ff0159acd71f46976efd48203f0 /lib/std/Build/Step/ConfigHeader.zig | |
| parent | 05d8b565ad1a1d6c0c1e93dc47f1d828043fcafc (diff) | |
| download | zig-65e7ede4994237f160e8db558e74da113f886f98.tar.gz zig-65e7ede4994237f160e8db558e74da113f886f98.zip | |
crypto.Ed25519.KeyPair: return an error rather than assert
When runtime safety is turned on, `Ed25519.fromSecretKey()` can
currently hit an assertion if the format of the secret key is
invalid.
Return an error instead, so that applications can recover.
Diffstat (limited to 'lib/std/Build/Step/ConfigHeader.zig')
0 files changed, 0 insertions, 0 deletions
