diff options
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r-- | sm/encrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/encrypt.c b/sm/encrypt.c index 8cc9a8828..50da92c32 100644 --- a/sm/encrypt.c +++ b/sm/encrypt.c @@ -398,8 +398,8 @@ gpgsm_encrypt (CTRL ctrl, CERTLIST recplist, int data_fd, FILE *out_fp) goto leave; } - /* create a session key */ - dek = xtrycalloc (1, sizeof *dek); /* hmmm: should we put it into secmem?*/ + /* Create a session key */ + dek = xtrycalloc_secure (1, sizeof *dek); if (!dek) rc = OUT_OF_CORE (errno); else |