1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2025-02-24 16:06:26 -05:00

Fix wrong spot

This commit is contained in:
Raymond Li 2020-07-18 22:08:12 -04:00
parent 815158e8c1
commit 83c27890e4
No known key found for this signature in database
GPG key ID: A014EA89B62BBB1B

View file

@ -28,7 +28,7 @@
#include <err.h>
#include <errno.h>
#include <assert.h>
#ifdef HAVE_EXPLICIT_BZERO
#ifdef __OpenBSD__
#include <bsd_auth.h>
#else
#include <security/pam_appl.h>
@ -404,7 +404,7 @@ static bool load_compose_table(const char *locale) {
*
*/
static void clear_password_memory(void) {
#ifdef __OpenBSD__
#ifdef HAVE_EXPLICIT_BZERO
/* Use explicit_bzero(3) which was explicitly designed not to be
* optimized out by the compiler. */
explicit_bzero(password, strlen(password));