Add Botan 3.0, comment some tests, due to removed algorithms

This commit is contained in:
zhibog
2023-05-03 20:55:11 +02:00
parent 0c3522133d
commit 077a611a5e
5 changed files with 14 additions and 9 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -62,7 +62,7 @@ CRL_SIGN :: x509_cert_key_constraints(512)
ENCIPHER_ONLY :: x509_cert_key_constraints(256)
DECIPHER_ONLY :: x509_cert_key_constraints(128)
HASH_SHA1 :: "SHA1"
HASH_SHA1 :: "SHA-1"
HASH_SHA_224 :: "SHA-224"
HASH_SHA_256 :: "SHA-256"
HASH_SHA_384 :: "SHA-384"
@@ -143,7 +143,7 @@ fpe_t :: ^fpe_struct
when ODIN_OS == .Windows {
foreign import botan_lib "botan.lib"
} else {
foreign import botan_lib "system:botan-2"
foreign import botan_lib "system:botan-3"
}
@(default_calling_convention="c")