Skip to content

Commit

Permalink
ifdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jun 27, 2023
1 parent 2dc1d59 commit bddf108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ crypt_append_msg(
}
}

# ifdef FEAT_SODIUM
void
crypt_sodium_lock_key(
char_u *key)
Expand All @@ -916,6 +917,7 @@ crypt_sodium_lock_key(
sodium_mlock(key, STRLEN(key));
return;
}
# endif

static int
crypt_sodium_init_(
Expand Down

0 comments on commit bddf108

Please sign in to comment.