Update keyfetch_done compute_tag check
If in keyfetch_done the compute_tag fails (because for example the algorithm is not supported), don't crash, but instead ignore the key.
This commit is contained in:
committed by
Evan Hunt
parent
38c2bdba0a
commit
f09352d20a
@@ -70,8 +70,7 @@ typedef struct dst_context dst_context_t;
|
||||
#define DST_ALG_HMACSHA512 165 /* XXXMPA */
|
||||
#define DST_ALG_INDIRECT 252
|
||||
#define DST_ALG_PRIVATE 254
|
||||
#define DST_ALG_EXPAND 255
|
||||
#define DST_MAX_ALGS 255
|
||||
#define DST_MAX_ALGS 256
|
||||
|
||||
/*% A buffer of this size is large enough to hold any key */
|
||||
#define DST_KEY_MAXSIZE 1280
|
||||
|
||||
Reference in New Issue
Block a user