From 553292ffd0b518b5332355cd0c9695e3168b5285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Sat, 26 Feb 2022 08:47:58 +0000 Subject: [PATCH] vendor: botan: add OpenBSD support --- vendor/botan/bindings/botan.odin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vendor/botan/bindings/botan.odin b/vendor/botan/bindings/botan.odin index 70311523d..3eaad0bc1 100644 --- a/vendor/botan/bindings/botan.odin +++ b/vendor/botan/bindings/botan.odin @@ -146,6 +146,8 @@ when ODIN_OS == .Windows { foreign import botan_lib "system:botan-2" } else when ODIN_OS == .Darwin { foreign import botan_lib "system:botan-2" +} else when ODIN_OS == .OpenBSD { + foreign import botan_lib "system:botan-2" } @(default_calling_convention="c") @@ -471,4 +473,4 @@ foreign botan_lib { fpe_destroy :: proc(fpe: fpe_t) -> c.int --- fpe_encrypt :: proc(fpe: fpe_t, x: mp_t, tweak: ^c.char, tweak_len: c.size_t) -> c.int --- fpe_decrypt :: proc(fpe: fpe_t, x: mp_t, tweak: ^c.char, tweak_len: c.size_t) -> c.int --- -} \ No newline at end of file +}