aboutsummaryrefslogtreecommitdiffstats
path: root/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-28The rest of the VMS changes.Werner Koch4-3/+35
2010-09-28Minor changes to help the VMS portWerner Koch5-14/+92
2010-09-23Preparing a release candidateWerner Koch1-1/+1
2010-05-12Fix bug 1179Werner Koch1-1/+1
2009-09-03Fix a W32 problemWerner Koch4-5/+21
2009-09-03Update zH_TW and check for stdint.hWerner Koch2-337/+24
2009-08-25Restructured the compat functions and changed its license.Werner Koch2-0/+113
New fucntion xstrconcat for future use.
2009-08-18Fix compiler size warning for debug outputWerner Koch2-1/+4
2009-08-18* miscutil.c (print_string2): Loose check for control charactersWerner Koch2-1/+8
to better cope with utf-8. The range 0x80..0x9f is nowadays not anymore accidently used for control charaters. Fixes bug#1103.
2009-08-12Try and detect mis-coded Latin1 and convert it to UTF8. Whether theDavid Shaw2-0/+76
heuristics succeed or not, the resulting string must be valid UTF8 as LDAP requires that. This is bug 1055.
2009-07-23* srv.c (getsrv): Fix type-punning warning. (main): Allow testing anyDavid Shaw2-3/+15
SRV.
2009-07-21First set of changes to backport the new card code from 2.0.Werner Koch7-115/+2467
For compatibility reasons a few new files had to be added. Also added estream-printf as this is now used in app-openpgp.c and provides a better and generic asprintf implementation than the hack we used for the W32 code in ttyio.c. Card code is not yet finished.
2009-05-26Avoid caches to get the most recent copy of the key. This is bugDavid Shaw2-7/+27
#1061
2009-05-22Fixed bug1058.Werner Koch2-0/+12
2009-05-05Improve dotlocking.Werner Koch2-211/+386
Implement locking for W32.
2009-05-05Backport of Creation-Date parameter for unattended key generation.Werner Koch2-0/+55
2009-04-06* srv.h: Move to include/srv.h.David Shaw3-53/+13
* http.c (send_request): Pass in srvtag... (http_open): ...from here.
2009-04-03* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw2-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.
2009-04-03* http.c (connect_server): free (rather than xfree) the result ofDavid Shaw2-2/+7
getsrv().
2009-04-03* Makefile.am: Make srv.c part of libcompat instead of libutil.David Shaw3-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.
2009-03-20* iobuf.c (fd_cache_synchronize): New. fsync() a file in cache.David Shaw2-8/+60
(iobuf_ioctl): Called here, for ioctl 4. (fd_cache_invalidate): Pass return code from close() back to iobuf_ioctl().
2009-03-13* http.c (do_parse_uri): Properly handle IPv6 literal addresses as perDavid Shaw2-6/+20
RFC-2732. Adapted from patch by Phil Pennock.
2009-03-13* Makefile.am, http.c (start_server): Minor tweaks to get http-testDavid Shaw3-8/+14
compiling again.
2008-09-05* Makefile.am: Use $(CC) instead of "cc" to compile, as the user mightDavid Shaw2-4/+9
be overriding the compiler.
2008-08-19Fix possible NULL argument to printfWerner Koch2-13/+27
2008-03-06* argparse.c (default_strusage): Update copyright date.David Shaw2-3/+7
2007-12-03Comment typ fixes.Werner Koch1-1/+1
Workaround for bad translations of the capability menu.
2007-10-23Switched to GPLv3.Werner Koch40-175/+115
Updated gettext.
2007-08-24Improved detection of ketrings specified several times.Werner Koch2-23/+95
2007-04-16Move some ascii_foo functions to libcompatDavid Shaw3-70/+75
2007-04-16util/Werner Koch2-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.
2007-04-16Use sysconf() when possible as not all platforms have getpagesize().David Shaw2-5/+14
2007-04-15* argparse.c (default_strusage): Copyright 2007.David Shaw5-6/+15
* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().
2007-02-26[W32] Make use of the LANGUAGE envvar.Werner Koch2-71/+135
2007-02-12 * secmem.c (ptr_into_pool_p): New.Werner Koch2-1/+24
(m_is_secure): Implement in terms of above. Also check that the pool has been initialized.
2007-02-11* http.c (do_parse_uri): Remove the hkp port 11371 detection. WeDavid Shaw2-2/+6
implement hkp in the keyserver handler, and the support here makes it appear like a bad hkp request actually succeeded.
2007-02-01* ttyio.c (do_get): Assume that anything read from the user withoutDavid Shaw2-1/+8
echoing to the screen is sensitive and put it in secure memory. Suggested by Benjamin Bennett.
2006-12-14Fix bug#739 (proxy/shutdown)Werner Koch2-2/+10
2006-10-03* strsep.c (strsep): It's strsep, not strsep2 from testing. (If I hadDavid Shaw2-1/+6
a dollar for every time I've done that...)
2006-09-28Move strsep() and ascii_isspace() to libcompat.David Shaw3-50/+50
2006-09-28Put in the basic wiring (just hextobyte for now) for a libcompat.a thatDavid Shaw4-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.
2006-07-31Fixed bug 479. Not a real good fix but a reliable one which limits possibleWerner Koch2-4/+26
breakage of other partys of the code.
2006-07-292006-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+5
* secmem.c (init_pool): Close FD after establishing the mapping.
2006-07-20* http.c (send_request): A zero-length proxy is the same as no proxy atDavid Shaw2-1/+6
all. Suggested by J. Scott Berg.
2006-07-08* configure.ac: Fix resolver autoconf code so it works (fails)David Shaw1-4/+4
properly with uClibc.
2006-06-25About to do a new releaseWerner Koch2-8/+8
2006-04-17* miscutil.c (make_printable_string): Fix bug where some controlDavid Shaw2-1/+6
characters lose part of their ASCII representation.
2006-04-11* memory.c (realloc): Revert m_guard fix and stick an #error in there toDavid Shaw2-4/+10
inform people not to use it.
2006-04-11Add new regression testWerner Koch2-8/+18
2006-04-06* memory.c (realloc): Fix compile problem with --enable-m-guard.David Shaw2-5/+9