Skip to content

Commit

Permalink
Merge pull request #12 from wolfmcnally/master
Browse files Browse the repository at this point in the history
Fix typo in error symbol.
  • Loading branch information
wolfmcnally committed Aug 16, 2021
2 parents 532f850 + 6e260ca commit 90a58d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/encoding.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int deserialize_shard(
sskr_shard *shard
) {
if(source_len < MIN_SERIALIZED_LENGTH_BYTES) {
return SSKR_ERROR_NOT_ENOUGH_SERILIZED_BYTES;
return SSKR_ERROR_NOT_ENOUGH_SERIALIZED_BYTES;
}

size_t group_threshold = (source[2] >> 4) + 1;
Expand Down
2 changes: 1 addition & 1 deletion src/sskr-errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef SSKR_ERRORS_H
#define SSKR_ERRORS_H

#define SSKR_ERROR_NOT_ENOUGH_SERILIZED_BYTES (-1)
#define SSKR_ERROR_NOT_ENOUGH_SERIALIZED_BYTES (-1)
#define SSKR_ERROR_SECRET_TOO_SHORT (-2)
#define SSKR_ERROR_INVALID_GROUP_THRESHOLD (-3)
#define SSKR_ERROR_INVALID_SINGLETON_MEMBER (-4)
Expand Down

0 comments on commit 90a58d9

Please sign in to comment.