aboutsummaryrefslogtreecommitdiffstats
path: root/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Converted all m_free to xfree etc.Werner Koch2005-07-2718-183/+192
|
* * gpg.sgml (http):Werner Koch2005-07-221-5/+0
| | | | | | * g10.c, options.h: New option --exit-on-status-write-error. * status.c (write_status_text): Make use of this option.
* * tdbio.c (open_db): Check for EROFS. Suggested by Bryce Nichols.Werner Koch2005-07-182-1/+15
| | | | | | * ttyio.c (do_get): Move printing of the prompt after disabling echo. Suggested by Scott Worley.
* * http.c (make_radix64_string): Add '=' padding as per standard.David Shaw2005-06-232-32/+53
| | | | | | | (send_request, http_open, http_open_document): Clean up auth code. Can now support different auth for a proxy and the file being requested via that proxy. Unescape auth strings.
* * memrchr.c (memrchr): Not all compilers allow initializing based on aDavid Shaw2005-06-222-1/+9
| | | | | variable that is also being initialized. Noted by Nelson H. F. Beebe.
* * http.c (send_request, http_open, http_open_document): Pass in authDavid Shaw2005-06-222-7/+17
| | | | | and proxyauth that can override the in-url auth.
* * http.c (send_request): Need == after the radix64-encoded basic authDavid Shaw2005-06-222-4/+9
| | | | | string.
* * dotlock.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on mingw32.David Shaw2005-06-082-49/+48
| | | | | Noted by Joe Vender.
* * keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.Werner Koch2005-05-312-1/+5
| | | | | | | | | | | | | * cardglue.c (assuan_strerror, assuan_transact): Dummy functions if not build with agent support. * zh_TW.po, zh_CN.po, es.po, ro.po: Updated. * tr.po: Updated from TP. Note: this is an exception in general translations from the Robot are not anymore accepted. * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined.
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-3137-38/+68
|
* * strgutil.c (set_native_charset) [_WIN32]: Add alias for codepageDavid Shaw2005-05-302-1/+7
| | | | | CP65001 to utf-8.
* * cardglue.c (send_status_info): Make CTRL optional.Werner Koch2005-05-213-1/+88
| | | | | | | | | | | (agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.