summaryrefslogtreecommitdiff
path: root/src/misc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-04Nuked almost all trailing whitespace.Werner Koch1-7/+7
Check and install the standard git pre-commit hook.
2010-04-192010-04-19 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann1-1/+3
* misc.c (write2stderr): Dummy variable to silence gcc warning.
2008-08-21Finished the X9.31 RNG implementations.Werner Koch1-0/+21
2008-08-20Replace assert calls by a new gcry_assert at most places.Werner Koch1-2/+18
2008-08-19A whole bunch of changes to eventually support Werner Koch1-1/+3
FIPS restricted mode. Also some documentation improvements and other minor enhancements. See the ChangeLogs. Stay tuned.
2007-12-03Preparing a releaseWerner Koch1-22/+27
2007-04-30Dropped GCRYCTL_DUMP_CONFIG in favor of GCRYCTL_PRINT_CONFIG.Werner Koch1-0/+12
2004-08-232004-08-23 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-1/+0
* global.c: Do not include <assert.h>. * sexp.c: Likewise. * module.c: Likewise. * misc.c: Likewise.
2004-04-15About to release 1.2Werner Koch1-4/+4
2003-10-31* acinclude.m4 (AC_CHECK_PTH): Added.Werner Koch1-2/+2
* configure.ac: Use it here instead of the generic lib test. Bumbed LT vesion to C9/A2/R0. * dsa.c (verify): s/exp/ex/ due to shadowing of a builtin. * elgamal.c (verify): Ditto. * ac.c (gcry_ac_data_get_index): s/index/idx/ (gcry_ac_data_copy_internal): Remove the cast in _gcry_malloc. (gcry_ac_data_add): Must use gcry_realloc instead of realloc. * pubkey.c (sexp_elements_extract): s/index/idx/ as tribute to the forehackers. (gcry_pk_encrypt): Removed shadowed definition of I. Reordered arguments to malloc for clarity. (gcry_pk_sign, gcry_pk_genkey): Ditto. * primegen.c (prime_generate_internal): s/random/randomlevel/. * i386/mpih-rshift.S, i386/mpih-lshift.S: Use %dl and not %edx for testb; this avoids an assembler warning. * mpi-pow.c (gcry_mpi_powm): s/exp/expo/ to avoid shadowing warning. * autogen.sh: Allow to override the tool name. Do not run libtoolize. Update required version numbers. * libgcrypt.vers (_gcry_generate_elg_prime): Removed this symbol; gnutls does not need it anymore. * secmem.c (mb_get_new): s/pool/block/ due to global pool. * misc.c (gcry_set_log_handler): s/logf/f/ to avoid shadowing warning against a builtin. * ath-pth-compat.c: cast pth_connect to get rid of the const prototype. * basic.c (check_aes128_cbc_cts_cipher): Make it a prototype * ac.c (check_run): Comment unused variable.
2003-06-152003-06-15 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-10/+9
* global.c (gcry_control): Fixed typo. * misc.c (_gcry_fatal_error): Use gpg_strerror instead of gcry_strerror. * types.h (STRLIST): Removed type since it is not used.
2003-03-062003-03-06 Moritz Schulte <mo@g10code.com>Moritz Schulte1-2/+2
* secmem.h (GCRY_SECMEM_FLAG_NO_WARNING, GCRY_SECMEM_FLAG_SUSPEND_WARNING): New symbols. * global.c (gcry_control): Use GCRY_SECMEM_FLAG_{NO,SUSPEND}_WARNING, instead of hard-coded values. * secmem.c (_gcry_secmem_set_flags): Likewise. * secmem.c (_gcry_secmem_get_flags): Likewise.
2003-03-042003-03-03 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-1/+1
* misc.c: Removed old FIXME, since there is already a function to set the value of `verbosity_level'. * gcrypt.h: Removed enumeration list: gcry_ctl_cmds. New enumeration lists: gcry_global_control_cmds, gcry_control_cmds, gcry_info_cmds, gcry_algo_info_cmds. 2003-03-02 Moritz Schulte <moritz@g10code.com> * gcrypt.h (gcry_cipher_reset): New macro for resetting a handle.
2003-03-012003-02-28 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-1/+12
* secmem.c (DEFAULT_PAGESIZE): New symbol. (init_pool): Use DEFAULT_PAGESIZE. 2003-02-23 Moritz Schulte <moritz@g10code.com> * secmem.h: Fix typo in declaration of _gcry_secmem_term. * sexp.c: Move macro definitions of `digitp', `octdigit', `alphap' and `hexdigit' ... * g10lib.h: ... here. * misc.c (_gcry_burn_stack): New function (former name: burn_stack). * g10lib.h (burn_stack): Declare _gcry_burn_stack().
2002-05-21* misc.c (_gcry_log_printf): Don't initialize a va_list. Noted byWerner Koch1-1/+1
Jeff Johnson.
2002-05-14Change the license to the LGPL.Werner Koch1-7/+7
2001-12-06* misc.c (_gcry_log_printf): New.Werner Koch1-0/+12
* sexp.c (dump_string,gcry_sexp_dump): Use logging functions instead of stderr.
2001-05-31The first libgcrypt only release.Werner Koch1-22/+22
2000-12-21Changed program name in all filesWerner Koch1-3/+3
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-4/+17
1999-11-19See ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner KochWerner Koch1-0/+123
1999-11-15See ChangeLog: Mon Nov 15 21:36:02 CET 1999 Werner KochWerner Koch1-7/+40
1999-02-19See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1-3/+3
1999-02-10See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1-0/+12
1998-12-29See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1-0/+38