diff options
| author | Mattias Andrée <maandree@operamail.com> | 2015-12-05 11:13:46 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2015-12-05 11:13:46 +0100 | 
| commit | 8fb6e77a618ce1a8151fab27445e0c3cc0241134 (patch) | |
| tree | 73608a9d6880fa65c8046a09b3e6a055d9608ed4 /src/test.c | |
| parent | accept flags (diff) | |
| download | libpassphrase-8fb6e77a618ce1a8151fab27445e0c3cc0241134.tar.gz libpassphrase-8fb6e77a618ce1a8151fab27445e0c3cc0241134.tar.bz2 libpassphrase-8fb6e77a618ce1a8151fab27445e0c3cc0241134.tar.xz | |
beginning of issue #2 on github
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test.c')
| -rw-r--r-- | src/test.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| @@ -19,7 +19,6 @@  #include "passphrase.h"  #include <stdio.h>  #include <stdlib.h> -#include <string.h>  #include <fcntl.h>  #include <unistd.h> @@ -67,7 +66,7 @@ int main(int argc, char** argv)    printf("You entered: %s\n", passphrase);    /* Wipe and free the passphrase */ -  passphrase_wipe(passphrase, strlen(passphrase)); +  passphrase_wipe1(passphrase);    free(passphrase);    /* Stop hiding user input */ | 
