1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

src: Use explicit_bzero() if available on the platform

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-02-12 14:35:55 +01:00
parent 25ff1214a4
commit ebcff9fd63
17 changed files with 48 additions and 52 deletions

View File

@@ -246,7 +246,7 @@ void ssh_string_burn(struct ssh_string_struct *s) {
return;
}
BURN_BUFFER(s->data, ssh_string_len(s));
explicit_bzero(s->data, ssh_string_len(s));
}
/**