aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_pk_op.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-06 14:08:39 -0400
committerJack Lloyd <[email protected]>2017-09-06 14:08:39 -0400
commit8a9722d234eef597353afa3c819335d5aec64875 (patch)
treea8cdeb2b972637b813868f269599185631527387 /src/lib/ffi/ffi_pk_op.cpp
parent9972e0fc2b407ea831f4cf90c5196b8b343e5e3a (diff)
Correct return value of botan_pk_op_verify_finish
This function changed behavior in 0d403a3 see also GH #1187 Add new return code BOTAN_FFI_INVALID_VERIFIER and use it for both signature and bcrypt verification functions.
Diffstat (limited to 'src/lib/ffi/ffi_pk_op.cpp')
-rw-r--r--src/lib/ffi/ffi_pk_op.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_pk_op.cpp b/src/lib/ffi/ffi_pk_op.cpp
index d0ac8e3c7..fa3b32725 100644
--- a/src/lib/ffi/ffi_pk_op.cpp
+++ b/src/lib/ffi/ffi_pk_op.cpp
@@ -164,7 +164,7 @@ int botan_pk_op_verify_finish(botan_pk_op_verify_t op, const uint8_t sig[], size
if(legit)
return BOTAN_FFI_SUCCESS;
else
- return BOTAN_FFI_ERROR_INVALID_INPUT;
+ return BOTAN_FFI_INVALID_VERIFIER;
});
}