diff options
| author | Werner Koch <[email protected]> | 2014-09-08 17:26:02 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2014-09-08 17:26:02 +0000 |
| commit | 64329cce9a0f21cf941ff2c3f542a08c57cb5378 (patch) | |
| tree | 2757f807c51b06645bff08cb9c85c72e49b151d9 /dirmngr/crlcache.c | |
| parent | gpg: Do not show "MD5" and triplicated "RSA" in --version. (diff) | |
| parent | gpg: Fix memory leak in ECC encryption. (diff) | |
| download | gnupg-64329cce9a0f21cf941ff2c3f542a08c57cb5378.tar.gz gnupg-64329cce9a0f21cf941ff2c3f542a08c57cb5378.zip | |
Merge branch 'wk/test-gpgrt-estream'
Diffstat (limited to 'dirmngr/crlcache.c')
| -rw-r--r-- | dirmngr/crlcache.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c index 8505f9c40..d10e3ca78 100644 --- a/dirmngr/crlcache.c +++ b/dirmngr/crlcache.c @@ -113,7 +113,6 @@ #include "crlfetch.h" #include "misc.h" #include "cdb.h" -#include "estream-printf.h" /* Change this whenever the format changes */ #define DBDIR_D (opt.system_daemon? "crls.d" : "dirmngr-cache.d") @@ -818,8 +817,8 @@ update_dir (crl_cache_t cache) nodename = utsbuf.nodename; #endif - estream_asprintf (&tmpbuf, "DIR-tmp-%s-%u-%p.txt.tmp", - nodename, (unsigned int)getpid (), &tmpbuf); + gpgrt_asprintf (&tmpbuf, "DIR-tmp-%s-%u-%p.txt.tmp", + nodename, (unsigned int)getpid (), &tmpbuf); if (!tmpbuf) { err = gpg_error_from_errno (errno); @@ -2022,8 +2021,8 @@ crl_cache_insert (ctrl_t ctrl, const char *url, ksba_reader_t reader) nodename = utsbuf.nodename; #endif - estream_asprintf (&tmpfname, "crl-tmp-%s-%u-%p.db.tmp", - nodename, (unsigned int)getpid (), &tmpfname); + gpgrt_asprintf (&tmpfname, "crl-tmp-%s-%u-%p.db.tmp", + nodename, (unsigned int)getpid (), &tmpfname); if (!tmpfname) { err = gpg_error_from_syserror (); |
