diff options
author | Jack Lloyd <[email protected]> | 2021-02-20 08:13:12 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2021-02-20 08:13:12 -0500 |
commit | 91b70d3713fd5623acf268bdd1ed35c38a660484 (patch) | |
tree | abccbbfec75047cb2e6424bef02731bd5b44b497 /src/lib/ffi | |
parent | 302751e886c0041b28040f52d4ac72725bfeb75e (diff) |
Bump the ffi version to indicate support for custom RNG
Diffstat (limited to 'src/lib/ffi')
-rw-r--r-- | src/lib/ffi/ffi.cpp | 4 | ||||
-rw-r--r-- | src/lib/ffi/info.txt | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp index 257871a61..9126394ed 100644 --- a/src/lib/ffi/ffi.cpp +++ b/src/lib/ffi/ffi.cpp @@ -200,6 +200,10 @@ uint32_t botan_ffi_api_version() int botan_ffi_supports_api(uint32_t api_version) { + // This is the API introduced in 2.18 + if(api_version == 20210220) + return BOTAN_FFI_SUCCESS; + // This is the API introduced in 2.13 if(api_version == 20191214) return BOTAN_FFI_SUCCESS; diff --git a/src/lib/ffi/info.txt b/src/lib/ffi/info.txt index 3de60322e..865beb61e 100644 --- a/src/lib/ffi/info.txt +++ b/src/lib/ffi/info.txt @@ -1,5 +1,5 @@ <defines> -FFI -> 20191214 +FFI -> 20210220 </defines> <header:internal> |