aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passphrase.c')
-rw-r--r--src/passphrase.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/passphrase.c b/src/passphrase.c
index ae7ad36..ad9062d 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -42,10 +42,6 @@ static struct termios saved_stty;
*/
char* passphrase_read(void)
{
- /* malloc and realloc returns NULL if we run out of memory,
- we will not do that under normal usecases, if we do, it
- okay to segfault on null derefencing and quit on that. */
-
char* rc = malloc(START_PASSPHRASE_LIMIT * sizeof(char));
long size = START_PASSPHRASE_LIMIT;
long len = 0;