aboutsummaryrefslogtreecommitdiffstats
path: root/util/miscutil.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow building with the 32 bit mingw-w64 toolchain.Werner Koch2012-01-121-0/+4
| | | | | | | | | | | | | | | | * scripts/autogen.sh <--build-w32>: Support i686-w64-mingw32 and use it by default if installed. * keyserver/gpgkeys_ldap.c (my_ldap_start_tls_s): Define macro depending on compiler version. (main): Use new macro. * util/miscutil.c [!HAVE_TIMEGM]: Add prototype for the timegm autoconf replacement function. -- It seems that the LDAP keyserver helper build with the old mingw32 toolchain never worked correctly for LDAPS. The prototype there for ldap_start_tls_s is plainly wrong for Windows. Anyway I included special support so not to break building with the old compiler.
* Use gcc pragmas to suppress some warnings.Werner Koch2012-01-101-7/+14
| | | | | | | | | * configure.ac (AH_BOTTOM): Add GNUPG_GCC_VERSION macro. * util/estream-printf.c (pr_float): Use new gcc pragma to ignore a warning about a non-literal format. * util/miscutil.c (asctimestamp): Ditto. * cipher/md.c (md_stop_debug): Use new gcc pragme to ignore a warning * about a set but unused variable.
* Detect unsigned time_t and adjust y2038 detection.Werner Koch2010-10-271-5/+13
|
* * miscutil.c (print_string2): Loose check for control charactersWerner Koch2009-08-181-1/+2
| | | | | | to better cope with utf-8. The range 0x80..0x9f is nowadays not anymore accidently used for control charaters. Fixes bug#1103.
* Backport of Creation-Date parameter for unattended key generation.Werner Koch2009-05-051-0/+51
|
* Switched to GPLv3.Werner Koch2007-10-231-4/+2
| | | | | Updated gettext.
* Put in the basic wiring (just hextobyte for now) for a libcompat.a thatDavid Shaw2006-09-281-25/+0
| | | | | | | 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.
* About to do a new releaseWerner Koch2006-06-251-7/+7
|
* * miscutil.c (make_printable_string): Fix bug where some controlDavid Shaw2006-04-171-1/+1
| | | | | characters lose part of their ASCII representation.
* Converted all m_free to xfree etc.Werner Koch2005-07-271-3/+3
|
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-311-1/+2
|
* Remove add_days_to_timestamp (unused)David Shaw2005-05-051-7/+0
|
* * card-util.c (card_status): Use isotimestamp and not theWerner Koch2005-03-141-1/+24
| | | | | | | | localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
* (secmem_realloc): Take control information into accountWerner Koch2005-03-101-1/+7
| | | | | when checking whether a resize is needed.
* * miscutil.c (hextobyte): Moved here from g10/misc.c so I can use it inDavid Shaw2004-02-211-0/+25
| | | | | the keyserver helpers.
* * argparse.c (default_strusage): Update copyright date. (initialize):David Shaw2004-01-161-6/+16
| | | | | | | | | Avoid a number of -Wformat-nonliteral warnings. These aren't actual problems, but the warnings bothered me. * miscutil.c (print_string2): New variation on print_string that allows two delimiters. (print_string): Call print_string2 to do work.
* * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't useDavid Shaw2003-12-051-5/+5
| | | | | | alternate strings when not needed so we don't have to re-translate them. Hopefully the comment will be enough to indicate multiple match strings.
* * miscutil.c (match_multistr): New. Match against each segment in aDavid Shaw2003-11-211-16/+42
| | | | | | | string with tokens separated by |. (answer_is_yes_no_default, answer_is_yes_no_quit, answer_is_okay_cancel): Use it here to enable alternate translations.
* * cardglue.c (open_card): Ask for card insertion.Werner Koch2003-10-291-0/+35
| | | | | | | | | | | | (check_card_serialno): New. (agent_scd_pksign, agent_scd_pkdecrypt): Use it here. * cardglue.c (open_card): Issue insertion status message. * status.h, status.c (STATUS_CARDCTRL): New. * status.c (cpr_get_answer_okay_cancel): New. * miscutil.c (answer_is_okay_cancel): New.
* * iobuf.c (check_special_filename): Replaced is isdigit by digitpDavid Shaw2003-07-101-4/+4
| | | | | | | | | to avoid passing negative values and potential locale problems. Problem noted by Christian Biere. * strgutil.c (strlwr,strcasecmp,strncasecmp): Make sure we don't pass a negative value. * miscutil.c (scan_isodatestr): Ditto.
* * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,David Shaw2003-05-241-9/+9
| | | | | | | | simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* Update head to match stable 1.0David Shaw2002-06-291-46/+70
|
* See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch2000-09-181-4/+4
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-141-2/+2
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-271-0/+1
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-241-3/+3
|
* See ChangeLog: Tue Aug 31 17:20:44 CEST 1999 Werner KochWerner Koch1999-08-311-1/+24
|
* See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner KochWerner Koch1999-08-301-0/+26
|
* See ChangeLog: Wed Jul 7 13:23:40 CEST 1999 Werner KochWerner Koch1999-07-071-0/+44
|
* See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner KochWerner Koch1999-07-011-0/+54
|
* See ChangeLog: Thu May 27 09:40:55 CEST 1999 Werner KochWerner Koch1999-05-271-0/+23
|
* See ChangeLog: Tue May 25 19:50:32 CEST 1999 Werner KochWerner Koch1999-05-251-1/+1
|
* See ChangeLog: Wed Apr 28 13:03:03 CEST 1999 Werner KochWerner Koch1999-04-281-6/+19
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-3/+3
|
* See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner KochWerner Koch1998-12-081-0/+4
|
* Expiration time works (I hope so)Werner Koch1998-11-201-0/+29
|
* .Werner Koch1998-09-181-4/+4
|
* .Werner Koch1998-09-151-0/+23
|
* bug fix releaseV0-3-4Werner Koch1998-08-111-4/+7
|
* edit-key is now completeWerner Koch1998-07-291-0/+1
|
* release 0.2.14Werner Koch1998-04-021-0/+18
|
* partial DSA supportWerner Koch1998-03-091-2/+10
|
* Renamed to GNUPGV-0-2-8Werner Koch1998-02-241-4/+4
|
* very first releaseWerner Koch1997-12-201-0/+13
|
* added some stuff for signing keysWerner Koch1997-12-161-1/+1
|
* List and check sigs worksWerner Koch1997-12-011-0/+21
|
* initially checkinWerner Koch1997-11-181-0/+33