diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-03-27 17:00:13 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-03-27 17:02:42 +0000 |
commit | 059e42a76436f2639142a0fda905c14b1873d0e3 (patch) | |
tree | b35e91173092e7f6108cd9d77aa606103f0f65ac /src | |
parent | 945aca263c27696543d823e36070783e89d1f2f2 (diff) |
GnuTLS: use a less bogus-looking temporary filename for DH-parameters
Diffstat (limited to 'src')
-rw-r--r-- | src/src/tls-gnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c index 89e3ef2f6..954fd76b1 100644 --- a/src/src/tls-gnu.c +++ b/src/src/tls-gnu.c @@ -851,7 +851,7 @@ if (rc < 0) return tls_error(US"Filename too long to generate replacement", filename, NULL, errstr); - temp_fn = string_copy(US"%s.XXXXXXX"); + temp_fn = string_copy(US"exim-dh.XXXXXXX"); if ((fd = mkstemp(CS temp_fn)) < 0) /* modifies temp_fn */ return tls_error_sys(US"Unable to open temp file", errno, NULL, errstr); (void)exim_chown(temp_fn, exim_uid, exim_gid); /* Probably not necessary */ |