aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-07-24 22:56:11 -0400
committerPaul Selkirk <paul@psgd.org>2018-07-25 00:49:44 -0400
commit253f7b849c18455da0b5bae0c25fdca0e16c8015 (patch)
tree559cb12b83f3d413c867a9c8be10dbff00ccac46 /hash.c
parent64d415775323dd8a435a0db3548d6b642df4ad99 (diff)
parent653d6b406c82848875f3581da41f095aade30338 (diff)
Merge branch 'hashsig'
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index cb9eb1f..2a63900 100644
--- a/hash.c
+++ b/hash.c
@@ -447,7 +447,7 @@ hal_error_t hal_hash_initialize(hal_core_t *core,
hal_core_free(core);
/* A dynamically allocated core that can't restore state isn't going to work. */
- if (!state->descriptor->can_restore_state && (flags & STATE_FLAG_FREE_CORE) != 0)
+ if (!descriptor->can_restore_state && (flags & STATE_FLAG_FREE_CORE) != 0)
return HAL_ERROR_BAD_ARGUMENTS;
if (state_buffer == NULL && (state = alloc_static_hash_state()) == NULL)