aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_block.cpp')
-rw-r--r--src/lib/ffi/ffi_block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_block.cpp b/src/lib/ffi/ffi_block.cpp
index bf5cd1b94..71de6943b 100644
--- a/src/lib/ffi/ffi_block.cpp
+++ b/src/lib/ffi/ffi_block.cpp
@@ -16,7 +16,7 @@ BOTAN_FFI_DECLARE_STRUCT(botan_block_cipher_struct, Botan::BlockCipher, 0x64C297
int botan_block_cipher_init(botan_block_cipher_t* bc, const char* bc_name)
{
- return ffi_guard_thunk(BOTAN_CURRENT_FUNCTION, [=]() -> int {
+ return ffi_guard_thunk(__func__, [=]() -> int {
if(bc == nullptr || bc_name == nullptr || *bc_name == 0)
return BOTAN_FFI_ERROR_NULL_POINTER;