1. 26 Aug, 2014 1 commit
    • Werner Koch's avatar
      Switch to the libgpg-error provided estream. · 519305fe
      Werner Koch authored
      * configure.ac (NEED_GPG_ERROR_VERSION): Reguire 1.14.
      (GPGRT_ENABLE_ES_MACROS): Define.
      (estream_INIT): Remove.
      * m4/estream.m4: Remove.
      * common/estream-printf.c, common/estream-printf.h: Remove.
      * common/estream.c, common/estream.h: Remove.
      * common/init.c (_init_common_subsystems): Call gpgrt initialization.
      519305fe
  2. 20 Apr, 2012 1 commit
    • Werner Koch's avatar
      Change license for some files in common to LGPLv3+/GPLv2+. · 37df3d5f
      Werner Koch authored
      Having the LGPL on the common GnuPG code helps to share code
      between GnuPG and related projects (like GPGME and Libassuan).  This
      is good for interoperability and to reduces bugs.
      
      * common/asshelp.c, common/asshelp.h, common/asshelp2.c, common/b64dec.c
      * common/b64enc.c, common/convert.c, common/dns-cert.c
      * common/dns-cert.h common/exechelp-posix.c, common/exechelp-w32.c
      * common/exechelp-w32ce.c, common/exechelp.h, common/get-passphrase.c
      * common/get-passphrase.h, common/gettime.c, common/gpgrlhelp.c
      * common/helpfile.c, common/homedir.c, common/http.c, common/http.h
      * common/i18n.c, common/init.c, common/init.h, common/iobuf.c
      * common/iobuf.h, common/localename.c, common/membuf.c, common/membuf.h
      * common/miscellaneous.c, common/openpgp-oid.c, common/openpgpdefs.h
      * common/percent.c, common/pka.c, common/pka.h, common/session-env.c
      * common/session-env.h, common/sexp-parse.h, common/sexputil.c
      * common/signal.c, common/srv.c, common/srv.h, common/ssh-utils.c
      * common/ssh-utils.h, common/sysutils.c, common/sysutils.h
      * common/tlv.c, common/tlv.h, common/ttyio.c, common/ttyio.h
      * common/userids.c, common/userids.h, common/xasprintf.c: Change
      license to LGPLv3+/GPLv2+/
      37df3d5f
  3. 20 Jan, 2012 1 commit
    • Werner Koch's avatar
      estream: Fix unclean usage of realloc. · e97e2ced
      Werner Koch authored
      * common/estream-printf.c (_ESTREAM_PRINTF_MALLOC): Remove.
      (_ESTREAM_PRINTF_FREE): Remove.
      (_ESTREAM_PRINTF_REALLOC): New.
      (fixed_realloc) [!_ESTREAM_PRINTF_REALLOC]): New.
      (estream_vasprintf): Use my_printf_realloc instead of my_printf_malloc
      and my_printf_free.
      (dynamic_buffer_out): Use my_printf_realloc instead of realloc.
      --
      
      This bug will never happen in current GnuPG/Libgcrypt because we use
      the standard memory allocation functions via Libgcrypt.  However, when
      used in other environments it would mess up the heap for an asprintf
      with an output length larger than ~512 bytes.
      e97e2ced
  4. 10 Mar, 2010 1 commit
  5. 04 Jul, 2007 1 commit
  6. 15 May, 2007 2 commits
  7. 20 Jun, 2006 1 commit
  8. 01 Jun, 2005 1 commit
    • Werner Koch's avatar
      * configure.ac (gl_INIT): Add gnulib stuff. · cad95624
      Werner Koch authored
      (fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS
      by a simple check.
      (putc_unlocked): Removed check.  Not used.
      (strsep, mkdtemp, asprintf): Replaced checks by gnulib checks.
      (xsize): Added will probably come handy soon.
      (CFLAGS): Use -Wformat-security instead of
      -Wformat-nonliteral. Add --Wno-format-y2k.
      * gl/, gl/m4/: New.
      
      * gpg-agent.c: Include setenv.h.
      
      * Makefile.am (AM_CPPFLAGS): Added.
      
      * util.h: Add some includes for gnulib.
      (ttyname, isascii): Define them inline.
      * fseeko.c, ftello.c: Removed.
      * strsep.c, mkdtemp.c: Removed.
      * ttyname.c, isascii.c: Removed.
      
      * mkdtemp.c: Removed.
      * exec.c: Include mkdtemp.h
      
      * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement
      function.  Copied from ../common/ftello.c.
      * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement
      function.  Copied from ../common/iobuf.c.
      
      * scdaemon.c: Include mkdtemp.h.
      
      * misc.c: Include setenv.h.
      
      * symcryptrun.c: Include mkdtemp.h.
      cad95624
  9. 25 Feb, 2005 1 commit
    • Werner Koch's avatar
      * findkey.c (modify_description): Keep invalid % escapes, so that · faef9f92
      Werner Koch authored
      %0A may pass through.
      
      * agent.h (server_control_s): New field USE_AUTH_CALL.
      * call-scd.c (agent_card_pksign): Make use of it.
      * command-ssh.c (data_sign): Set the flag.
      (ssh_send_key_public): New arg OVERRIDE_COMMENT.
      (card_key_available): Add new arg CARDSN.
      (ssh_handler_request_identities): Use the card s/n as comment.
      (sexp_key_extract): Use GCRYMPI_FMT_STD.
      (data_sign): Ditto.
      
      * learncard.c (make_shadow_info): Moved to ..
      * protect.c (make_shadow_info): .. here. Return NULL on malloc
      failure. Made global.
      * agent.h: Add prototype.
      
      * xasprintf.c (xtryasprintf): New.
      
      * app-openpgp.c (get_public_key): Make sure not to return negative
      numbers.
      (do_sign): Allow passing of indata with algorithm prefix.
      (do_auth): Allow OPENPGP.3 as an alternative ID.
      
      * app.c (app_getattr): Return just the S/N but not the timestamp.
      
      * no-libgcrypt.c (gcry_strdup): New.
      faef9f92
  10. 30 Jan, 2004 1 commit
  11. 10 Dec, 2001 1 commit
  12. 24 Nov, 2001 1 commit
  13. 13 Nov, 2001 1 commit
  14. 07 Nov, 2001 2 commits
  15. 06 Nov, 2001 1 commit
  16. 14 Jul, 2000 1 commit
  17. 27 Jan, 2000 1 commit
  18. 20 Mar, 1999 1 commit
  19. 19 Jan, 1999 1 commit
  20. 16 Jan, 1999 1 commit
  21. 23 Dec, 1998 1 commit
  22. 06 Jul, 1998 1 commit
  23. 16 Jun, 1998 1 commit
  24. 16 Dec, 1997 1 commit
  25. 18 Nov, 1997 1 commit