diff options
author | Jack Lloyd <[email protected]> | 2017-09-06 14:08:39 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-06 14:08:39 -0400 |
commit | 8a9722d234eef597353afa3c819335d5aec64875 (patch) | |
tree | a8cdeb2b972637b813868f269599185631527387 /src/lib/ffi/ffi.h | |
parent | 9972e0fc2b407ea831f4cf90c5196b8b343e5e3a (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.h')
-rw-r--r-- | src/lib/ffi/ffi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index 565d5ce7b..fecb10978 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -136,6 +136,8 @@ doesn't exactly work well either! */ #define BOTAN_FFI_SUCCESS (0) +#define BOTAN_FFI_INVALID_VERIFIER (1) + #define BOTAN_FFI_ERROR_INVALID_INPUT (-1) #define BOTAN_FFI_ERROR_BAD_MAC (-2) |