aboutsummaryrefslogtreecommitdiffstats
path: root/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw2009-04-032-6/+9
| | | | | | | | | | a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine). * http.h: Allow passing srvtag to http_open and http_open_document. * http.c (http_open, http_open_document): Allow passing srvtag to http_open and http_open_document.
* * http.c (connect_server): free (rather than xfree) the result ofDavid Shaw2009-04-032-2/+7
| | | | | getsrv().
* * Makefile.am: Make srv.c part of libcompat instead of libutil.David Shaw2009-04-033-14/+24
| | | | | | | * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ is too small these days. Use libc malloc and free as we're part of libcompat now which may not be linked to memory.c.
* * iobuf.c (fd_cache_synchronize): New. fsync() a file in cache.David Shaw2009-03-202-8/+60
| | | | | | (iobuf_ioctl): Called here, for ioctl 4. (fd_cache_invalidate): Pass return code from close() back to iobuf_ioctl().
* * http.c (do_parse_uri): Properly handle IPv6 literal addresses as perDavid Shaw2009-03-132-6/+20
| | | | | RFC-2732. Adapted from patch by Phil Pennock.
* * Makefile.am, http.c (start_server): Minor tweaks to get http-testDavid Shaw2009-03-133-8/+14
| | | | | compiling again.
* * Makefile.am: Use $(CC) instead of "cc" to compile, as the user mightDavid Shaw2008-09-052-4/+9
| | | | | be overriding the compiler.
* Fix possible NULL argument to printfWerner Koch2008-08-192-13/+27
|
* * argparse.c (default_strusage): Update copyright date.David Shaw2008-03-062-3/+7
|
* Comment typ fixes.Werner Koch2007-12-031-1/+1
| | | | | Workaround for bad translations of the capability menu.
* Switched to GPLv3.Werner Koch2007-10-2340-175/+115
| | | | | Updated gettext.
* Improved detection of ketrings specified several times.Werner Koch2007-08-242-23/+95
|
* Move some ascii_foo functions to libcompatDavid Shaw2007-04-163-70/+75
|
* util/Werner Koch2007-04-162-5/+12
| | | | | | | | | | | * secmem.c (init_pool): Avoid assigning a negative value to a size_t. ./ * acinclude.m4: Fix last change. Make test self-conatined by checking for sysconf and getpagesize. Remove indentation for the sake of broken C-89 cpps.
* Use sysconf() when possible as not all platforms have getpagesize().David Shaw2007-04-162-5/+14
|
* * argparse.c (default_strusage): Copyright 2007.David Shaw2007-04-155-6/+15
| | | | | * cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().
* [W32] Make use of the LANGUAGE envvar.Werner Koch2007-02-262-71/+135
|
* * secmem.c (ptr_into_pool_p): New.Werner Koch2007-02-122-1/+24
| | | | | | | (m_is_secure): Implement in terms of above. Also check that the pool has been initialized.
* * http.c (do_parse_uri): Remove the hkp port 11371 detection. WeDavid Shaw2007-02-112-2/+6
| | | | | | implement hkp in the keyserver handler, and the support here makes it appear like a bad hkp request actually succeeded.
* * ttyio.c (do_get): Assume that anything read from the user withoutDavid Shaw2007-02-012-1/+8
| | | | | | echoing to the screen is sensitive and put it in secure memory. Suggested by Benjamin Bennett.
* Fix bug#739 (proxy/shutdown)Werner Koch2006-12-142-2/+10
|
* * strsep.c (strsep): It's strsep, not strsep2 from testing. (If I hadDavid Shaw2006-10-032-1/+6
| | | | | a dollar for every time I've done that...)
* Move strsep() and ascii_isspace() to libcompat.David Shaw2006-09-283-50/+50
|
* Put in the basic wiring (just hextobyte for now) for a libcompat.a thatDavid Shaw2006-09-284-28/+44
| | | | | | | can contain replacement files that can be linked to keyserver helpers without bringing in the whole libutil.a. libutil.a contains a complete copy of libcompat.a so we only need to link to one of them.
* Fixed bug 479. Not a real good fix but a reliable one which limits possibleWerner Koch2006-07-312-4/+26
| | | | | breakage of other partys of the code.
* 2006-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-07-292-0/+5
| | | | | * secmem.c (init_pool): Close FD after establishing the mapping.
* * http.c (send_request): A zero-length proxy is the same as no proxy atDavid Shaw2006-07-202-1/+6
| | | | | all. Suggested by J. Scott Berg.
* * configure.ac: Fix resolver autoconf code so it works (fails)David Shaw2006-07-081-4/+4
| | | | | properly with uClibc.
* About to do a new releaseWerner Koch2006-06-252-8/+8
|
* * miscutil.c (make_printable_string): Fix bug where some controlDavid Shaw2006-04-172-1/+6
| | | | | characters lose part of their ASCII representation.
* * memory.c (realloc): Revert m_guard fix and stick an #error in there toDavid Shaw2006-04-112-4/+10
| | | | | inform people not to use it.
* Add new regression testWerner Koch2006-04-112-8/+18
|
* * memory.c (realloc): Fix compile problem with --enable-m-guard.David Shaw2006-04-062-5/+9
|
* * cert.c (main): Fix test program build warning on OSX.David Shaw2006-03-302-2/+6
|
* * cert.c (get_cert): Handle the fixed IPGP type with fingerprint.David Shaw2006-03-162-15/+62
|
* * argparse.c (default_strusage): Update copyright year to 2006.David Shaw2006-03-092-2/+6
|
* * http.c (send_request): A zero length proxy is the same as no proxy.David Shaw2006-02-192-1/+6
|
* Fixed a wrong return code with gpg --verifyWerner Koch2006-02-142-0/+5
|
* * cert.c (get_cert): Disable IPGP types for now until the format questionsDavid Shaw2006-01-263-2/+12
| | | | | | | in the draft are settled. * srv.c (getsrv): Error on oversize SRV responses.
* * cert.c (get_cert): Properly chase down CNAMEs pointing to CERTs.David Shaw2005-12-242-4/+14
|
* New code to do DNS CERT queries.David Shaw2005-12-233-1/+209
|
* * srv.c, Makefile.am: Only build srv.c if we need to.David Shaw2005-12-233-4/+9
|
* * ttyio.c (tty_enable_completion, tty_disable_completion): Add checksDavid Shaw2005-12-122-0/+14
| | | | | | for no_terminal so we don't try to open("/dev/tty") when invoked with --no-tty.
* Some cleanup so we don't build files that are completely ifdeffed out. David Shaw2005-12-062-16/+26
| | | | | | This causes a warning on Sun's cc. Do the internal regex code as well for consistency.
* * mkdtemp.c (mkdtemp): Fix warning.David Shaw2005-12-065-13/+20
| | | | | | * secmem.c, assuan-buffer.c, dotlock.c: Fix a few warnings from printf-ing %p where the arg wasn't void *.
* Fix various build warnings reported by Joe Vender on MinGW.David Shaw2005-11-032-0/+11
|
* Renamed g10.c to gpg.cWerner Koch2005-10-053-8/+56
| | | | Filelength fixes for W32.
* * fileutil.c (untilde): New. Expand ~/foo and ~username/foo filenamesDavid Shaw2005-08-312-7/+76
| | | | | | into full paths using $HOME if possible, or getpwuid/getpwnam if necessary. (make_filename): Use it here.
* Implemented PKA trust modelWerner Koch2005-07-282-2/+4
|
* Implemented PKA trust modelWerner Koch2005-07-284-3/+273
|