diff options
author | 2018-04-13 08:26:55 -0400 | |
---|---|---|
committer | 2018-04-13 08:26:55 -0400 | |
commit | 517b6dabdfeb9ac6aefa5c255ad6dc73ee65410f (patch) | |
tree | 2e2eea866e21d7f3484ef8efde82b5a6a6a2bfb0 /include/swaylock/swaylock.h | |
parent | Merge branch 'master' of github.com:swaywm/sway (diff) | |
parent | swaylock: Securely zero-out password. (diff) | |
download | sway-517b6dabdfeb9ac6aefa5c255ad6dc73ee65410f.tar.gz sway-517b6dabdfeb9ac6aefa5c255ad6dc73ee65410f.tar.zst sway-517b6dabdfeb9ac6aefa5c255ad6dc73ee65410f.zip |
Merge pull request #1803 from ggreer/swaylock-secure-password
swaylock: Securely zero-out password.
Diffstat (limited to 'include/swaylock/swaylock.h')
-rw-r--r-- | include/swaylock/swaylock.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index 173e8b12..ed9fea19 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -24,9 +24,8 @@ struct swaylock_args { | |||
24 | }; | 24 | }; |
25 | 25 | ||
26 | struct swaylock_password { | 26 | struct swaylock_password { |
27 | size_t size; | ||
28 | size_t len; | 27 | size_t len; |
29 | char *buffer; | 28 | char buffer[1024]; |
30 | }; | 29 | }; |
31 | 30 | ||
32 | struct swaylock_state { | 31 | struct swaylock_state { |