diff options
Diffstat (limited to 'plugins/MirOTR/libgcrypt-1.4.6')
67 files changed, 42 insertions, 22254 deletions
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/ChangeLog b/plugins/MirOTR/libgcrypt-1.4.6/cipher/ChangeLog deleted file mode 100644 index 8a6dcaea06..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/ChangeLog +++ /dev/null @@ -1,3942 +0,0 @@ -2010-07-13 Werner Koch <wk@g10code.com> - - * cipher.c (do_aeswrap_encrypt, do_aeswrap_decrypt): New. Take - from current SVN trunk. - (gcry_cipher_open, gcry_cipher_encrypt, gcry_cipher_decrypt): Hook - them in. - (struct gcry_cipher_handle): Add field MARKS. - (cipher_setkey, cipher_setiv): Set MARKS. - (cipher_reset): Clear MARKS. - -2010-07-09 Werner Koch <wk@g10code.com> - - * tiger.c (asn): Unfetter the old TIGER from an OID. - (TIGER_CONTEXT): Add field VARIANT. - (tiger_init): Factor code out to ... - (do_init): ... new. - (tiger1_init, tiger2_init): New. - (_gcry_digest_spec_tiger1, _gcry_digest_spec_tiger2): New. - * md.c (digest_table): Add TIGER1 and TIGER2 variants. - - * md.c (md_read): Fix incomplete check for NULL. Reported by - Fabian Kail. - -2009-12-11 Werner Koch <wk@g10code.com> - - * Makefile.am (o_flag_munging): New. - (tiger.o, tiger.lo): Use it. - - * sha256.c (Cho, Maj, Sum0, Sum1): Turn macros into inline - functions. - (transform): Partly unroll to interweave the chain variables. - - * sha512.c (ROTR, Ch, Maj, Sum0, Sum1): Turn macros into inline - functions. - (transform): Partly unroll to interweave the chain variables. - Suggested by Christian Grothoff. - -2009-08-21 Werner Koch <wk@g10code.com> - - * dsa.c (dsa_generate_ext): Release retfactors array before - setting it to NULL. Reported by Daiko Ueno. - -2009-01-22 Werner Koch <wk@g10code.com> - - * ecc.c (compute_keygrip): Remove superfluous const. - -2009-01-06 Werner Koch <wk@g10code.com> - - * rmd160.c (oid_spec_rmd160): Add TeleTrust identifier. - -2008-12-10 Werner Koch <wk@g10code.com> - - * dsa.c (generate): Add arg DOMAIN and use it if specified. - (generate_fips186): Ditto. - (dsa_generate_ext): Parse and check the optional "domain" - parameter and pass them to the generate functions. - - * rijndael.c (rijndael_names): Add "AES128" and "AES-128". - (rijndael192_names): Add "AES-192". - (rijndael256_names): Add "AES-256". - -2008-12-05 Werner Koch <wk@g10code.com> - - * dsa.c (generate): Add arg TRANSIENT_KEY and use it to detrmine - the RNG quality needed. - (dsa_generate_ext): Parse the transient-key flag und pass it to - generate. - -2008-11-28 Werner Koch <wk@g10code.com> - - * dsa.c (generate_fips186): Add arg DERIVEPARMS and use the seed - value if available. - - * primegen.c (_gcry_generate_fips186_2_prime): Fix inner p loop. - -2008-11-26 Werner Koch <wk@g10code.com> - - * primegen.c (_gcry_generate_fips186_3_prime): New. - * dsa.c (generate_fips186): Add arg USE_FIPS186_2. - (dsa_generate_ext): Parse new flag use-fips183-2. - -2008-11-25 Werner Koch <wk@g10code.com> - - * dsa.c (generate_fips186): New. - (dsa_generate_ext): Use new function if derive-parms are given or - if in FIPS mode. - * primegen.c (_gcry_generate_fips186_2_prime): New. - -2008-11-24 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_genkey): Insert code to output extrainfo. - (pubkey_generate): Add arg R_EXTRAINFO and pass it to the extended - key generation function. - * rsa.c (gen_x931_parm_xp, gen_x931_parm_xi): New. - (generate_x931): Generate params if not given. - (rsa_generate_ext): Parse use-x931 flag. Return p-q-swapped - indicator. - * dsa.c (dsa_generate_ext): Put RETFACTORS into R_EXTRAINFO if - possible. - - * pubkey.c (gcry_pk_genkey): Remove parsing of almost all - parameters and pass the parameter S-expression to pubkey_generate. - (pubkey_generate): Simplify by requitring modules to parse the - parameters. Remove the special cases for Elgamal and ECC. - (sexp_elements_extract_ecc): Add arg EXTRASPEC and use it. Fix - small memory leak. - (sexp_to_key): Pass EXTRASPEC to sexp_elements_extract_ecc. - (pubkey_table) [USE_ELGAMAL]: Add real extraspec. - * rsa.c (rsa_generate_ext): Adjust for new calling convention. - * dsa.c (dsa_generate_ext): Ditto. - * elgamal.c (_gcry_elg_generate): Ditto. Rename to elg_generate_ext. - (elg_generate): New. - (_gcry_elg_generate_using_x): Remove after merging code with - elg_generate_ext. - (_gcry_pubkey_extraspec_elg): New. - (_gcry_elg_check_secret_key, _gcry_elg_encrypt, _gcry_elg_sign) - (_gcry_elg_verify, _gcry_elg_get_nbits): Make static and remove - _gcry_ prefix. - * ecc.c (_gcry_ecc_generate): Rename to ecc_generate_ext and - adjust for new calling convention. - (_gcry_ecc_get_param): Rename to ecc_get_param and make static. - (_gcry_pubkey_extraspec_ecdsa): Add ecc_generate_ext and - ecc_get_param. - -2008-11-20 Werner Koch <wk@g10code.com> - - * pubkey.c (pubkey_generate): Add arg DERIVEPARMS. - (gcry_pk_genkey): Parse derive-parms and pass it to above. - * rsa.c (generate_x931): New. - (rsa_generate_ext): Add arg DERIVEPARMS and call new function in - fips mode or if DERIVEPARMS is given. - * primegen.c (_gcry_derive_x931_prime, find_x931_prime): New. - -2008-11-19 Werner Koch <wk@g10code.com> - - * rsa.c (rsa_decrypt): Use gcry_create_nonce for blinding. - (generate): Rename to generate_std. - -2008-11-05 Werner Koch <wk@g10code.com> - - * md.c (md_open): Use a switch to set the Bsize. - (prepare_macpads): Fix long key case for SHA384 and SHA512. - - * cipher.c (gcry_cipher_handle): Add field EXTRASPEC. - (gcry_cipher_open): Set it. - (gcry_cipher_ctl): Add private control code to disable weak key - detection and to return the current input block. - * des.c (_tripledes_ctx): Add field FLAGS. - (do_tripledes_set_extra_info): New. - (_gcry_cipher_extraspec_tripledes): Add new function. - (do_tripledes_setkey): Disable weak key detection. - -2008-10-24 Werner Koch <wk@g10code.com> - - * md.c (digest_table): Allow MD5 in fips mode. - (md_register_default): Take special action for MD5. - (md_enable, gcry_md_hash_buffer): Ditto. - -2008-09-30 Werner Koch <wk@g10code.com> - - * rijndael.c (do_setkey): Properly align "t" and "tk". - (prepare_decryption): Properly align "w". Fixes bug #936. - -2008-09-18 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_genkey): Parse domain parameter. - (pubkey_generate): Add new arg DOMAIN and remove special case for - DSA with qbits. - * rsa.c (rsa_generate): Add dummy args QBITS, NAME and DOMAIN and - rename to rsa_generate_ext. Change caller. - (_gcry_rsa_generate, _gcry_rsa_check_secret_key) - (_gcry_rsa_encrypt, _gcry_rsa_decrypt, _gcry_rsa_sign) - (_gcry_rsa_verify, _gcry_rsa_get_nbits): Make static and remove - _gcry_ prefix. - (_gcry_pubkey_spec_rsa, _gcry_pubkey_extraspec_rsa): Adjust names. - * dsa.c (dsa_generate_ext): New. - (_gcry_dsa_generate): Replace code by a call to dsa_generate. - (_gcry_dsa_check_secret_key, _gcry_dsa_sign, _gcry_dsa_verify) - (_gcry_dsa_get_nbits): Make static and remove _gcry prefix. - (_gcry_dsa_generate2): Remove. - (_gcry_pubkey_spec_dsa): Adjust to name changes. - (_gcry_pubkey_extraspec_rsa): Add dsa_generate_ext. - -2008-09-16 Werner Koch <wk@g10code.com> - - * ecc.c (run_selftests): Add arg EXTENDED. - -2008-09-12 Werner Koch <wk@g10code.com> - - * rsa.c (test_keys): Do a bad case signature check. - * dsa.c (test_keys): Do a bad case check. - - * cipher.c (_gcry_cipher_selftest): Add arg EXTENDED and pass it - to the called tests. - * md.c (_gcry_md_selftest): Ditto. - * pubkey.c (_gcry_pk_selftest): Ditto. - * rijndael.c (run_selftests): Add arg EXTENDED and pass it to the - called tests. - (selftest_fips_128): Add arg EXTENDED and run only one test - non-extended mode. - (selftest_fips_192): Add dummy arg EXTENDED. - (selftest_fips_256): Ditto. - * hmac-tests.c (_gcry_hmac_selftest): Ditto. - (run_selftests): Ditto. - (selftests_sha1): Add arg EXTENDED and run only one test - non-extended mode. - (selftests_sha224, selftests_sha256): Ditto. - (selftests_sha384, selftests_sha512): Ditto. - * sha1.c (run_selftests): Add arg EXTENDED and pass it to the - called test. - (selftests_sha1): Add arg EXTENDED and run only one test - non-extended mode. - * sha256.c (run_selftests): Add arg EXTENDED and pass it to the - called tests. - (selftests_sha224): Add arg EXTENDED and run only one test - non-extended mode. - (selftests_sha256): Ditto. - * sha512.c (run_selftests): Add arg EXTENDED and pass it to the - called tests. - (selftests_sha384): Add arg EXTENDED and run only one test - non-extended mode. - (selftests_sha512): Ditto. - * des.c (run_selftests): Add arg EXTENDED and pass it to the - called test. - (selftest_fips): Add dummy arg EXTENDED. - * rsa.c (run_selftests): Add dummy arg EXTENDED. - - * dsa.c (run_selftests): Add dummy arg EXTENDED. - - * rsa.c (extract_a_from_sexp): New. - (selftest_encr_1024): Check that the ciphertext does not match the - plaintext. - (test_keys): Improve tests and return an error status. - (generate): Return an error if test_keys fails. - * dsa.c (test_keys): Add comments and return an error status. - (generate): Return an error if test_keys failed. - -2008-09-11 Werner Koch <wk@g10code.com> - - * rsa.c (_gcry_rsa_decrypt): Return an error instead of calling - BUG in case of a practically impossible condition. - (sample_secret_key, sample_public_key): New. - (selftest_sign_1024, selftest_encr_1024): New. - (selftests_rsa): Implement tests. - * dsa.c (sample_secret_key, sample_public_key): New. - (selftest_sign_1024): New. - (selftests_dsa): Implement tests. - -2008-09-09 Werner Koch <wk@g10code.com> - - * hmac-tests.c (selftests_sha1): Add tests. - (selftests_sha224, selftests_sha384, selftests_sha512): Make up tests. - - * hash-common.c, hash-common.h: New. - * sha1.c (selftests_sha1): Add 3 tests. - * sha256.c (selftests_sha256, selftests_sha224): Ditto. - * sha512.c (selftests_sha512, selftests_sha384): Ditto. - -2008-08-29 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_get_keygrip): Remove the special case for RSA - and check whether a custom computation function has been setup. - * rsa.c (compute_keygrip): New. - (_gcry_pubkey_extraspec_rsa): Setup this function. - * ecc.c (compute_keygrip): New. - (_gcry_pubkey_extraspec_ecdsa): Setup this function. - -2008-08-28 Werner Koch <wk@g10code.com> - - * cipher.c (cipher_decrypt, cipher_encrypt): Return an error if - mode NONE is used. - (gcry_cipher_open): Allow mode NONE only with a debug flag set and - if not in FIPS mode. - -2008-08-26 Werner Koch <wk@g10code.com> - - * pubkey.c (pubkey_generate): Add arg KEYGEN_FLAGS. - (gcry_pk_genkey): Implement new parameter "transient-key" and - pass it as flags to pubkey_generate. - (pubkey_generate): Make use of an ext_generate function. - * rsa.c (generate): Add new arg transient_key and pass appropriate - args to the prime generator. - (_gcry_rsa_generate): Factor all code out to ... - (rsa_generate): .. new func with extra arg KEYGEN_FLAGS. - (_gcry_pubkey_extraspec_ecdsa): Setup rsa_generate. - * primegen.c (_gcry_generate_secret_prime) - (_gcry_generate_public_prime): Add new arg RANDOM_LEVEL. - -2008-08-21 Werner Koch <wk@g10code.com> - - * primegen.c (_gcry_generate_secret_prime) - (_gcry_generate_public_prime): Use a constant macro for the random - level. - -2008-08-19 Werner Koch <wk@g10code.com> - - * pubkey.c (sexp_elements_extract_ecc) [!USE_ECC]: Do not allow - allow "curve" parameter. - -2008-08-15 Werner Koch <wk@g10code.com> - - * pubkey.c (_gcry_pk_selftest): New. - * dsa.c (selftests_dsa, run_selftests): New. - * rsa.c (selftests_rsa, run_selftests): New. - * ecc.c (selftests_ecdsa, run_selftests): New. - - * md.c (_gcry_md_selftest): New. - * sha1.c (run_selftests, selftests_sha1): New. - * sha256.c (selftests_sha224, selftests_sha256, run_selftests): New. - * sha512.c (selftests_sha384, selftests_sha512, run_selftests): New. - - * des.c (selftest): Remove static variable form selftest. - (des_setkey): No on-the-fly self test in fips mode. - (tripledes_set3keys): Ditto. - - * cipher.c (_gcry_cipher_setkey, _gcry_cipher_setiv): - - * dsa.c (generate): Bail out in fips mode if NBITS is less than 1024. - * rsa.c (generate): Return an error code if the the requested size - is less than 1024 and we are in fpis mode. - (_gcry_rsa_generate): Take care of that error code. - - * ecc.c (generate_curve): In fips mode enable only NIST curves. - - * cipher.c (_gcry_cipher_selftest): New. - - * sha512.c (_gcry_digest_extraspec_sha384) - (_gcry_digest_extraspec_sha512): New. - * sha256.c (_gcry_digest_extraspec_sha224) - (_gcry_digest_extraspec_sha256): New. - * sha1.c (_gcry_digest_extraspec_sha1): New. - * ecc.c (_gcry_pubkey_extraspec_ecdsa): New. - * dsa.c (_gcry_pubkey_extraspec_dsa): New. - * rsa.c (_gcry_pubkey_extraspec_rsa): New. - * rijndael.c (_gcry_cipher_extraspec_aes) - (_gcry_cipher_extraspec_aes192, _gcry_cipher_extraspec_aes256): New. - * des.c (_gcry_cipher_extraspec_tripledes): New. - - * cipher.c (gcry_cipher_register): Rename to _gcry_cipher_register. - Add arg EXTRASPEC. - (dummy_extra_spec): New. - (cipher_table_entry): Add extraspec field. - * md.c (_gcry_md_register): Rename to _gcry_md_register. Add - arg EXTRASPEC. - (dummy_extra_spec): New. - (digest_table_entry): Add extraspec field. - * pubkey.c (gcry_pk_register): Rename to _gcry_pk_register. Add - arg EXTRASPEC. - (dummy_extra_spec): New. - (pubkey_table_entry): Add extraspec field. - - * ac.c: Let most public functions return GPG_ERR_UNSUPPORTED in - fips mode. - - * pubkey.c (pubkey_table_entry): Add field FIPS_ALLOWED and mark - appropriate algorithms. - (dummy_generate, dummy_check_secret_key, dummy_encrypt) - (dummy_decrypt, dummy_sign, dummy_verify, dummy_get_nbits): Signal - a fips error when used. - (gcry_pk_register): In fips mode do not allow to register new - algorithms. - - * md.c (digest_table): Add field FIPS_ALLOWED and mark appropriate - algorithms. - (md_register_default): In fips mode register only fips algorithms. - (gcry_md_register): In fips mode do not allow to register new - algorithms. - (gcry_md_get): Signal a fips error if called. - (gcry_md_hash_buffer): Do not allow rmd160 when not in fips mode. - (md_start_debug): Disable in fips_mode. - - * md.c (gcry_md_register_default): Rename to .. - (md_register_default): .. this. - (md_digest): Remove this commented fucntion. - * pubkey.c (gcry_pk_register_default): Rename to .. - (pk_register_default): .. this. - - * cipher.c (cipher_table_entry): Add field FIPS_ALLOWED. - (gcry_cipher_register_default): Register only fips approved - algorithms. - (gcry_cipher_register): Do not allow to register new ciphers. - (cipher_setiv): Signal fips error. - - * cipher (gcry_cipher_register_default): Rename to .. - (cipher_register_default): .. this. - (REGISTER_DEFAULT_CIPHERS): Adjust for that change. - -2008-07-05 Werner Koch <wk@g10code.com> - - * random-daemon.c, random.h, rndhw.c, rndunix.c, rand-internal.h - * random.c, rndegd.c, rndlinux.c, rndw32.c: Move to ../cipher. - * Makefile.am: Remove random stuff. - -2008-06-24 Szakats Istvan <szaki.ms@gmail.com> (wk) - - * ac.c (_gcry_ac_key_destroy, _gcry_ac_key_pair_generate): Relase - some more memory. - -2008-04-22 Werner Koch <wk@g10code.com> - - * rijndael.c (_gcry_aes_cfb_enc, _gcry_aes_cbc_enc) - (_gcry_aes_cfb_dec, _gcry_aes_cbc_dec): Use Padlock if possible. - -2008-04-18 Werner Koch <wk@g10code.com> - - * sha1.c (transform_aligned): Remove. That is will obviosuly not - work because we need a scratch working area and our internal API - does not allow to modify the buffers. - - * rijndael.c: Factor tables out to .. - * rijndael-tables.h: .. new. - - * ac.c (ac_data_extract): Make static. - - * camellia.h [HAVE_CONFIG_H]: Include config.h. - - * rndw32.c (registry_poll): Only print the performance data - problem warning once. Suggested by Simon Josefsson. - -2008-03-19 Werner Koch <wk@g10code.com> - - * cipher.c (gcry_cipher_open) [USE_AES]: Init bulk encryption only - if requested. Suggested by Dirk Stoecker. - -2008-03-18 Werner Koch <wk@g10code.com> - - * sha1.c: Include stdint.h. - (transform): Add arg NBLOCKS so that we can work on more than one - block and avoid updates of the chaining variables. Changed all - callers to use 1. - (sha1_write): Replace loop around transform. - (transform_aligned) [WORDS_BIGENDIAN]: New. - (TRANSFORM): New macro to replace all direct calls of transform. - -2008-03-17 Werner Koch <wk@g10code.com> - - * rijndael.c (_gcry_aes_cfb_dec): New. - (do_encrypt): Factor code out to .. - (do_encrypt_aligned): .. New. - (_gcry_aes_cfb_enc, _gcry_aes_cfb_dec): Use new function. - (do_decrypt): Factor code out to .. - (do_decrypt_aligned): .. new. - (_gcry_aes_cbc_enc, _gcry_aes_cbc_dec): New. - * cipher.c (struct gcry_cipher_handle): Put field IV into new - union U_IV to enforce proper alignment. Change all users. - (do_cfb_decrypt): Optimize. - (do_cbc_encrypt, do_cbc_decrypt): Optimize. - -2008-03-15 Werner Koch <wk@g10code.com> - - * rijndael.c (_gcry_aes_cfb_enc): New. - * cipher.c (struct gcry_cipher_handle): Add field ALGO and BULK. - (gcry_cipher_open): Set ALGO and BULK. - (do_cfb_encrypt): Optimize. - -2008-02-18 Werner Koch <wk@g10code.com> - - * rsa.c (_gcry_rsa_verify) [IS_DEVELOPMENT_VERSION]: Print - intermediate results. - -2008-01-08 Werner Koch <wk@g10code.com> - - * random.c (add_randomness): Do not just increment - POOL_FILLED_COUNTER but update it by the actual amount of data. - -2007-12-13 Werner Koch <wk@g10code.com> - - * pubkey.c (sexp_data_to_mpi): Support SHA-224. - -2007-12-05 Werner Koch <wk@g10code.com> - - * rijndael.c (USE_PADLOCK): Depend on ENABLE_PADLOCK_SUPPORT. - * rndhw.c (USE_PADLOCK): Ditto - - * rsa.c (secret): Fixed condition test for using CRT. Reported by - Dean Scarff. Fixes bug#864. - (_gcry_rsa_check_secret_key): Return an erro if the optional - parameters are missing. - * pubkey.c (sexp_elements_extract): Add arg ALGO_NAME. Changed all - callers to pass NULL. Add hack to allow for optional RSA - parameters. - (sexp_to_key): Pass algo name to sexp_elements_extract. - -2007-12-03 Werner Koch <wk@g10code.com> - - * random.c (gcry_random_add_bytes): Implement it. - * rand-internal.h (RANDOM_ORIGIN_EXTERNAL): New. - -2007-11-30 Werner Koch <wk@g10code.com> - - * rndhw.c: New. - * rndlinux.c (_gcry_rndlinux_gather_random): Try to read 50% - directly from the hwrng. - * random.c (do_fast_random_poll): Also run the hw rng fast poll. - (_gcry_random_dump_stats): Tell whether the hw rng failed. - -2007-11-29 Werner Koch <wk@g10code.com> - - * rijndael.c (USE_PADLOCK): Define new macro used for ia32. - (RIJNDAEL_context) [USE_PADLOCK]: Add fields USE_PADLOCK and - PADLOCK_KEY. - (do_setkey) [USE_PADLOCK]: Enable padlock if available for 128 bit - AES. - (do_padlock) [USE_PADLOCK]: New. - (rijndael_encrypt, rijndael_decrypt) [USE_PADLOCK]: Divert to - do_padlock. - * cipher.c (cipher_context_alignment_t): New. Use it in this - module in place of PROPERLY_ALIGNED_TYPE. - (NEED_16BYTE_ALIGNED_CONTEXT): Define macro for ia32. - (struct gcry_cipher_handle): Add field HANDLE_OFFSET. - (gcry_cipher_open): Take care of increased alignment requirements. - (gcry_cipher_close): Ditto. - -2007-11-28 Werner Koch <wk@g10code.com> - - * sha256.c (asn224): Fixed wrong template. It happened due to a - bug in RFC4880. SHA-224 is not in the stable version of libgcrypt - so the consequences are limited to users of this devel version. - -2007-10-31 Werner Koch <wk@g10code.com> - - * ac.c (gcry_ac_data_new): Remove due to the visibility wrapper. - (gcry_ac_data_destroy, gcry_ac_data_copy, gcry_ac_data_length) - (gcry_ac_data_set, gcry_ac_data_get_name, gcry_ac_data_get_index) - (gcry_ac_data_to_sexp, gcry_ac_data_from_sexp) - (gcry_ac_data_clear, gcry_ac_io_init, gcry_ac_open) - (gcry_ac_close, gcry_ac_key_init, gcry_ac_key_pair_generate) - (gcry_ac_key_pair_extract, gcry_ac_key_destroy) - (gcry_ac_key_pair_destroy, gcry_ac_key_data_get) - (gcry_ac_key_test, gcry_ac_key_get_nbits, gcry_ac_key_get_grip) - (gcry_ac_data_encrypt, gcry_ac_data_decrypt, gcry_ac_data_sign) - (gcry_ac_data_verify, gcry_ac_data_encode, gcry_ac_data_decode) - (gcry_ac_mpi_to_os, gcry_ac_mpi_to_os_alloc, gcry_ac_os_to_mpi) - (gcry_ac_data_encrypt_scheme, gcry_ac_data_decrypt_scheme) - (gcry_ac_data_sign_scheme, gcry_ac_data_verify_scheme) - (gcry_ac_io_init_va): Ditto. - (gcry_ac_id_to_name, gcry_ac_name_to_id): Remove as these - deprecated functions are now implemented by visibility.c. - -2007-10-26 Werner Koch <wk@g10code.com> - - * rndw32.c: Disable debug flag. - -2007-10-25 Werner Koch <wk@g10code.com> - - * rndw32.c: Updated from current cryptlib snapshot and modified - for our use. Removed support from pre NT systems. - (slow_gatherer_windows95): Remove. - (_gcry_rndw32_gather_random): Require an NT platform. - (init_system_rng, read_system_rng, read_mbm_data): New. - (slow_gatherer_windowsNT): Rename to ... - (slow_gatherer): .. this. Read system RNG and MBM. - (registry_poll): New with code factored out from slow_gatherer. - -2007-08-23 Werner Koch <wk@g10code.com> - - * random.c (pool_filled_counter): New. - (add_randomness): Use it. - -2007-08-22 Werner Koch <wk@g10code.com> - - * rndw32.c, rndunix.c: Switched to LGPL. - -2007-05-30 Werner Koch <wk@g10code.com> - - * camellia.h, camellia.c: Replace by new LGPL version and adjusted - camellia.h. - -2007-05-09 Marcus Brinkmann <marcus@g10code.de> - - * ac.c (_gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read): - Adjust users of gcry_ac_io_t because union is not anonymous - anymore. - -2007-05-02 Werner Koch <wk@g10code.com> - - * camellia-glue.c (camellia_setkey, camellia_encrypt) - (camellia_decrypt): Recalculated used stack size in called - functions. - * camellia.h: Redefine external symbols. - -2007-05-02 David Shaw <dshaw@jabberwocky.com> - - * Makefile.am, cipher.c: Add Camellia. - - * camellia-glue.c: New. The necessary glue to interface libgcrypt - to the stock NTT Camellia distribution. - - * camellia.h, camellia.c: The stock NTT Camellia distribution - (GPL). - -2007-04-30 David Shaw <dshaw@jabberwocky.com> - - * cipher.c: Use #if instead of #ifdef as configure defines the - USE_cipher defines as 0 for disabled. - -2007-04-30 Werner Koch <wk@g10code.com> - - * rndegd.c (_gcry_rndegd_set_socket_name): New. - -2007-04-30 Marcus Brinkmann <marcus@g10code.de> - - * ecc.c (ec2os): Fix relocation of short numbers. - - * ecc.c (generate_key): Do not allocate D, which will be allocated - by GEN_K. Remove G. Fix test if g_x, g_y resp. q_x, q_y are - requested. - (_gcry_ecc_generate): Release unneeded members of SK. - * pubkey.c (sexp_to_key): Release NAME. - -2007-04-28 Marcus Brinkmann <marcus@g10code.de> - - * ac.c (gcry_ac_mpi): Remove member NAME_PROVIDED. - (ac_data_mpi_copy, _gcry_ac_data_set, _gcry_ac_data_get_name) - (_gcry_ac_data_get_index, ac_data_construct): Adjust handling of - NAME accordingly. - -2007-04-20 Werner Koch <wk@g10code.com> - - * ecc.c (domain_parms): Add standard brainpool curves. - -2007-04-18 Werner Koch <wk@g10code.com> - - * ecc.c (generate_curve): Implement alias mechanism. - - * pubkey.c (sexp_elements_extract_ecc): New. - (sexp_to_key): Add special case for ecc. - (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_genkey): Replace - name_terminated stuff by a call to _gcry_sexp_nth_string. - (gcry_pk_get_keygrip): Ditto. - -2007-04-16 Werner Koch <wk@g10code.com> - - * ecc.c (_gcry_ecc_generate): Renamed DUMMY to CURVE and use it. - -2007-04-13 Marcus Brinkmann <marcus@g10code.de> - - * ac.c (ac_data_construct): Cast const away to suppress compiler - warning. - - * ecc.c (ecc_generate): Avoid compiler warning for unused argument - DUMMY. - (ecc_verify): Avoid compiler warning for unused arguments CMP and - OPAQUEV. - -2007-04-06 Werner Koch <wk@g10code.com> - - * sha1.c (oid_spec_sha1): Add another oid from X9.62. - -2007-03-28 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_genkey): Do not issue misc-key-info if it is - empty. - (gcry_pk_genkey): New parameter "curve". - - * ecc.c: Entirely rewritten with only a few traces of the old - code left. - (_gcry_ecc_generate): New. - (generate_key) New arg NAME. - (generate_curve): Ditto. Return actual number of NBITS. - -2007-03-26 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_genkey): Increase size of SKEY array and add a - runtime bounds check. - -2007-03-23 Werner Koch <wk@g10code.com> - - * ecc.c (ecc_ctx_init, ecc_ctx_free, ecc_mod, ecc_mulm): New. - (duplicate_point, sum_points, escalar_mult): Don't use a - copy of base->p. Replaced all mpi_mulm by ecc_mulm so that we can - experiment with different algorithms. - (generate_key, check_secret_key, sign, verify): Initialize a - computation context for use by ecc_mulm. - -2007-03-22 Werner Koch <wk@g10code.com> - - * pubkey.c (pubkey_table): Initialize ECC. - * Makefile.am (EXTRA_libcipher_la_SOURCES): Add ecc.c. - * ecc.c: New. Heavily reformatted and changed for use in libgcrypt. - (point_init): New. - (escalar_mult): Make arg R the first arg to be similar to the mpi - functions. - (duplicate_point): Ditto - (sum_points): Ditto - (sign, verify): Remove unneeded copy operations. - (sum_points): Removed memory leaks and optimized some compares. - (verify): Simplified input check. - -2007-03-14 Werner Koch <wk@g10code.com> - - * random.c (MASK_LEVEL): Removed macro as it was used only at one - place. Open coded it there. - (gcry_randomize, _gcry_update_random_seed_file) - (_gcry_fast_random_poll): Factor lock code out to .. - (lock_pool, unlock_pool): .. new. - (initialize): Look the pool while allocating. - (read_random_source, do_fast_random_poll): Moved intialization to ... - (initialize): .. here. - (_gcry_enable_quick_random_gen): No more need for initialization. - (is_initialized): Moved this global flag to .. - (initialize): .. here and changed all users to unconditionally call - initialize. - (add_randomness): Remove initalization here. It simply can't - happen. - - * random.c (enum random_origins): Moved to .. - * rand-internal.h: .. here. - * rndunix.c (_gcry_rndunix_gather_random): Use enum in prototype - for ORIGIN and renamed REQUESTOR to ORIGIN. - * rndegd.c (_gcry_rndegd_gather_random): Ditto. - * rndlinux.c (_gcry_rndlinux_gather_random): Ditto. - * rndw32.c (_gcry_rndw32_gather_random): Ditto. - (_gcry_rndw32_gather_random_fast): Ditto. - -2007-03-13 Werner Koch <wk@g10code.com> - - * random.c (enum random_origins): New. - (add_randomness): Renamed arg SOURCE to ORIGIN. - (read_random_source): Renamed arg REQUESTOR to ORIGIN. - (getfnc_gather_random): Removed static variable because this - function is only called one and thus we don't need this - optimization. - (_gcry_quick_random_gen): Removed and replaced by.. - (_gcry_enable_quick_random_gen): .. this. It is onlyu used to - enable it and it does not make sense to disable it later. Changed - the only one caller too. - (get_random_bytes): Removed. - (gcry_random_bytes, gcry_random_bytes_secure): Implement in terms - of gcry_randomize. - * random-daemon.c (_gcry_daemon_get_random_bytes): Removed. - -2007-02-23 Werner Koch <wk@g10code.com> - - * elgamal.c (generate): Removed unused variable TEMP. - (test_keys): New arg NODIE. - (generate_using_x, _gcry_elg_generate_using_x): New. - * pubkey.c (pubkey_generate): New arg XVALUE and direct call to - the new elgamal generate fucntion. - (gcry_pk_genkey): Parse the new "xvalue" tag. - -2007-02-22 Werner Koch <wk@g10code.com> - - * pubkey.c (sexp_data_to_mpi): Handle dynamically allocated - algorithms. Suggested by Neil Dunbar. Fixes bug#596. - - * rndw32.c (_gcry_rndw32_gather_random_fast): Make it return void. - - * cipher.c (gcry_cipher_algo_name): Simplified. - - * random.c: Use the daemon only if compiled with USE_RANDOM_DAEMON. - - * Makefile.am (libcipher_la_SOURCES): Build random-daemon support - only if requested. - -2007-02-21 Werner Koch <wk@g10code.com> - - * random.c (rndpool, keypool): Make unsigned. - (mix_pool): Change char* variables to unsigned char*. - (gcry_randomize): Make arg BUFFER a void*. - (gcry_create_nonce): Ditto. - - * rmd160.c (gcry_rmd160_mixblock): Make BUFFER a void*. - (_gcry_rmd160_hash_buffer): Make OUTBUF and BUFFER void*. - * sha1.c (_gcry_sha1_hash_buffer): Ditto. - - * cipher.c (gcry_cipher_encrypt, cry_cipher_decrypt): Change - buffer args to void*. - (gcry_cipher_register): Make ALGORITHM_ID a int *. - - * md.c (md_start_debug): Make SUFFIX a const char*. Use snprintf. - (gcry_md_debug): New. - (gcry_md_ctl): Changed arg BUFFER from unsigned char*. - - * md.c (md_write): Make INBUF a const void*. - (gcry_md_write): Remove needless cast. - * crc.c (crc32_write): Make INBUF a const void* - (update_crc32, crc24rfc2440_write): Ditto. - * sha512.c (sha512_write, transform): Ditto. - * sha256.c (sha256_write, transform): Ditto. - * rmd160.c (rmd160_write, transform): Ditto. - * md5.c (md5_write, transform): Ditto. - * md4.c (md4_write, transform): Ditto. - * sha1.c (sha1_write, transform): Ditto. - - * tiger.c (tiger_write, transform): Ditto. - * whirlpool.c (whirlpool_write, whirlpool_add, transform): Ditto. - - * elgamal.c (elg_names): Change to a const*. - * dsa.c (dsa_names): Ditto. - * rsa.c (rsa_names): Ditto. - * pubkey.c (gcry_pk_lookup_func_name): Make ALIASES a const. - -2007-02-20 Werner Koch <wk@g10code.com> - - * rndlinux.c (open_device): Remove unsused arg MINOR. - -2007-01-30 Werner Koch <wk@g10code.com> - - * sha256.c (oid_spec_sha256): Add alias from pkcs#1. - * sha512.c (oid_spec_sha512): Ditto. - (oid_spec_sha384): Ditto. - -2006-12-18 Werner Koch <wk@g10code.com> - - * rndlinux.c (set_cloexec_flag): New. - (open_device): Set close-on-exit flags. Suggested by Max - Kellermann. Fixes Debian#403613. - - * Makefile.am (AM_CPPFLAGS, AM_CFLAGS): Splitted and merged - Moritz' changes. - (INCLUDES): Removed. - -2006-11-30 Werner Koch <wk@g10code.com> - - * serpent.c (byte_swap_32): Remove trailing semicolon. - -2006-11-15 Werner Koch <wk@g10code.com> - - * Makefile.am (INCLUDES): Include ../src/ - -2006-11-03 Werner Koch <wk@g10code.com> - - * random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not - sys/times.h. Reported by Rafaël Carré. - -2006-11-05 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the - new gcrypt.h is used, not the one installed in the system. - -2006-10-25 Werner Koch <wk@g10code.com> - - * primegen.c (prime_generate_internal): Tweaked use of secure - memory and entropy use. Safe unused primes from the pool. Allocate - at least a pool of 30. - (save_pool_prime, get_pool_prime): New. - -2006-10-23 Werner Koch <wk@g10code.com> - - * ac.c (_gcry_ac_data_from_sexp): Reset sexp_tmp for failsafe - means. Release sexp_cur if needed. Reported by Dirk Stoecker. - - * pubkey.c (pubkeys_registered_lock): Intialized it. It is not - realy needed because this is a mere initialization to 0 anyway. - Noted by Victor Stinner. - -2006-10-17 Werner Koch <wk@g10code.com> - - * dsa.c (_gcry_dsa_generate2): New. - (generate): New arg QBITS. Add sanity checks for reasonable qbits - and nbits. - * pubkey.c (gcry_pk_genkey): Parse an qbits element. - (pubkey_generate): New arg QBITS. Pass it to the DSA generation. - -2006-10-05 Werner Koch <wk@g10code.com> - - * md.c (gcry_md_algo_info) <get_asnoid>: Check that the algo is - available. - -2006-10-04 David Shaw <dshaw@jabberwocky.com> (wk) - - * tiger.c (round): Rename to tiger_round as gcc 4 has a built-in - round function that this conflicts with. - -2006-09-11 Werner Koch <wk@g10code.com> - - * rndw32.c (slow_gatherer_windowsNT): While adding data use the - size of the diskPerformance and not its address. Has been fixed in - GnuPG more than a year ago. Noted by Lee Fisher. - -2006-08-30 Werner Koch <wk@g10code.com> - - * pubkey.c (sexp_data_to_mpi): Need to allow "ripemd160" here as - this is the canonical name. - -2006-08-29 Hye-Shik Chang <perky@FreeBSD.org> (wk) - - * seed.c: New. - -2006-08-03 Werner Koch <wk@g10code.com> - - * random-daemon.c (_gcry_daemon_initialize_basics): Don't - initialize the socket. Remove arg SOCKETNAME. - (connect_to_socket): Make sure that daemon is set to -1 on error. - (call_daemon): Initialize the socket on the first call. - (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) - (_gcry_daemon_create_nonce): New arg SOCKETNAME. - * random.c (initialize): Call new daemon initializator. - (get_random_bytes, gcry_randomize, gcry_create_nonce): Pass socket - name to daemon call and reset allow_daemon on failure. - -2006-07-26 Werner Koch <wk@g10code.com> - - * rmd160.c (_gcry_rmd160_mixblock): Add cast to transform call. - - * blowfish.c (selftest): Cast string to usnigned char*. - - * primegen.c (prime_generate_internal): Cast unsigned/char* - mismatch in calling m_out_of_n. - (is_prime): Changed COUNT to unsigned int *. - - * ac.c (_gcry_ac_data_copy): Initialize DATA_MPIS. - - * random.c (gcry_create_nonce): Update the pid after a fork. - Reported by Uoti Urpala. - -2006-07-04 Marcus Brinkmann <marcus@g10code.de> - - * sha512.c: Fix typo in copyright notice. - -2006-06-21 Werner Koch <wk@g10code.com> - - * rsa.c (_gcry_rsa_generate): Replace xcalloc by calloc. - * pubkey.c (gcry_pk_encrypt, gcry_pk_sign): Ditto. - (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_encrypt) - (gcry_pk_sign, gcry_pk_genkey, gcry_pk_get_keygrip): Ditto. - * md.c (md_copy): Ditto. - -2006-04-22 Moritz Schulte <moritz@g10code.com> - - * random-daemon.c (_gcry_daemon_initialize_basics): New argument: - SOCKETNAME. Passing on to connect_to_socket() if non-NULL. - (connect_to_socket, writen, readn, call_daemon): New functions. - (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) - (_gcry_daemon_create_nonce): Call call_daemon(). - (RANDOM_DAEMON_SOCKET): New symbol. - (daemon_socket): New static variable. - - * random.h (_gcry_daemon_initialize_basics): New parameter: - SOCKETNAME. - (_gcry_set_random_daemon_socket): New declaration. - - * random.c (initialize_basics): Pass DAEMON_SOCKET_NAME to - _gcry_daemon_initialize_basics. - (_gcry_set_random_daemon_socket): New function, setting - DAEMON_SOCKET_NAME. - -2006-04-01 Moritz Schulte <moritz@g10code.com> - - * ac.c (eme_pkcs_v1_5_encode): Use KEY_SIZE directly, no need to - call gcry_ac_key_get_nbits. - (eme_pkcs_v1_5_decode): Likewise. - (ac_es_dencode_prepare_pkcs_v1_5): Fill options_em structure with - key_size. - (_gcry_ac_data_dump, gcry_ac_data_dump): New functions. - (_gcry_ac_data_to_sexp, _gcry_ac_data_from_sexp): More or less - rewritten; changed S-Expression format so that it matches the one - used in pubkey.c. - -2006-03-15 Werner Koch <wk@g10code.com> - - * random-daemon.c: New. - * random.c (_gcry_use_random_daemon): New. - (get_random_bytes, gcry_randomize, gcry_create_nonce): Try - diverting to the daemon functions. - -2006-03-14 Werner Koch <wk@g10code.com> - - * random.c (lock_seed_file): New. - (read_seed_file, _gcry_update_random_seed_file): Use it. - - * random.c (gcry_create_nonce): Detect a fork and re-seed. - (read_pool): Fixed the fork detection; it used to work only for - multi-threaded processes. - -2006-03-12 Brad Hards <bradh@frogmouth.net> (wk) - - * md.c (md_open): Use new variable macpads_Bsize instead of - hardwiring the block size. Changed at all places. - -2006-03-10 Brad Hards <bradh@frogmouth.net> (wk, patch 2005-04-22) - - * md.c, sha256.c: Add support for SHA-224. - (sha224_init): New. - -2006-01-18 Brad Hards <bradh@frogmouth.net> (wk 2006-03-07) - - * cipher.c (cipher_encrypt, cipher_decrypt, do_ofb_encrypt) - (do_ofb_decrypt, gcry_cipher_open): Implement Output Feedback Mode. - -2005-11-02 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_algo_name): Return "?" instead of NULL for - unknown algorithm IDs. - * cipher.c (cipher_algo_to_string): Likewise. - -2005-11-01 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_algo_info): Don't forget to break after switch - case. - -2005-09-19 Werner Koch <wk@g10code.com> - - * dsa.c (generate): Add preliminary support for 2 and 4 keys. - Return an error code if the key size is not supported. - (_gcry_dsa_generate): Return an error. - -2005-08-22 Werner Koch <wk@g10code.com> - - * primegen.c (check_prime): New arg RM_ROUNDS. - (prime_generate_internal): Call it here with 5 rounds as used - before. - (gcry_prime_check): But here with 64 rounds. - (is_prime): Make sure never to use less than 5 rounds. - -2005-04-16 Moritz Schulte <moritz@g10code.com> - - * ac.c (_gcry_ac_init): New function. - -2005-04-12 Moritz Schulte <moritz@g10code.com> - - * ac.c (_gcry_ac_io_write, _gcry_ac_io_read): Initialize err to - make the compiler happy. - Always use errno, now that gcry_malloc() is guaranteed to set - errno on failure. - (_gcry_ac_data_to_sexp): Don't forget to goto out after error in - loop. - (_gcry_ac_data_to_sexp): Remove unused variable: mpi_list; - (_gcry_ac_data_to_sexp): Always deallocate sexp_buffer. - (_gcry_ac_data_from_sexp): Don't forget to initialize data_set_new. - (_gcry_ac_data_from_sexp): Handle special case, which is - necessary, since gcry_sexp_nth() does not distinguish between - "element does not exist" and "element is the empty list". - (_gcry_ac_io_init_va): Use assert to make sure that mode and type - are correct. - Use gcry_error_t types where gcry_err_code_t types have been used - before. - -2005-04-11 Moritz Schulte <moritz@g10code.com> - - * ac.c (_gcry_ac_data_sign_scheme): Don't forget to initialize - buffer. - - * whirlpool.c: New file. - * md.c (digest_table): Add whirlpool. - * Makefile.am (EXTRA_libcipher_la_SOURCES): Added: whirlpool.c. - -2005-03-30 Moritz Schulte <moritz@g10code.com> - - * ac.c (_gcry_ac_data_from_sexp): Use length of SEXP_CUR, not - length of SEXP; do not forget to set SEXP_TMP to NULL after it has - been released. - - (struct gcry_ac_mpi): New member: name_provided. - (_gcry_ac_data_set): Rename variable `name_final' to `name_cp'; - remove const qualifier; change code to not cast away const - qualifiers; use name_provided member as well. - (_gcry_ac_data_set, _gcry_ac_data_get_name): Use name_provided - member of named mpi structure. - - (gcry_ac_name_to_id): Do not forget to initialize err. - (_gcry_ac_data_get_index): Do not forget to initialize mpi_return; - use gcry_free() instead of free(); remove unnecessary cast; rename - mpi_return and name_return to mpi_cp and name_cp; adjust code. - (ac_data_mpi_copy): Do not cast away const qualifier. - (ac_data_values_destroy): Likewise. - (ac_data_construct): Likewise. - - (ac_data_mpi_copy): Initialize flags to GCRY_AC_FLAG_DEALLOC. - (ac_data_extract): Use GCRY_AC_FLAG_DEALLOC instead of - GCRY_AC_FLAG_COPY. - - (_gcry_ac_io_init_va, _gcry_ac_io_init, gcry_ac_io_init) - (gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read) - (_gcry_ac_io_read_all, _gcry_ac_io_process): New functions. - (gry_ac_em_dencode_t): Use gcry_ac_io_t in prototype instead of - memroy strings directly; adjust encode/decode functions to use io - objects. - (emsa_pkcs_v1_5_encode_data_cb): New function ... - (emsa_pkcs_v1_5_encode): ... use it here. - (ac_data_dencode): Use io objects. - (_gcry_ac_data_encode, _gcry_ac_data_decode, gcry_ac_data_encode) - (gcry_ac_data_decode): Likewise. - (_gcry_ac_data_encrypt_scheme, gcry_ac_data_encrypt_scheme) - (_gcry_ac_data_decrypt_scheme, gcry_ac_data_decrypt_scheme) - (_gcry_ac_data_sign_scheme, gcry_ac_data_sign_scheme) - (_gcry_ac_data_verify_scheme, gcry_ac_data_verify_scheme): - Likewise. - -2005-03-23 Werner Koch <wk@g10code.com> - - * rndw32.c (_gcry_rndw32_gather_random_fast): While adding data - use the size of the object and not the one of its address. Bug - reported by Sascha Kiefer. - -2005-03-19 Moritz Schulte <moritz@g10code.com> - - * cipher.c (do_cbc_encrypt): Be careful to not overwrite data, - which is to be used later on. This happend, in case CTS is - enabled and OUTBUF is equal to INBUF. - -2005-02-25 Werner Koch <wk@g10code.com> - - * pubkey.c (gcry_pk_get_keygrip): Allow for shadowed-private-key. - -2005-02-13 Moritz Schulte <moritz@g10code.com> - - * serpent.c: Updated from 1.2 branch: - - s/u32_t/u32/ and s/byte_t/byte/. Too match what we have always - used and are using in all other files too - (serpent_test): Moved prototype out of a fucntion. - -2005-02-07 Moritz Schulte <moritz@g10code.com> - - * ac.c: Major parts rewritten. - * pubkey.c (_gcry_pk_get_elements): New function. - -2004-12-09 Werner Koch <wk@g10code.com> - - * serpent.c (serpent_setkey): Moved prototype of serpent_test to - outer scope. - -2004-09-11 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (pubkey_table): Added an alias entry for GCRY_PK_ELG_E. - -2004-08-23 Moritz Schulte <moritz@g10code.com> - - * ac.c: Do not include <assert.h>. - * rndegd.c: Likewise. - * sha1.c: Likewise. - * rndunix.c: Likewise. - * rndlinux.c: Likewise. - * rmd160.c: Likewise. - * md5.c: Likewise. - * md4.c: Likewise. - * cipher.c: Likewise. - * crc.c: Likewise. - * blowfish.c: Likewise. - - * pubkey.c (dummy_generate, dummy_check_secret_key) - (dummy_encrypt, dummy_decrypt, dummy_sign, dummy_verify): Return - err code GPG_ERR_NOT_IMPLEMENTED instead of aborting through - log_bug(). - (dummy_get_nbits): Return 0 instead of aborting though log_bug(). - -2004-08-19 Werner Koch <wk@g10code.de> - - * pubkey.c (sexp_data_to_mpi): Changed the zero random byte - substituting code to actually do clever things. Thanks to - Matthias Urlichs for noting the implementation problem. - -2004-08-09 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_sign): Fixed memory leak; fix provided by - Modestas Vainius. - -2004-07-16 Werner Koch <wk@gnupg.org> - - * rijndael.c (do_encrypt): Fix alignment problem. Bugs found by - Matthias Urlichs. - (do_decrypt): Ditto. - (keySched, keySched2): Use 2 macros along with unions in the key - schedule context. - -2004-07-14 Moritz Schulte <moritz@g10code.com> - - * rsa.c (_gcry_rsa_decrypt): Don't forget to free "a". Thanks to - Nikos Mavroyanopoulos. - -2004-05-09 Werner Koch <wk@gnupg.org> - - * random.c (read_pool): Mix the PID in to better protect after a - fork. - -2004-07-04 Moritz Schulte <moritz@g10code.com> - - * serpent.c: Use "u32_t" instead of "unsigned long", do not - declare S-Box variables as "register". Fixes failure on - OpenBSD/sparc64, reported by Nikolay Sturm. - -2004-05-07 Werner Koch <wk@gnupg.org> - - * random.c (initialize): Factored out some code to .. - (initialize_basics): .. new function. - (_gcry_random_initialize): Just call initialize_basics unless the - new arg FULL is set to TRUE. - (_gcry_fast_random_poll): Don't do anything unless the random - system has been really initialized. - -2004-05-07 Moritz Schulte <moritz@g10code.de> - - * ac.c (gcry_ac_open): Do not dereference NULL pointer. Reported - by Umberto Salsi. - -2004-02-20 Werner Koch <wk@gnupg.org> - - * primegen.c (check_prime): New args CB_FUNC and CB_ARG; call them - at different stages. Pass these arguments through all callers. - -2004-02-06 Werner Koch <wk@gnupg.org> - - * des.c: Add a new OID as used by pkcs#12. - - * rfc2268.c: New. Taken from libgcrypt. - * cipher.c: Setup the rfc2268 algorithm. - -2004-01-25 Moritz Schulte <mo@g10code.com> - - * primegen.c (prime_generate_internal): Do not forget to free - `q_factor'; fixed by Brieuc Jeunhomme. - (prime_generate_internal): Do not forget to free `prime'. - -2004-01-14 Moritz Schulte <mo@g10code.com> - - * ac.c (gcry_ac_data_set): New argument: flags; slightly - rewritten. - (gcry_ac_data_get_name, gcry_ac_data_get_index): Likewise. - (gcry_ac_key_pair_generate): New argument: misc_data; modified - order of arguments. - (gcry_ac_key_test): New argument: handle. - (gcry_ac_key_get_nbits, gcry_ac_key_get_grip): Likewise. - Use GCRY_AC_FLAG_NO_BLINDING instead of - GCRY_AC_DATA_FLAG_NO_BLINDING. - (gcry_ac_mpi): New member: flags. - (gcry_ac_data_search, gcry_ac_data_add): Removed functions. - -2003-12-22 Werner Koch <wk@gnupg.org> - - * primegen.c (is_prime): Release A2. - -2003-12-19 Werner Koch <wk@gnupg.org> - - * md.c: Moved a couple of functions down below the data structure - definitions. - (struct gcry_md_context): New field ACTUAL_HANDLE_SIZE. - (md_open): Set it here. - (strcut gcry_md_list): New field ACTUAL_STRUCT_SIZE. - (md_enable): Set it here. - (md_close): Wipe the context memory. - secure memory. - * cipher.c (struct gcry_cipher_handle): New field ACTUAL_HANDLE_SIZE. - (gcry_cipher_open): Set it here. - (gcry_cipher_close): Use it to always wipe out the handle data. - - * ac.c (gcry_ac_open): Make sure HANDLE gets initialized even when - the function is not successful. - (gcry_ac_close): Allow a NULL handle. - (gcry_ac_key_destroy, gcry_ac_key_pair_destroy): Ditto. - (gcry_ac_key_get_grip): Return INV_OBJ on error. - - * primegen.c (prime_generate_internal): Fixed error code for - failed malloc. Replaced the !err if chain by gotos. - (gcry_prime_group_generator): Remove the extra sanity check. - - * md.c: Minor code and comment cleanups. - -2003-12-16 Werner Koch <wk@gnupg.org> - - * primegen.c (gen_prime): Doc fix. Thanks to Newton Hammet. - -2003-12-11 Werner Koch <wk@gnupg.org> - - * rndunix.c (slow_poll): Don't use #warning but #error. - - * rndegd.c: Changed indentation. - (my_make_filename): Removd the var_arg cruft becuase we - don't need it here. Changed caller. - - * rndlinux.c: Changed indentation. - (open_device): Remove the superfluous stat call and clarify - comment. - - * rsa.c: Changed indentation. - (secret): Use the standard algorithm if p, q and u are not - available. - (rsa_blind, rsa_unblind): Renamed from _gcry_rsa_blind, - _gcry_rsa_unblind and moved more to the top. - - * md4.c: Changed indentation. Removed unnecessary casts. - * md5.c, rmd160.c, sha1.c, tiger.c: Ditto. - * rijndael.c, twofish.c: Ditto. - * serpent.c: Removed unnecessary casts. - * sha256.c, sha512.c: Ditto. - -2003-12-09 Werner Koch <wk@gnupg.org> - - * dsa.c: Unified indentation style. - * elgamal.c: Ditto. - * des.c (des_key_schedule): Code beautifications. - * blowfish.c: Changed indentation style. - * cast5.c (do_cast_setkey): Ditto. - - * pubkey.c (gcry_pk_encrypt): Replaced the chain of if(!err) tests - by straightforward gotos. Other cleanups. - (gcry_pk_decrypt): Ditto. - (gcry_pk_sign): Ditto. - (gcry_pk_verify): Ditto. - (gcry_pk_genkey): Ditto. Use strtoul instead of strtol. - (gcry_pk_ctl): Use GPG_ERR_INV_ARG to indicate bad arguments. - -2003-12-07 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_register_default): Undef the helper macro. - (gcry_pk_map_name): Allow NULL for string. - (sexp_to_key): Use memcpy and not strncpy. Use gcry_free and not - free. - (sexp_to_sig): Ditto. - (sexp_to_enc): Ditto. Replaced the chain of if(!err) tests by - straightforward gotos. - -2003-12-05 Werner Koch <wk@gnupg.org> - - * cipher.c: Documentation cleanups. - (gcry_cipher_mode_from_oid): Allow NULL for STRING. - -2003-12-03 Werner Koch <wk@gnupg.org> - - * elgamal.c (sign, do_encrypt, gen_k): Make sure that a small K is - only used for encryption. - -2003-11-18 Werner Koch <wk@gnupg.org> - - * random.h (rndw32_set_dll_name): Removed unused prototype. - - * Makefile.am (EXTRA_DIST): Added Manifest. - -2003-11-11 Werner Koch <wk@gnupg.org> - - * Manifest: New. - -2003-11-04 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_hash_buffer): Use shortcut for SHA1 - * sha1.c (_gcry_sha1_hash_buffer): New. - - * random.c: Reformatted most functions. - (mix_pool): Moved the failsafe_digest from global - scope to here. - (do_fast_random_poll): Use the generic fucntions even if a fast - gathering function has been used. - (read_pool): Detect a fork and retry. - (gcry_randomize, get_random_bytes): Don't distinguish anymore - between weak and strong random. - (gcry_create_nonce): New. - -2003-10-31 Werner Koch <wk@gnupg.org> - - * rndw32.c (slow_gatherer_windowsNT): Use a plain buffer for the - disk performance values and not the W32 API structure. - - * 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/. - -2003-10-27 Moritz Schulte <mo@g10code.com> - - * pubkey.c (gcry_pk_encrypt): Don't forget to deallocate pkey. - -2003-10-27 Werner Koch <wk@gnupg.org> - - * random.c (gcry_random_add_bytes): Return if buflen is zero to - avoid gcc warning about unsed parameter. - (MASK_LEVEL): Simplified; does now work for signed and unsigned - w/o warnings. - - * md.c (md_start_debug): Removed the const from SUFFIX, because - this function is called from the control fucntion which does not - require const. - - Prefixed all (pubkey,digest,cipher}_spec_* globale variables with - _gcry_. - - * ac.c (ac_key_identifiers): Made static. - - * random.c (getfnc_gather_random,getfnc_fast_random_poll): Move - prototypes to .. - * rand-internal.h: .. here - * random.c (getfnc_gather_random): Include rndw32 gatherer. - * rndunix.c, rndw32.c, rndegd.c: Include them here. - * rndlinux.c (_gcry_rndlinux_gather_random): Prepend the _gcry_ - prefix. Changed all callers. - * rndegd.c (_gcry_rndegd_gather_random): Likewise. - (_gcry_rndegd_connect_socket): Likewise. - * rndunix.c (_gcry_rndunix_gather_random): Likewise. - (waitpid): Made static. - * rndw32.c: Removed the old and unused winseed.dll cruft. - (_gcry_rndw32_gather_random_fast): Renamed from - gather_random_fast. - (_gcry_rndw32_gather_random): Renamed from gather_random. Note, - that the changes 2003-04-08 somehow got lost. - - * sha512.c (sha512_init, sha384_init): Made static. - - * cipher.c (do_ctr_decrypt): Removed "return" from this void - function. - -2003-10-24 Moritz Schulte <mo@g10code.com> - - * serpent.c: Fix an issue on big-endian systems. - - * rndw32.c: Removed IS_MODULE -cruft. - * rndlinux.c (rndlinux_gather_random): Likewise. - -2003-10-10 Werner Koch <wk@gnupg.org> - - * primegen.c (gen_prime): Bail out if NBITS is less than 16. - (prime_generate_internal): Initialize prime variable to suppress - compiler warning. Check pbits, initialize qbits when passed as - zero. - - * primegen.c (prime_generate_internal): New arg - ALL_FACTORS. Changed all callers. - (gcry_prime_generate): Make the factors arg optional. Request - all_factors. Make sure PRIME is set to NULL even on error. - (gcry_prime_group_generator): New. - (gcry_prime_release_factors): New. - -2003-10-06 Werner Koch <wk@gnupg.org> - - * primegen.c (gen_prime): Assert that NBITS is never zero, it - would cause a segv. - -2003-09-28 Moritz Schulte <mo@g10code.com> - - * ac.c: Include "cipher.h". - -2003-09-27 Moritz Schulte <mo@g10code.com> - - * rndegd.c (do_read): Return nread instead of nbytes; thanks to - Michael Caerwyn. - -2003-09-04 Werner Koch <wk@gnupg.org> - - * pubkey.c (_gcry_pk_aliased_algo_name): New. - * ac.c (gcry_ac_open): Use it here. - - * Makefile.am (EXTRA_libcipher_la_SOURCES): Add serpent.c - -2003-09-02 Moritz Schulte <mo@g10code.com> - - * primegen.c (gcry_prime_check, gcry_prime_generate): New - functions. - (prime_generate_internal): New function, based on - _gcry_generate_elg_prime. - (_gcry_generate_elg_prime): Rewritten as a wrapper for - prime_generate_internal. - -2003-08-28 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_encrypt): Don't include the flags list in the - return value. This does not make sense and breaks any programs - parsing the output strictly (e.g. current gpgsm). - (gcry_pk_encrypt): If aliases for the algorithm name exists, take - the first one instead of the regular name to adhere to SPKI - conventions. - (gcry_pk_genkey): Ditto. - (gcry_pk_sign): Ditto. Removed unused KEY_ALGO_NAME. - -2003-08-19 Moritz Schulte <mo@g10code.com> - - * cipher.c: Add support for Serpent - * serpent.c: New file. - -2003-08-10 Moritz Schulte <moritz@g10code.com> - - * rsa.c (_gcry_rsa_blind, _gcry_rsa_unblind): Declare static. - -2003-08-09 Timo Schulz <twoaday@freakmail.de> - - * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM - two times, but also the NAME_OF_DEV_URANDOM device. - -2003-08-08 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (sexp_to_enc): Fixed extraction of S-Expression: do not - fail if no `flags' sub S-Expression is found. - -2003-07-27 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_lookup_func_oid): Allow for empty OID lists. - -2003-07-23 Moritz Schulte <moritz@g10code.com> - - * ac.c (gcry_ac_data_construct): New argument: include_flags, only - include `flags' S-expression, if include_flags is true. Adjust - callers. Thanks for triggering a bug caused by `flags' - sub-S-expression where they are not expected to Ralf Schneider. - -2003-07-21 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_lookup_func_name): Use new member name - `aliases' instead of `sexp_names'. - - * ac.c (gcry_ac_key_data_get): New function. - - * cipher.c (gcry_cipher_lookup_func_name): Fix return value. - -2003-07-20 Moritz Schulte <moritz@g10code.com> - - * blowfish.c: Adjusted for new gcry_cipher_spec_t structure. - * cast5.c: Likewise. - * twofish.c: Likewise. - * arcfour.c: Likewise. - * rijndael.c (rijndael_oids, rijndael192_oids, rijndael256_oids): - New variables, adjust for new gcry_cipher_spec_t structure. - * des.c (oids_tripledes): New variable, adjust for new - gcry_cipher_spec_t structure. - - * md.c (oid_table): Removed. - - * tiger.c (oid_spec_tiger): New variable. - (digest_spec_tiger): Adjusted for new gry_md_spec_t structure. - - * sha512.c (oid_spec_sha512): New variable. - (digest_spec_sha512): Adjusted for new gry_md_spec_t structure. - - * sha512.c (oid_spec_sha384): New variable. - (digest_spec_sha384): Adjusted for new gry_md_spec_t structure. - - * sha256.c (oid_spec_sha256): New variable. - (digest_spec_sha256): Adjusted for new gry_md_spec_t structure. - - * sha1.c (oid_spec_sha1): New variable. - (digest_spec_sha1): Adjusted for new gry_md_spec_t structure. - - * rmd160.c (oid_spec_rmd160): New variable. - (digest_spec_rnd160): Adjusted for new gry_md_spec_t structure. - - * md5.c (oid_spec_md5): New variable. - (digest_spec_md5): Adjusted for new gry_md_spec_t structure. - - * md4.c (oid_spec_md4): New variable. - (digest_spec_md4): Adjusted for new gry_md_spec_t structure. - - * crc.c (digest_spec_crc32, digest_spec_crc32_rfc1510, - digest_spec_crc32_rfc2440): Adjusted for new gry_md_spec_t - structure. - -2003-07-19 Moritz Schulte <moritz@g10code.com> - - * md.c (gcry_md_lookup_func_oid): New function. - (search_oid): New function, copied from cipher.c. - (gcry_md_map_name): Adjust for new search_oid_interface. - - * cipher.c (oid_table): Removed table. - (gcry_cipher_lookup_func_oid): New function. - (search_oid): Rewritten to use the module functions. - (gcry_cipher_map_name): Adjust for new search_oid interface. - (gcry_cipher_mode_from_oid): Likewise. - -2003-07-18 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_hash_buffer): Convert ERR to gpg_error_t in - gpg_strerror. - -2003-07-14 Moritz Schulte <moritz@g10code.com> - - * cipher.c (gcry_cipher_lookup_func_name): Also check the cipher - name aliases, not just the primary name. - (gcry_cipher_map_name): Remove kludge for aliasing Rijndael to - AES. - - * arcfour.c, blowfish.c, cast5.c, des.c, twofish.c: Adjust cipher - specification structures. - - * rijndael.c (rijndael_names, rijndael192_names, - rijndael256_names): New variables, use them in the cipher - specifications. - - * rmd160test.c: Removed file. - - * ac.c, arcfour.c, blowfish.c, cast5.c, cipher.c, des.c, dsa.c, - elgamal.c, md.c, pubkey.c, random.c, rijndael.c, rsa.c, twofish.c: - Used gcry_err* wrappers for libgpg symbols. - - * primegen.c (gen_prime): Correct the order arguments to - extra_check. - -2003-07-12 Moritz Schulte <moritz@g10code.com> - - * ac.c: Replaced all public occurences of gpg_error_t with - gcry_error_t. - * cipher.c: Likewise. - * md.c: Likewise. - * pubkey.c: Likewise. - * random.c: Likewise. - - * cipher.c: Added support for TWOFISH128. - -2003-07-08 Moritz Schulte <moritz@g10code.com> - - * ac.c (gcry_ac_data_copy_internal): New function, based on - gcry_ac_data_copy. - (gcry_ac_data_copy): Made public, use gcry_ac_data_copy_internal. - (gcry_ac_key_init): Use gcry_ac_data_copy_internal. - -2003-07-07 Moritz Schulte <moritz@g10code.com> - - * ac.c (gcry_ac_data_set): Only release old MPI value if it is - different from the new value. Bug reported by Simon Josefsson - <jas@extundo.com>. - - * pubkey.c (gcry_pk_list): New function. - * md.c (gcry_md_list): New function. - - * ac.c (gcry_ac_key_pair_generate): Fix calculation of format - string size. - -2003-07-05 Moritz Schulte <moritz@g10code.com> - - * md.c: Named struct of digest_table `digest_table_entry'. - (digest_table_entry): New member: algorithm; filled in. - (digest_table_entry): Removed unused member: flags. - (gcry_md_register): New argument: algorithm_id, filled in. - (gcry_md_register_default): Used algorithm ID from module - structure. - (gcry_md_map_name): Likewise. - (md_enable): Likewise. - (md_read): Likewise. - (gcry_md_info): Likewise. - - * pubkey.c: Named truct for pubkey_table `pubkey_table_entry'. - (pubkey_table_entry): New member: algorithm; filled in. - (gcry_pk_register_default): Used algorithm ID from pubkey_table. - (gcry_pk_register): New argument: algorithm_id, filled in. - (gcry_pk_map_name): Used algorithm ID from module structure. - (gcry_pk_decrypt): Likewise. - (gcry_pk_encrypt): Likewise. - (gcry_pk_verify): Likewise. - (gcry_pk_sign): Likewise. - (gcry_pk_testkey): Likewise. - (gcry_pk_genkey): Likewise. - (gcry_pk_get_nbits): Likewise. - (sexp_to_key): Removed unused variable: algo. - (sexp_to_sig): Likewise. - - * cipher.c: Named struct for cipher_table `cipher_table_entry'. - (cipher_table_entry): New member: algorithm; filled in. - (gcry_cipher_register_default): Used algorithm ID from - cipher_table. - (gcry_cipher_register): New argument: algorithm_id, filled in. - (gcry_cipher_map_name): Used algorithm ID from module structure. - - * arcfour.c (cipher_spec_arcfour): Removed algorithm ID. - * blowfish.c (cipher_spec_blowfish): Likewise. - * cast5.c (cipher_spec_cast5): Likewise. - * crc.c (digest_spec_crc32): Likewise. - * crc.c (digest_spec_crc32_rfc1510): Likewise. - * crc.c (digest_spec_crc32_rfc2440): Likewise. - * des.c (cipher_spec_des): Likewise. - * des.c (cipher_spec_tripledes): Likewise. - * dsa.c (pubkey_spec_dsa): Likewise. - * elgamal.c (pubkey_spec_elg): Likewise. - * md4.c (digest_spec_md4): Likewise. - * md5.c (digest_spec_md5): Likewise. - * aes.c (cipher_spec_aes): Likewise. - * aes.c (cipher_spec_aes192): Likewise. - * aes.c (cipher_spec_aes256): Likewise. - * rsa.c (pubkey_spec_rsa): Likewise. - * sha1.c (digest_spec_sha1): Likewise. - * sha256.c (digest_spec_sha256): Likewise. - * sha512.c (digest_spec_sha512): Likewise. - * tiger.c (digest_spec_tiger): Likewise. - * twofish.c (cipher_spec_twofish): Likewise. - * twofish.c (cipher_spec_twofish128): Likewise. - - * Makefile.am (EXTRA_libcipher_la_SOURCES): Fix list of source - files; reported by Simon Josefsson <jas@extundo.com>. - - * pubkey.c: Replaced all occurences of `id' with `algorithm', - since `id' is a keyword in obj-c. - * md.c: Likewise. - * cipher.c: Likewise. - - * crc.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, tiger.c: - Replaced all occurences of gcry_digest_spec_t with gcry_md_spec_t. - - * dsa.c, rsa.c, elgamal.c: Replaced all occurencens of - gcry_pubkey_spec_t with gcry_pk_spec_t. - - * md.c: Replaced all occurences of gcry_digest_spec_t with - gcry_md_spec_t. - (gcry_digest_register_default): Renamed to ... - (gcry_md_register_default): ... this; adjusted callers. - (gcry_digest_lookup_func_name): Renamed to ... - (gcry_md_lookup_func_name): ... this; adjusted callers. - (gcry_digest_lookup_name): Renamed to ... - (gcry_md_lookup_name): ... this; adjusted callers. - (gcry_digest_register): Renamed to ... - (gcry_md_register): ... this. - (gcry_digest_unregister): Renamed to ... - (gcry_md_unregister): ... this. - - * pubkey.c (gcry_pubkey_register): Renamed to ... - (gcry_pk_register): ... this. - (gcry_pubkey_unregister): Renamed to ... - (gcry_pk_unregister): ... this. - Replaced all occurences of gcry_pubkey_spec_t with gcry_pk_spec_t. - (gcry_pubkey_register_default): Renamed to ... - (gcry_pk_register_default): ... this; adjusted callers. - (gcry_pubkey_lookup_func_name): Renamed to ... - (gcry_pk_lookup_func_name): ... this; adjusted callers. - (gcry_pubkey_lookup_name): Renamed to ... - (gcry_pk_lookup_name): ... this; adjusted callers. - - * md.c (gcry_md_hash_buffer): Fix error checking. Thanks to Simon - Josefsson <jas@extunde.com>. - -2003-07-04 Moritz Schulte <moritz@g10code.com> - - * cipher.c (gcry_cipher_list): New function. - -2003-07-01 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (sexp_to_sig): Accept a `flags' S-expression to be more - consistent with sexp_to_enc. - -2003-06-30 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (libcipher_la_SOURCES): Added: ac.c. - - * pubkey.c (_gcry_pk_module_lookup): New function. - (_gcry_pk_module_release): New function. - -2003-06-29 Moritz Schulte <moritz@g10code.com> - - * ac.c: New file. - -2003-06-26 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_hash_buffer): Trigger BUG correcly with new API. - -2003-06-19 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_is_enabled): Fixed. - -2003-06-18 Werner Koch <wk@gnupg.org> - - * cipher.c (gcry_cipher_get_algo_keylen): New. - (gcry_cipher_get_algo_blklen): New. - -2003-06-18 Moritz Schulte <moritz@g10code.com> - - * arcfour.c, cipher.c, blowfish.c, md.c, cast5.c, pubkey.c, crc.c, - des.c, dsa.c, elgamal.c, md4.c, md5.c, random.c, rijndael.c, - rmd160.c, rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: - Replaced older types GcryDigestSpec, GcryCipherSpec and - GcryPubkeySpec with newer types: gcry_digest_spec_t, - gcry_cipher_spec_t and gcry_pubkey_spec_t. - - * md.c (gcry_digest_id_new): Removed function. - (gcry_digest_register): Removed code for generating a new module - ID. - - * pubkey.c (gcry_pubkey_id_new): Removed function. - (gcry_pubkey_register): Removed code for generating a new module - ID. - - * cipher.c, md.c, pubkey.c: Replace old type GcryModule with newer - one: gcry_module_t. - (gcry_cipher_id_new): Removed function. - (gcry_cipher_register): Removed code for generating a new module - ID. - - * cipher.c (gcry_cipher_register): Adjust call to - _gcry_module_add. - (gcry_cipher_register_default): Likewise. - * pubkey.c (gcry_pubkey_register_default): Likewise. - (gcry_pubkey_register): Likewise. - * md.c (gcry_digest_register_default): Likewise. - (gcry_digest_register): Likewise. - - * md.c (gcry_digest_lookup_func_id): Removed function. - (gcry_digest_lookup_id): Likewise. - (gcry_digest_id_new): Use _gcry_module_lookup_id instead of - gcry_digest_lookup_id. - (digest_algo_to_string): Likewise. - (check_digest_algo): Likewise. - (md_enable): Likewise. - (md_digest_length): Likewise. - (md_asn_oid): Likewise. - - * pubkey.c (gcry_pubkey_lookup_id): Removed function. - (gcry_pubkey_lookup_func_id): Likewise. - (gcry_pubkey_id_new): Use _gcry_module_lookup_id instead of - gcry_pubkey_id_new. - (gcry_pk_algo_name): Likewise. - (disable_pubkey_algo): Likewise. - (check_pubkey_algo): Likewise. - (pubkey_get_npkey): Likewise. - (pubkey_get_nskey): Likewise. - (pubkey_get_nsig): Likewise. - (pubkey_get_nenc): Likewise. - (pubkey_generate): Likewise. - (pubkey_check_secret_key): Likewise. - (pubkey_encrypt): Likewise. - (pubkey_decrypt): Likewise. - (pubkey_sign): Likewise. - (pubkey_verify): Likewise. - (gcry_pk_algo_info): Likewise. - - * cipher.c (gcry_cipher_lookup_func_id): Removed function. - (gcry_cipher_lookup_id): Likewise. - (cipher_algo_to_string): use _gcry_module_lookup_id instead of - gcry_cipher_lookup_id. - (disable_cipher_algo): Likewise. - (check_cipher_algo): Likewise. - (cipher_get_blocksize): Likewise. - (gcry_cipher_open): Likewise. - (gcry_cipher_id_new): Likewise. - -2003-06-17 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (GCRYPT_MODULES): Set to @GCRYPT_CIPHERS@, - @GCRYPT_PUBKEY_CIPHERS@, @GCRYPT_DIGESTS@ and @GCRYPT_RANDOM@. - (libcipher_la_DEPENDENCIES): Set to $(GCRYPT_MODULES). - (libcipher_la_LIBADD): Likewise. - (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@. - (EXTRA_libcipher_la_SOURCES): Added all conditional sources. - - * md.c (md_open): Use _gcry_fast_random_poll instead of - fast_random_poll. - * cipher.c (gcry_cipher_open): Likewise. - - * random.h (fast_random_poll): Removed macro. - - * blowfish.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c, - tiger.c: Use Autoconf's WORDS_BIGENDIAN instead of our own - BIG_ENDIAN_HOST. - -2003-06-16 Moritz Schulte <moritz@g10code.com> - - * random.c (getfnc_gather_random): Do not special-case - USE_ALL_RANDOM_MODULES, make it the default. - - * dsa.c: Replace last occurences of old type names with newer - names (i.e. replace MPI with gcry_mpi_t). - * elgamal.c: Likewise. - * primegen.c: Likewise. - * pubkey.c: Likewise. - * rsa.c: Likewise. - -2003-06-14 Moritz Schulte <moritz@g10code.com> - - * des.c (des_setkey): Add selftest check. - (tripledes_set3keys): Likewise. - (do_tripledes_setkey): Remove selftest check. - (do_des_setkey): Likewise. - -2003-06-11 Moritz Schulte <moritz@g10code.com> - - * md.c (_gcry_md_init): New function. - * cipher.c (_gcry_cipher_init): New function. - * pubkey.c (_gcry_pk_init): New function. - -2003-06-13 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_get_algo): Reverted to old API. This is a - convenience function anyway and error checking is not approriate. - (gcry_md_is_secure): New. - (gcry_md_is_enabled): New. - -2003-06-12 Werner Koch <wk@gnupg.org> - - * cipher.c (gcry_cipher_open): Make sure HANDLE is set to NULL on - error. - -2003-06-11 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_open): Make sure H receives either NULL or an - valid handle. - (gcry_md_copy): Swapped arguments so that it is more in lione with - md_open and most other API fucntions like memcpy (destination - comes first). Make sure HANDLE is set to NULL on error. - - * rijndael.c (do_encrypt): Hack to force correct alignment. It - seems not to be not sufficient, though. We should rework this - fucntions and remove all these ugly casts. Let the compiler - optimize or have an assembler implementation. - -2003-06-09 Moritz Schulte <moritz@g10code.com> - - * Makefile.am: Removed rules serpent, since that is not commited - yet. - -2003-06-08 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_encrypt): Improve calculation for size of the - format string. - -2003-06-07 Moritz Schulte <moritz@g10code.com> - - * arcfour.c, bithelp.h, blowfish.c, cast5.c, cipher.c, crc.c, - des.c, dsa.c, elgamal.c, md4.c, md5.c, md.c, primegen.c, pubkey.c, - rand-internal.h, random.c, random.h, rijndael.c, rmd160.c, - rmd160test.c, rmd.h, rndeged.c, rndlinux.c, rndunix.c, rndw32.c, - rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: Edited 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. Replaced any occurence of the now - deprecated type names with the new ones. - -2003-06-04 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_encrypt): Construct an arg_list and use - gcry_sexp_build_array instead of gcry_sexp_build. - (gcry_pk_sign): Likewise. - (gcry_pk_genkey): Likewise. - -2003-06-01 Moritz Schulte <moritz@g10code.com> - - * dsa.c (_gcry_dsa_generate): Do not check wether the algorithm ID - does indeed belong to DSA. - (_gcry_dsa_sign): Likewise. - (_gcry_dsa_verify): Likewise. - (_gcry_dsa_get_nbits): Likewise. - - * elgamal.c (_gcry_elg_check_secret_key): Do not check wether the - algorithm ID does indeed belong to ElGamal. - (_gcry_elg_encrypt): Likewise. - (_gcry_elg_decrypt): Likewise. - (_gcry_elg_sign): Likewise. - (_gcry_elg_verify): Likewise. - (_gcry_elg_get_nbits): Likewise. - (_gcry_elg_generate): Likewise. - - * rsa.c (_gcry_rsa_generate): Do not check wether the algorithm ID - does indeed belong to RSA. - (_gcry_rsa_encrypt): Likewise. - (_gcry_rsa_decrypt): Likewise. - (_gcry_rsa_sign): Likewise. - (_gcry_rsa_verify): Likewise. - (_gcry_rsa_get_nbits): Likewise. - -2003-05-30 Moritz Schulte <moritz@g10code.com> - - * md.c (md_get_algo): Return zero in case to algorithm is enabled. - - * md.c (gcry_md_info): Adjusted for new no-errno-API. - (md_final): Likewise. - (gcry_md_get_algo): Likewise. - * pubkey.c (gcry_pk_get_keygrip): Likewise. - (gcry_pk_ctl): Likewise. - (gcry_pk_algo_info): Likewise. - * des.c (selftest): Likewise. - -2003-05-29 Moritz Schulte <moritz@g10code.com> - - * md.c (md_enable): Do not forget to release module on error. - (gcry_md_open): Adjusted for new no-errno-API. - (md_open): Likewise. - (md_copy): Likewise. - (gcry_md_copy): Likewise. - (gcry_md_setkey): Likewise. - (gcry_md_algo_info): Likewise. - - * cipher.c (gcry_cipher_open): Adjusted for new no-errno-API and - also fixed a locking bug. - (gcry_cipher_encrypt): Adjusted for new no-errno-API. - (gcry_cipher_decrypt): Likewise. - (gcry_cipher_ctl): Likewise. - (gcry_cipher_info): Likewise. - (gcry_cipher_algo_info): Likewise. - -2003-05-28 Moritz Schulte <moritz@g10code.com> - - * md.c (md_enable): Adjusted for libgpg-error. - (gcry_md_enable): Likewise. - (gcry_digest_register_default): Likewise. - (gcry_digest_register): Likewise. - (check_digest_algo): Likewise. - (prepare_macpads): Likewise. - (gcry_md_setkey): Likewise. - (gcry_md_ctl): Likewise. - (gcry_md_get): Likewise. - (gcry_md_algo_info): Likewise. - (gcry_md_info): Likewise. - * dsa.c (_gcry_dsa_generate): Likewise. - (_gcry_dsa_check_secret_key): Likewise. - (_gcry_dsa_sign): Likewie. - (_gcry_dsa_verify): Likewise. - * twofish.c (do_twofish_setkey): Likewise. - (twofish_setkey): Likewise. - * cipher.c (gcry_cipher_register): Likewise. - -2003-05-25 Moritz Schulte <moritz@g10code.com> - - * rijndael.c (do_setkey): Adjusted for libgpg-error. - (rijndael_setkey): Likewise. - * random.c (gcry_random_add_bytes): Likewise. - * elgamal.c (_gcry_elg_generate): Likewise. - (_gcry_elg_check_secret_key): Likewise. - (_gcry_elg_encrypt): Likewise. - (_gcry_elg_decrypt): Likewise. - (_gcry_elg_sign): Likewise. - (_gcry_elg_verify): Likewise. - * rsa.c (_gcry_rsa_generate): Likewise. - (_gcry_rsa_check_secret_key): Likewise. - (_gcry_rsa_encrypt): Likewise. - (_gcry_rsa_decrypt): Likewise. - (_gcry_rsa_sign): Likewise. - (_gcry_rsa_verify): Likewise. - * pubkey.c (dummy_generate, dummy_check_secret_key, dummy_encrypt, - dummy_decrypt, dummy_sign, dummy_verify): Likewise. - (gcry_pubkey_register): Likewise. - (check_pubkey_algo): Likewise. - (pubkey_generate): Likewise. - (pubkey_check_secret_key): Likewise. - (pubkey_encrypt): Likewise. - (pubkey_decrypt): Likewise. - (pubkey_sign): Likewise. - (pubkey_verify): Likewise. - (sexp_elements_extract): Likewise. - (sexp_to_key): Likewise. - (sexp_to_sig): Likewise. - (sexp_to_enc): Likewise. - (sexp_data_to_mpi): Likewise. - (gcry_pk_encrypt): Likewise. - (gcry_pk_decrypt): Likewise. - (gcry_pk_sign): Likewise. - (gcry_pk_verify): Likewise. - (gcry_pk_testkey): Likewise. - (gcry_pk_genkey): Likewise. - (gcry_pk_ctl): Likewise. - * cipher.c (dummy_setkey): Likewise. - (check_cipher_algo): Likewise. - (gcry_cipher_open): Likewise. - (cipher_setkey): Likewise. - (gcry_cipher_ctl): Likewise. - (cipher_encrypt): Likewise. - (gcry_cipher_encrypt): Likewise. - (cipher_decrypt): Likewise. - (gcry_cipher_decrypt): Likewise. - (gcry_cipher_info): Likewise. - (gcry_cipher_algo_info): Likewise. - * cast5.c (cast_setkey): Likewise. - (do_cast_setkey): Likewise. - * arcfour.c (arcfour_setkey): Likewise. - (do_arcfour_setkey): Likewise. - * blowfish.c (do_bf_setkey): Likewise. - (bf_setkey): Likewise. - * des.c (do_des_setkey): Likewise. - (do_tripledes_setkey): Likewise. - -2003-05-22 Moritz Schulte <moritz@g10code.com> - - * tiger.c: Merged code ussing the U64_C macro from GnuPG. - - * sha512.c: Likewise. - -2003-05-17 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_genkey): Fix type: acquire a lock, instead of - releasing it. - -2003-05-11 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_testkey): Call REGISTER_DEFAULT_CIPHERS. - (gcry_pk_ctl): Likewise. - -2003-04-27 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (gcry_pk_genkey): Release sexp after extracted data has - been used. - - * md.c (gcry_md_get_algo_dlen): Simplified, simply call - md_digest_length to do the job. - - * des.c (do_des_setkey): Check for selftest failure not only - during initialization. - (do_tripledes_setkey): Include check for selftest failure. - - * pubkey.c (gcry_pubkey_register_default): New macro - `pubkey_use_dummy', use it. - - * elgamal.c (elg_names): New variable. - (pubkey_spec_elg): Include elg_names. - - * dsa.c (dsa_names): New variable. - (pubkey_spec_dsa): Include dsa_names. - - * rsa.c (rsa_names): New variable. - (pubkey_spec_rsa): Include rsa_names. - - * pubkey.c (gcry_pubkey_lookup_func_name): Compare name also with - the names listed in `sexp_names'. - -2003-04-24 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (sexp_to_key): New variables: module, pubkey. Adjusted - to new module interface. - (sexp_to_key): Changend type of argument `retalgo' from `int *' to - `GcryModule **'. Adjusted all callers. Removed argument: - r_algotblidx. - (sexp_to_sig): Changend type of argument `retalgo' from `int *' to - `GcryModule **'. Adjusted all callers. - (sexp_to_enc): Likewise. - - (pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig, - pubkey_get_nenc): Use strlen to find out the number. - - * rsa.c: Adjust pubkey_spec_rsa to new internal interface. - * dsa.c: Likewise. - * elgamal.c: Likewise. - -2003-04-17 Moritz Schulte <moritz@g10code.com> - - * pubkey.c (sexp_elements_extract): New function. - * pubkey.c (sexp_to_key): Removed variable `idx', added `err', use - sexp_elements_extract. - (sexp_to_sig): Likewise. - (sexp_to_enc): Likewise. - - * pubkey.c: Terminate list correctly. - * md.c: Include sha512/sha384 in digest_table. - -2003-04-16 Moritz Schulte <moritz@g10code.com> - - * Makefile.am: Include support for sha512.c. - - * sha512.c: New file, merged from GnuPG, with few modifications - for libgcrypt. - - * rand-internal.h: Removed declarations for constructor functions. - - * md.c (md_copy): Call _gcry_module_use for incrementing the usage - counter of the digest modules. - - * rsa.c: Do not include "rsa.h". - * dsa.c: Do not include "dsa.h". - * elgamal.c: Do not include "elgamal.h". - * des.c: Do not include "des.h". - * cast5.c: Do not include "cast5.h". - * blowfish.c: Do not include "blowfish.h". - * arcfour.c: Do not include "arcfour.h". - - * Makefile.am (libcipher_la_DEPENDENCIES): Removed. - (libcipher_la_LIBADD): Removed. - Use Automake conditionals for conditional compilation. - -2003-04-13 Moritz Schulte <moritz@g10code.com> - - * cipher.c (gcry_cipher_open): Call REGISTER_DEFAULT_CIPHERS. - - * md.c (gcry_md_list): New member: module. - (md_enable): New variable: module, changed use of module and - digest. - (md_enable): Initialize member: module. - (md_close): Call _gcry_module_release. - - * cipher.c (gcry_cipher_open): New variable: module, changed use of - module and cipher. - (struct gcry_cipher_handle): New member: module. - (gcry_cipher_open): Initialize member: module. - (gcry_cipher_close): Call _gcry_module_release. - -2003-04-09 Moritz Schulte <moritz@g10code.com> - - * cipher.c: Include "ath.h". - * md.c: Likewise. - * pubkey.c: Likewise. - - * cipher.c (ciphers_registered_lock): New variable. - * md.c (digests_registered_lock): New variable. - * pubkey.c (pubkeys_registered_lock): New variable. - - * rndlinux.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_rndlinux_constructor): Removed function. - - * rndegd.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_rndegd_constructor): Removed function. - - * rndunix.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_rndunix_constructor): Removed function. - - * rndw32.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_rndw32_constructor): Removed function. - - * rndegd.c (rndegd_connect_socket): Simplify code for creating the - egd socket address. - (rndegd_connect_socket): Call log_fatal use instead of - g10_log_fatal. - (egd_gather_random): Renamed to ... - (rndegd_gather_random): ... here. - -2003-04-08 Moritz Schulte <moritz@g10code.com> - - * rndlinux.c: Do not include "dynload.h". - * rndunix.c: Likewise. - * rndw32.c: Likewise. - - * rndegd.c (rndegd_connect_socket): Factored out from ... - (egd_gather_random): here; call it. - (egd_socket): New variable. - (egd_gather_random): Initialize fd with egd_socket, do not declare - fd static. - (do_read): Merged few changes from GnuPG. FIXME - not finished? - Do not include "dynload.h". - - * rndw32.c (gather_random): Renamed to rndw32_gather_random, do - not declare static. - (gather_random_fast): Renamed to rndw32_gather_random_fast, do not - declare static. - - * rndunix.c (gather_random): Renamed to rndunix_gather_random, do - not declare static. - * rndegd.c (gather_random): Renamed to rndegd_gather_random, do - not declare static. - * rndlinux.c (gather_random): Renamed to rndlinux_gather_random, - do not declare static. - -2003-04-07 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (libcipher_la_SOURCES): Removed construct.c. - (libcipher_la_SOURCES): Added sha1.c, sha256.c, rmd160.c, md4.c, - md5.c, tiger.c and crc.c - (EXTRA_PROGRAMS): Removed sha1, sha256, rmd160, md4, md5, tiger - and crc. Removed definitions: EXTRA_md4_SOURCES, - EXTRA_md5_SOURCES, EXTRA_rmd160_SOURCES, EXTRA_sha1_SOURCES, - EXTRA_sha256_SOURCES, EXTRA_tiger_SOURCES and EXTRA_crc_SOURCES, - BUILT_SOURCES, DISTCLEANFILES. - - * pubkey.c: Do not include "elgamal.h", "dsa.h" and "rsa.h". - - * Makefile.am (libcipher_la_SOURCES): Removed rsa.h, elgamal.h, - dsa.h, des.h, cast5.h, arcfour.h and blowfish.h. - - * rsa.h: Removed file. - * elgamal.h: Removed file. - * dsa.h: Removed file. - * des.h: Removed file. - * cast5.h: Removed file. - * arcfour.h: Removed file. - * blowfish.h: Removed file. - - * Makefile.am (libcipher_la_SOURCES): Removed dynload.c and - dynload.h. - - * rsa.c (pubkey_spec_rsa): New variable. - * dsa.c (pubkey_spec_rsa): New variable. - * elgamal.c (pubkey_spec_elg): New variable. - - * rsa.c (_gcry_rsa_get_info): Removed function. - * elgamal.c (_gcry_elg_get_info): Removed function. - * dsa.c (_gcry_dsa_get_info): Removed function. - - * tiger.c (tiger_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_tiger_constructor): Removed function. - - * sha1.c (sha1_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_sha1_constructor): Removed function. - - * sha256.c (sha256_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_sha256_constructor): Removed function. - - * rmd160.c (rmd160_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_rmd160_constructor): Removed function. - - * md5.c (md5_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_md5_constructor): Removed function. - - * md4.c (md4_get_info): Removed function. - (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func): Removed function. - (_gcry_md4_constructor): Removed function. - - * crc.c (crc_get_info): Removed function. - - * arcfour.c (do_arcfour_setkey): Changed type of context argument - to `void *', added local variable for cast, adjusted callers. - (arcfour_setkey): Likewise. - (encrypt_stream): Likewise. - * cast5.c (cast_setkey): Likewise. - (encrypt_block): Likewise. - * rijndael.c (rijndael_setkey): Likewise. - (rijndael_encrypt): Likewise. - (rijndael_decrypt): Likewise. - * twofish.c (twofish_setkey): Likewise. - (twofish_encrypt): Likewise. - (twofish_decrypt): Likewise. - * des.c (do_des_setkey): Likewise. - (do_des_encrypt): Likewise. - (do_des_encrypt): Likewise. - (do_tripledes_encrypt): Likewise. - (do_tripledes_encrypt): Likewise. - * blowfish.c (bf_setkey: Likewise. - (encrypt_block): Likewise. - (decrypt_block): Likewise. - - * arcfour.c (encrypt_stream): Likewise. - - * rijndael.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func) Removed function. - - * twofish.c (gnupgext_version, func_table): Removed definitions. - (gnupgext_enum_func) Removed function. - - * cast5.c (CIPHER_ALGO_CAST5): Removed. - - * blowfish.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. - (CIPHER_ALGO_BLOWFISH): Removed symbol. - * cast5.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Likewise. - * des.c (selftest_failed): Removed. - (initialized): New variable. - (do_des_setkey): Run selftest, if not yet done. - (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. - - * arcfour.c (_gcry_arcfour_get_info): Removed function. - * blowfish.c (_gcry_blowfish_get_info): Removed function. - * cast5.c (_gcry_cast5_get_info): Removed function. - * des.c (_gcry_des_get_info): Removed function. - * rijndael.c (_gcry_rijndael_get_info): Removed function. - * twofish.c (_gcry_twofish_get_info): Removed function. - - * arcfour.c (cipher_spec_arcfour): New variable. - * twofish.c (cipher_spec_twofish, cipher_spec_twofish128): New - variables. - * rijndael.c (cipher_spec_aes, cipher_spec_aes192, - cipher_spec256): New variables. - * des.c (cipher_spec_des, cipher_spec_tripledes): New variables. - * cast5.c (cipher_spec_cast5): New variable. - * blowfish.c (cipher_spec_blowfish): Likewise. - - * twofish.c: Do not include "dynload.h". - * rijndael.c: Likewise. - * des.c: Likewise. - * cast5.c: Likewise. - * blowfish.c: Likewise. - * cipher.c: Likewise. - * crc.c: Likewise. - * md4.c: Likewise. - * md5.c: Likewise. - * md.c: Likewise. - * pubkey.c: Likewise. - * rijndael.c: Likewise. - * sha1.c: Likewise. - * sha256.c: Likewise. - - * arcfour.c: Include "cipher.h". - * twofish.c: Likewise. - * rijndael.c: Likewise. - * des.c: Likewise. - * cast5.c: Likewise. - * blowfish.c: Likewise. - - * twofish.c (twofish_setkey): Declared argument `key' const. - (twofish_encrypt): Declared argument `inbuf' const. - (twofish_decrypt): Likewise. - - * rijndael.c (rijndael_setkey): Declared argument `key' const. - (rijndael_encrypt): Declared argument `inbuf' const. - (rijndael_decrypt): Likewise. - - * des.c (do_des_setkey): Declared argument `key' const. - (do_tripledes_setkey): Likewise. - (do_des_encrypt): Declared argument `inbuf' const. - (do_des_decrypt): Likewise. - (do_tripledes_encrypt): Likewise. - (do_tripledes_decrypt): Likewise. - - * cast5.c (encrypt_block): Declared argument `inbuf' const. - (decrypt_block): Likewise. - (cast_setkey): Declared argument `key' const. - - * blowfish.c (do_bf_setkey): Declared argument `key' const. - (encrypt_block): Declared argument `inbuf' const. - (encrypt_block): Likewise. - - - - * cipher.c: Remove CIPHER_ALGO_DUMMY related code. - Removed struct cipher_table_s. - Changed definition of cipher_table. - Removed definition of disabled_algos. - (ciphers_registered, default_ciphers_registered): New variables. - (REGISTER_DEFAULT_CIPHERS): New macro. - (dummy_setkey): Declared argument `key' const. - (dummy_encrypt_block): Declared argument `inbuf' const. - (dummy_encrypt_block): Likewise. - (dummy_encrypt_stream): Likewise. - (dummy_encrypt_stream): Likewise. - (dummy_setkey): Use `unsigned char' instead of `byte'. - (dummy_encrypt_block): Likewise. - (dummy_decrypt_block): Likewise. - (dummy_encrypt_stream): Likewise. - (dummy_decrypt_stream): Likewise. - (gcry_cipher_register_default): New function. - (gcry_cipher_lookup_func_id): New function. - (gcry_cipher_lookup_func_name): New function. - (gcry_cipher_lookup_id): New function. - (gcry_cipher_lookup_name): New function. - (gcry_cipher_id_new): New function. - (gcry_cipher_register): New function. - (gcry_cipher_unregister): New function. - (setup_cipher_table): Removed function. - (load_cipher_modules): Removed function. - (gcry_cipher_map_name): Adjusted to use new module management. - (cipher_algo_to_string): Likewise. - (disable_cipher_algo): Likewise. - (check_cipher_algo): Likewise. - (cipher_get_keylen): Likewise. - (cipher_get_blocksize): Likewise. - (gcry_cipher_open): Likewise. - (struct gcry_cipher_handle): Replaced members algo, algo_index, - blocksize, setkey, encrypt, decrypt, stencrypt, stdecrypt with one - member: cipher. - (gcry_cipher_open): Adjusted code for new handle structure. - (cipher_setkey): Likewise. - (cipher_setiv): Likewise. - (cipher_reset): Likewise. - (do_ecb_encrypt): Likewise. - (do_ecb_decrypt): Likewise. - (do_cbc_encrypt): Likewise. - (do_cbc_decrypt): Likewise. - (do_cfb_encrypt): Likewise. - (do_cfb_decrypt): Likewise. - (do_ctr_encrypt): Likewise. - (cipher_encrypt): Likewise. - (gcry_cipher_encrypt): Likewise. - (cipher_decrypt): Likewise. - (gcry_cipher_decrypt): Likewise. - (cipher_sync): Likewise. - (gcry_cipher_ctl): Likewise. - - * pubkey.c: Removed struct pubkey_table_s. - Changed definition of pubkey_table. - Removed definition of disabled_algos. - (pubkeys_registered, default_pubkeys_registered): New variables. - (REGISTER_DEFAULT_PUBKEYS): New macro. - (setup_pubkey_table): Removed function. - (load_pubkey_modules): Removed function. - (gcry_pubkey_register_default): New function. - (gcry_pubkey_lookup_func_id): New function. - (gcry_pubkey_lookup_func_name): New function. - (gcry_pubkey_lookup_id): New function. - (gcry_pubkey_lookup_name): New function. - (gcry_pubkey_id_new): New function. - (gcry_pubkey_register): New function. - (gcry_pubkey_unregister): New function. - (gcry_pk_map_name): Adjusted to use new module management. - (gcry_pk_algo_name): Likewise. - (disable_pubkey_algo): Likewise. - (check_pubkey_algo): Likewise. - (pubkey_get_npkey): Likewise. - (pubkey_get_nskey): Likewise. - (pubkey_get_nsig): Likewise. - (pubkey_get_nenc): Likewise. - (pubkey_generate): Likewise. - (pubkey_check_secret_key): Likewise. - (pubkey_encrypt): Likewise. - (pubkey_decrypt): Likewise. - (pubkey_sign): Likewise. - (pubkey_verify): Likewise. - (gcry_pk_get_nbits): Likewise. - (gcry_pk_algo_info): Likewise. - - * md.c: Removed struct md_digest_list_s. - (digest_list): Changed definition. - (digests_registered, default_digests_registered): New variables. - (REGISTER_DEFAULT_DIGESTS): New macro. - (new_list_item): Removed function. - (setup_md_table): Removed function. - (load_digest_module): Removed function. - (gcry_digest_register_default): New function. - (gcry_digest_lookup_func_id): New function. - (gcry_digest_lookup_func_name): New function. - (gcry_digest_lookup_id): New function. - (gcry_digest_lookup_name): New function. - (gcry_digest_id_new): New function. - (gcry_digest_register): New function. - (gcry_digest_unregister): New function. - (GcryDigestEntry): New type. - (struct gcry_md_context): Adjusted type of `list'. - (gcry_md_map_name): Adjusted to use new module management. - (digest_algo_to_string): Likewise. - (check_digest_algo): Likewise. - (md_enable): Likewise. - (md_digest_length): Likewise. - (md_asn_oid): Likewise. - -2003-04-07 Moritz Schulte <moritz@g10code.com> - - * pubkey.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA, - PUBKEY_ALGO_RSA with GCRY_PK_RSA and PUBKEY_ALGO_ELGAMAL with - GCRY_PK_ELG. - - * dsa.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA. - -2003-04-01 Moritz Schulte <moritz@g10code.com> - - * des.c: Removed checks for GCRY_CIPHER_3DES and GCRY_CIPHER_DES. - -2003-03-31 Moritz Schulte <moritz@g10code.com> - - * tiger.c (tiger_get_info): Do not declare static. - * sha256.c (sha256_get_info): Likewise. - * sha1.c (sha1_get_info): Likewise. - * rmd160.c (rmd160_get_info): Likewise. - * md5.c (md5_get_info): Likewise. - * md4.c (md4_get_info): Likewise. - * crc.c (crc_get_info): Likewise. - - * md.c (load_digest_module): Call setup_md_table during - initialization. - (new_list_item): Link new element into digest_list. - - * cipher.c (do_ctr_decrypt): Made do_ctr_encrypt act as a wrapper - for do_ctr_encrypt, since these functions are identical. - -2003-03-30 Simon Josefsson <jas@extundo.com> - - * cipher.c (struct gcry_cipher_handle): Add counter field. - (gcry_cipher_open): Add CTR. - (cipher_reset): Clear counter field. - (do_ctr_encrypt, do_ctr_decrypt): New functions. - (cipher_encrypt, cipher_decrypt): Call CTR functions. - (gcry_cipher_ctl): Add SET_CTR to set counter. - -2003-03-30 Moritz Schulte <moritz@g10code.com> - - * rsa.c (_gcry_rsa_blind): New function. - (_gcry_rsa_unblind): New function. - (_gcry_rsa_decrypt): Use _gcry_rsa_blind and _gcry_rsa_decrypt. - -2003-03-26 Moritz Schulte <moritz@g10code.com> - - * dynload.c (_gcry_enum_gnupgext_pubkeys): Adjust `encrypt' and - `decrypt' function arguments. - (_gcry_enum_gnupgext_pubkeys): Likewise. - * dynload.h: Likewise. - - * pubkey.c (dummy_decrypt): Add argument: int flags. - (dummy_encrypt): Likewise. - - * elgamal.c (_gcry_elg_encrypt): Add argument: int flags. - (_gcry_elg_decrypt): Likewise. - - * rsa.c (_gcry_rsa_encrypt): Add argument: int flags. - (_gcry_rsa_decrypt): Likewise. - - * pubkey.c: Add `flags' argument to members `encrypt' and - `decrypt' of struct `pubkey_table_s'. - - * rsa.h: Add `flags' argument to function declarations. - * elgamal.h: Likewise. - - * pubkey.c (sexp_data_to_mpi): New variable: int parsed_flags. - (sexp_data_to_mpi): Set `parsed_flags'. - (sexp_data_to_mpi): New argument: int *flags. - (gcry_pk_encrypt): New variable: int flags. - (gcry_pk_encrypt): Pass `flags' to pubkey_encrypt. - (pubkey_encrypt): New variable: int flags. - (pubkey_encrypt): Pass `flags' to pubkey encrypt function. - (pubkey_decrypt): Likewise. - (pubkey_decrypt): Pass `flags' to pubkey encrypt function. - (gcry_pk_encrypt): Include `flags' s-exp in return list. - (sexp_to_enc): New argument: int *flags. - (gcry_pk_decrypt): New variable: int flags. - (gcry_pk_decrypt): Pass `flags' to pubkey_decrypt. - (sexp_to_enc): New variable: int parsed_flags. - (sexp_to_enc): Set `parsed_flags'. - -2003-03-22 Simon Josefsson <jas@extundo.com> - - * cipher.c (gcry_cipher_open, do_cbc_encrypt) - (gcry_cipher_encrypt): Support GCRY_CIPHER_CBC_MAC. - (gcry_cipher_ctl): Support GCRYCTL_SET_CBC_MAC. - -2003-03-19 Werner Koch <wk@gnupg.org> - - * primegen.c (gen_prime): New args EXTRA_CHECK and EXTRA_CHECK_ARG - to allow for a user callback. Changed all callers. - (_gcry_generate_secret_prime) - (_gcry_generate_public_prime): Ditto, pass them to gen_prime. - * rsa.c (check_exponent): New. - (generate): Use a callback to ensure that a given exponent is - actually generated. - -2003-03-12 Moritz Schulte <moritz@g10code.com> - - * primegen.c: Initialize `no_of_small_prime_numbers' statically. - (gen_prime): Remove calculation of `no_of_small_prime_numbers'. - -2003-03-03 Moritz Schulte <moritz@g10code.com> - - * md.c (gcry_md_ctl): Rewritten to use same style like the other - functions dispatchers. - -2003-03-02 Moritz Schulte <moritz@g10code.com> - - * cipher.c (struct gcry_cipher_handle): New member: algo_index. - (gcry_cipher_open): Allocate memory for two cipher contexts. - Initialize algo_index. - (cipher_setkey): Duplicate context into reserved memory. - (cipher_reset): New function, which resets the context and clear - the IV. - (gcry_cipher_ctl): Call cipher_reset. - -2003-02-23 Moritz Schulte <moritz@g10code.com> - - * cipher.c: Remove (bogus) `digitp' macro definition. - * md.c: Likewise. - - * blowfish.c (burn_stack): Removed. - * arcfour.c (burn_stack): Likewise. - * cast5.c (burn_stack): Likewise. - * des.c (burn_stack): Likewise. - * md4.c (burn_stack): Likewise. - * md5.c (burn_stack): Likewise. - * random.c (burn_stack): Likewise. - * rijndael.c (burn_stack): Likewise. - * rmd160.c (burn_stack): Likewise. - * sha1.c (burn_stack): Likewise. - * sha256.c (burn_stack): Likewise. - * tiger.c (burn_stack): Likewise. - * twofish.c (burn_stack): Likewise. - - * blowfish.c: Changed all occurences of burn_stack to - _gcry_burn_stack. - * arcfour.c: Likewise. - * cast5.c: Likewise. - * des.c: Likewise. - * md4.c: Likewise. - * md5.c: Likewise. - * random.c: Likewise. - * rijndael.c: Likewise. - * rmd160.c: Likewise. - * sha1.c: Likewise. - * sha256.c: Likewise. - * tiger.c: Likewise. - * twofish.c: Likewise. - - * arcfour.c (_gcry_arcfour_get_info): Use GCRY_CIPHER_ARCFOUR - instead of hard-coded value `301'. - -2003-01-24 Werner Koch <wk@gnupg.org> - - * random.c (_gcry_register_random_progress): New. - (_gcry_random_progress): New. - - * rndlinux.c (gather_random): Call the random progress function. - -2003-01-23 Werner Koch <wk@gnupg.org> - - * rsa.c (generate): New arg USE_E to request a specific public - exponent. - (_gcry_rsa_generate): Ditto. - * elgamal.c (_gcry_elg_generate): Must add an dummy argument - instead of USE_E. - * dsa.c (_gcry_dsa_generate): Ditto. - * pubkey.c (dummy_generate): Ditto. - (pubkey_generate): Add USE_E arg and pass it down. - (gcry_pk_genkey): Detect "rsa-use-e" parameter and pass it to generate. - - * pubkey.c (sexp_to_enc): New arg RET_MODERN. - (gcry_pk_decrypt): Make use of it to return a real S-expression. - Return better error codes. - (gcry_pk_verify): Return better error codes. - -2003-01-21 Werner Koch <wk@gnupg.org> - - * random.c (gcry_random_add_bytes): Add QUALITY argument, let - function return an error code and disable its core for now. - -2003-01-21 Timo Schulz <twoaday@freakmail.de> - - * random.c (gcry_random_add_bytes): New. Function to add external - random to the pool. - -2003-01-20 Simon Josefsson <jas@extundo.com> - - * crc.c: New. - * Makefile.am (EXTRA_PROGRAMS, EXTRA_crc_SOURCES): Add crc.c. - * md.c (gcry_md_get_algo_dlen): Add values for CRC. - -2003-01-20 Werner Koch <wk@gnupg.org> - - * sha256.c: New. - * bithelp.h (ror): New. - * Makfile.am: Add sha256.c. - * md.c (oid_table): Add values for SHA256 et al. - (gcry_md_get_algo_dlen): Likewise - -2003-01-20 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_get_keygrip): Implemented keygrips for DSA - and ElGamal. - -2003-01-17 Werner Koch <wk@gnupg.org> - - * cipher.c (gcry_cipher_encrypt): Reworked so that the output will - never contain the plaintext even if the caller did not checked the - return value. - - * md.c (gcry_md_get_algo): Changed error code to GCRYERR_GENERAL - because we don't have an invalid md algo but no algorithm enabled. - - * pubkey.c (gcry_pk_genkey): Changed error code for bounds check - of table parameters to GCRYERR_INTERNAL. - - * md.c (gcry_md_open): Partly reverted Timo's change from - 2002-10-10 by removing the check for the algorithm. An algorithm - of 0 is allowed and anyway we should not double check it or check - it using a different function. Also fixed the flags check. - - * pubkey.c (gcry_pk_encrypt): Make sure that R_CIPH points to NULL - on error. - (gcry_pk_decrypt): Ditto for R_PLAIN. - (gcry_pk_sign): Ditto for R_SIG. - (gcry_pk_genkey): Ditto for R_KEY. - -2003-01-16 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_write): Changed 2nd argument type to void*. - (gcry_md_hash_buffer): Changed type of boths buffers to void*. - (gcry_md_setkey): Changed 2nd argument type to void*. - -2003-01-15 Werner Koch <wk@gnupg.org> - - * pubkey.c (sexp_data_to_mpi): New. This handles pkcs1 padding. - (gcry_pk_sign, gcry_pk_verify): Use it here. - (gcry_pk_encrypt): And here. - (pubkey_verify): Add debug code. - (sexp_to_enc): Handle flags in the input and return the pkcs1 flag - in a new parameter. - (gcry_pk_decrypt): Prepare for future pkcs1 handling. - -2002-12-19 Werner Koch <wk@gnupg.org> - - * random.c (_gcry_random_initialize): New. - -2002-12-16 Werner Koch <wk@gnupg.org> - - * cipher.c: Added a Teletrust specific OID for 3DES. - -2002-12-12 Werner Koch <wk@gnupg.org> - - * md.c: Added another oddball OIW OID (sha-1WithRSAEncryption). - -2002-11-23 Werner Koch <wk@gnupg.org> - - * md.c (load_digest_module): Enlarged checked_algos bitmap. - * md4.c (func_table): Fixed entry for md4. - Both by Simon Josephson. - (transform): Copy data to get the alignment straight. Tested only - on i386. - -2002-11-10 Simon Josefsson <jas@extundo.com> - - * cipher.c (gcry_cipher_open): Don't reject CTS flag. - (do_cbc_encrypt, do_cbc_decrypt, cipher_encrypt) - (gcry_cipher_encrypt, cipher_decrypt) - (gcry_cipher_decrypt): Support CTS flag. - (gcry_cipher_ctl): Toggle CTS flag. - -2002-11-10 Werner Koch <wk@gnupg.org> - - * md4.c: New. By Simon Josefsson. - * Makefile.am (EXTRA_PROGRAMS): Add md4.c. - * md.c (oid_table,gcry_md_get_algo_dlen): MD4 support. - -2002-10-14 Werner Koch <wk@gnupg.org> - - * arcfour.c (do_encrypt_stream): Don't use increment op when - assigning to the same variable. - -2002-10-10 Timo Schulz <ts@winpt.org> - - * pubkey.c (gcry_pk_genkey): Check boundaries. - - * md.c (gcry_md_open): Check that algo is available and only - valid flag values are used. - (gcry_md_get_algo): Add error handling. - -2002-09-26 Werner Koch <wk@gnupg.org> - - * md.c: Include an OID for TIGER. - * tiger.c (tiger_get_info): Use a regular OID. - -2002-09-17 Werner Koch <wk@gnupg.org> - - * random.c: Replaced mutex.h by the new ath.h. Changed all calls. - -2002-09-16 Werner Koch <wk@gnupg.org> - - * arcfour.c (do_encrypt_stream): Use register modifier and modulo. - According to Nikos Mavroyanopoulos this increases perfromace on - i386 system noticable. And I always tought gcc is clever enough. - * md5.c (transform): Use register modifier. - * rmd160.c (transform): Ditto. - * sha1.c (transform): Ditto. We hope that there are 6 free registers. - * random.c (gcry_randomize): Rewrote to avoid malloc calls. - - * rndlinux.c (gather_random): Replaced remaining fprintfs by log_*. - * arcfour.c (do_arcfour_setkey): Ditto. - * twofish.c (do_twofish_setkey): Ditto. - * rndegd.c (gather_random): Ditto. - * rijndael.c (do_setkey): Ditto. - * random.c (_gcry_random_dump_stats): Ditto. - * primegen.c (_gcry_generate_elg_prime): Ditto. - * des.c (_gcry_des_get_info): Ditto. - * cast5.c (do_cast_setkey): Ditto. - * blowfish.c (do_bf_setkey): Ditto. - -2002-08-26 Werner Koch <wk@gnupg.org> - - * des.c (weak_keys): Fixed one entry in the table and compared - all entries against the literature. - (selftest): Checksum the weak key table. - -2002-08-21 Werner Koch <wk@gnupg.org> - - * pubkey.c: Enable keygrip calculation for "openpgp-rsa". - -2002-08-17 Werner Koch <wk@gnupg.org> - - * cipher.c (setup_cipher_table): Don't overwrite the DES entry - with the entry for DUMMY. - -2002-08-14 Werner Koch <wk@gnupg.org> - - * des.c (do_des_setkey,do_des_encrypt, do_des_decrypt): New. - (_gcry_des_get_info): Support plain old DES. - * cipher.c (setup_cipher_table): Put DES into the table. - -2002-07-25 Werner Koch <wk@gnupg.org> - - * rndunix.c (_gcry_rndunix_constructor): Prefixed with _gcry_. - Noted by Stephan Austermuehle. - -2002-07-08 Timo Schulz <ts@winpt.org> - - * rndw32.c: Replaced the m_ memory functions with the real - gcry_ functions. Renamed all g10_ prefixed functions to log_. - -2002-06-12 Werner Koch <wk@gnupg.org> - - * rsa.c (generate): Use e = 65537 for now. - -2002-06-11 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_get_keygrip): Allow a "protected-private-key". - -2002-06-05 Timo Schulz <ts@winpt.org> - - * cipher.c (gcry_cipher_encrypt, gcry_cipher_decrypt): - Check that the input size is a multiple of the blocksize. - -2002-05-23 Werner Koch <wk@gnupg.org> - - * md.c (oid_table): Add an rsadsi OID for MD5. - -2002-05-21 Werner Koch <wk@gnupg.org> - - * primegen.c, elgamal.c, dsa.c (progress): Do not print anything - by default. Pass an extra identifying string to the callback and - reserved 2 argumenst for current and total counters. Changed the - register function prototype. - -2002-05-17 Werner Koch <wk@gnupg.org> - - * rndegd.c (rndegd_constructor): Fixed name of register function - and prefixed the function name with _gcry_. - * rndw32.c (rndw32_constructor): Ditto. - * tiger.c (tiger_constructor): Ditto. - - * Makefile.am: Removed all dynamic loading stuff. - * dynload.c: Ditto. Now only used for the constructor system. - -2002-05-15 Werner Koch <wk@gnupg.org> - - * random.c (gcry_random_bytes,gcry_random_bytes_secure) - (gcry_randomize): Make sure we are initialized. - -2002-05-14 Werner Koch <wk@gnupg.org> - - Changed license of most files to the LGPL. - -2002-05-02 Werner Koch <wk@gnupg.org> - - * random.c (_gcry_fast_random_poll): Initialize the module so the - mutex can be used. - - * primegen.c (small_prime_numbers): Moved table from smallprime.c - * smallprime.c: File removed. - - * des.c (leftkey_swap, rightkey_swap, working_memcmp): Made static. - - * cipher.c (gcry_cipher_map_name): Map "RIJNDAEL" to "AES". - * rijndael.c (rijndael_get_info): We do only support a 128 bit - blocksize so it makes sense to change the algorithm strings to - AES. - - * tiger.c (tiger_final): Removed superfluous token pasting operators. - * md5.c (md5_final): Ditto. - -2002-04-30 Werner Koch <wk@gnupg.org> - - * cipher.c: Fixed list of copyright years. - -2002-03-18 Werner Koch <wk@gnupg.org> - - * random.c (initialize): Initialize the new pool lock mutex. - (_gcry_fast_random_poll): Add locking and moved main - code out to... - (do_fast_random_poll): new function. - (read_pool): Use the new function here. - (get_random_bytes): Add locking. - (_gcry_update_random_seed_file): Ditto. - -2002-03-11 Werner Koch <wk@gnupg.org> - - * md.c: Add rsaSignatureWithripemd160 to OID table. - -2002-02-20 Werner Koch <wk@gnupg.org> - - * sha1.c: Removed a left over comment note. The code has been - rewritten from scratch in 1998. Thanks to Niels Möller for - reporting this misleading comment. - -2002-02-18 Werner Koch <wk@gnupg.org> - - * rndunix.c (rndunix_constructor): Use the the new prefixed - function name. Reported by Jordi Mallach. - -2002-02-10 Werner Koch <wk@gnupg.org> - - * random.c (mix_pool): Carry an extra failsafe_digest buffer - around to make the function more robust. - -2002-02-08 Werner Koch <wk@gnupg.org> - - * random.c (add_randomness): Xor new data into the pool and not - just copy it. This avoids any choosen input attacks which are not - serious in our setting because an outsider won't be able to mix - data in and even then we keep going with a PRNG. Thanks to Stefan - Keller for pointing this out. - -2002-01-04 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_genkey): Do not release skey - it is static. - - * primegen.c (gen_prime): Of course we should use set_bit - and not set_highbit to set the second high bit. - -2001-12-18 Werner Koch <wk@gnupg.org> - - * rsa.c (generate): Loop until we find the exact modulus size. - Changed the exponent to 41. - (rsa_get_info): s/usage/r_usage/ to avoid shadow warnings. - * primegen.c (gen_prime): Set 2 high order bits for secret primes. - - * Makefile.am (DISTCLEANFILES): Include construct.c. - -2001-12-17 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_get_keygrip): New - experimental. - -2001-12-11 Werner Koch <wk@gnupg.org> - - * cipher.c: Added OIDs for AES. - (gcry_cipher_mode_from_oid): New. - (gcry_cipher_map_name): Moved OID search code to .. - (search_oid): .. new function. - -2001-12-10 Werner Koch <wk@gnupg.org> - - * pubkey.c (gcry_pk_encrypt): Find the signature algorithm by name - and not by number. - - * pubkey.c (gcry_pk_encrypt,gcry_pk_decrypt,gcry_pk_sign) - (gcry_pk_verify,gcry_pk_testkey, gcry_pk_genkey) - (gcry_pk_get_nbits): Release the arrays. Noted by Nikos - Mavroyanopoulos. - -2001-12-06 Werner Koch <wk@gnupg.org> - - * cipher.c (gcry_cipher_map_name): Look also for OIDs prefixed - with "oid." or "OID.". - -2001-12-05 Werner Koch <wk@gnupg.org> - - * pubkey.c (algo_info_table): Fixed entry for openpgp-rsa. - -2001-11-24 Werner Koch <wk@gnupg.org> - - * pubkey.c: Added the rsaEncryption OID to the tables. - (sexp_to_key): Add an arg to return the index of the algorithm, - changed all callers. - (gcry_pk_sign): Find the signature algorithm by name and not by - number. - (gcry_pk_get_nbits): Fixed so that we can now really pass a secret - key to get the result. - - * md.c (gcry_md_map_name): Look also for OIDs prefixed with "oid." - or "OID." so that an OID string can be used as an S-Exp token. - -2001-11-20 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_map_name): Lookup by OID if the the name begins - with a digit. - (oid_table): New. - -2001-11-16 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_info): New operator GCRYCTL_IS_ALGO_ENABLED. - -2001-11-07 Werner Koch <wk@gnupg.org> - - * md.c (gcry_md_hash_buffer): Close the handle which was left open - for algorithms other than rmd160. - -2001-08-08 Werner Koch <wk@gnupg.org> - - * rndw32.c (gather_random): Use toolhelp in addition to the NT - gatherer for Windows2000. Suggested by Sami Tolvanen. - - * random.c (read_pool): Fixed length check, this used to be one - byte to strict. Made an assert out of it because the caller has - already made sure that only poolsize bytes are requested. - Reported by Marcus Brinkmann. - -2001-08-03 Werner Koch <wk@gnupg.org> - - * cipher.c (cipher_encrypt, cipher_decrypt): Prepare to return - errors. We have to change the interface to all ciphers to make - this really work but we should do so to prepare for hardware - encryption modules. - (gcry_cipher_encrypt, gcry_cipher_decrypt): Return the error and - set lasterr. - (gcry_cipher_ctl): Make sure that errors from setkey are returned. - -2001-08-02 Werner Koch <wk@gnupg.org> - - * rndlinux.c (gather_random): casted a size_t arg to int so that - the format string is correct. Casting is okay here and avoids - translation changes. - - * random.c (fast_random_poll): Do not check the return code of - getrusage. - - * rndunix.c: Add a signal.h header to avoid warnings on Solaris 7 - and 8. - - * tiger.c (print_abc,print_data): Removed. - - * rijndael.c, des.c, blowfish.c, twofish.c, cast5.c, arcfour.c - (burn_stack): New. Add wrappers for most functions to be able to - call burn_stack after the function invocation. This methods seems - to be the most portable way to zeroise the stack used. It does - only work on stack frame based machines but it is highly portable - and has no side effects. Just setting the automatic variables at - the end of a function to zero does not work well because the - compiler will optimize them away - marking them as volatile would - be bad for performance. - * md5.c, sha1.c, rmd160.c, tiger.c (burn_stack): Likewise. - * random.c (burn_stack): New. - (mix_pool): Use it here to burn the stack of the mixblock function. - - * primegen.c (_gcry_generate_elg_prime): Freed q at 3 places. - Thanks to Tommi Komulainen. - - * arcfour.c (arcfour_setkey): Check the minimim keylength against - bytes and not bits. - (selftest): Must reset the key before decryption. - -2001-05-31 Werner Koch <wk@gnupg.org> - - * sha1.c (sha1_init): Made static. - - Changed all g10_ prefixed function names as well as some mpi_ - function names to cope with the introduced naming changes. - - * md.c (prepare_macpads): Made key const. - -2001-05-28 Werner Koch <wk@gnupg.org> - - * rndegd.c (gather_random): Removed the use of tty_printf. - -2001-03-29 Werner Koch <wk@gnupg.org> - - * md5.c (md5_final): Fixed calculation of hashed length. Thanks - to disastry@saiknes.lv for pointing out that it was horrible wrong - for more than 512MB of input. - * sha1.c (sha1_final): Ditto. - * rmd160.c (rmd160_final): Ditto. - * tiger.c (tiger_final): Ditto. - - * blowfish.c (encrypt,do_encrypt): Changed name to do_encrypt to - avoid name clashes with an encrypt function in stdlib.h of - Dynix/PIX. Thanks to Gene Carter. - * elgamal.c (encrypt,do_encrypt): Ditto. - - * twofish.c (gnupgext_enum_func): Use only when when compiled as a - module. - * rijndael.c (gnupgext_enum_func): Ditto. - - * tiger.c (tiger_get_info): Return "TIGER192" and not just - "TIGER". By Edwin Woudt. - - * random.c: Always include time.h - standard requirement. Thanks - to James Troup. - - * rndw32.c: Fixes to the macros. - -2001-01-11 Werner Koch <wk@gnupg.org> - - * cipher.c (cipher_encrypt,gcry_cipher_encrypt): Use blocksize and - not 8. - -2000-12-19 Werner Koch <wk@gnupg.org> - - Major change: - Removed all GnuPG stuff and renamed this piece of software - to gcrypt. - -2000-11-14 Werner Koch <wk@gnupg.org> - - * dsa.c (test_keys): Replaced mpi_alloc by gcry_mpi_new and - mpi_free by gcry_mpi_release. - * elgamal.c (test_keys,generate): Ditto, also for mpi_alloc_secure. - * rsa.c (test_keys,generate,rsa_verify): Ditto. - * primegen.c (generate_elg_prime): Ditto. - (gen_prime): Ditto and removed nlimbs. - - * rsa.c (generate): Allocate 2 more vars in secure memory. - - * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency - problems. - -2000-10-09 Werner Koch <wk@gnupg.org> - - * arcfour.c, arcfour.h: New. - * cipher.c (cipher_encrypt, cipher_decrypt): Add stream mode. - (setup_cipher_table): Add Arcfour. - (gcry_cipher_open): Kludge to allow stream mode. - -Wed Oct 4 13:16:18 CEST 2000 Werner Koch <wk@openit.de> - - * sha1.c (transform): Use rol() macro. Actually this is not needed - for a newer gcc but there are still aoter compilers. - - * rsa.c (test_keys): Use new random function. - - * md.c (gcry_md_setkey): New function to overcome problems with - const conflics. - (gcry_md_ctl): Pass set key to the new functions. - - * rijndael.c: New. - * cipher.c: Add Rijndael support. - -Mon Sep 18 16:35:45 CEST 2000 Werner Koch <wk@openit.de> - - * rndlinux.c (open_device): Loose random device checking. - By Nils Ellmenreich. - - * random.c (fast_random_poll): Check ENOSYS for getrusage. - * rndunix.c: Add 2 sources for QNX. By Sam Roberts. - - * pubkey.c (gcry_pk_algo_info): Add GCRYCTL_GET_ALGO_USAGE. - - * rsa.c: Changed the comment about the patent. - (secret): Speed up by using the CRT. For a 2k keys this - is about 3 times faster. - (stronger_key_check): New but unused code to check the secret key. - * Makefile.am: Included rsa.[ch]. - * pubkey.c: Enabled RSA support. - (pubkey_get_npkey): Removed RSA workaround. - -Mon Jul 31 10:04:47 CEST 2000 Werner Koch <wk@openit.de> - - * pubkey.c: Replaced all gcry_sexp_{car,cdr}_{data,mpi} by the new - gcry_sexp_nth_{data,mpi} functions. - -Tue Jul 25 17:44:15 CEST 2000 Werner Koch <wk@openit.de> - - * pubkey.c (exp_to_key,sexp_to_sig,sexp_to_enc,gcry_pk_encrypt, - gcry_pk_decrypt,gcry_pk_sign,gcry_pk_genkey): Changed to work with - the new S-Exp interface. - -Mon Jul 17 16:35:47 CEST 2000 Werner Koch <wk@> - - * random.c (gather_faked): Replaced make_timestamp by time(2) again. - -Fri Jul 14 19:38:23 CEST 2000 Werner Koch <wk@> - - * md.c (gcry_md_ctl): Support GCRYCTL_{START,STOP}_DUMP. - - * Makefile.am: Never compile mingw32 as module. - - * Makefile.am: Tweaked module build and removed libtool - - * Makefile.am: Replaced -O1 by -O. Suggested by Alec Habig. - - * elgamal.c (sign): Removed inactive code. - - * rsa.c, rsa.h: New based on the old module version (only in CVS for now). - * pubkey.c (setup_pubkey_table): Added commented support for RSA. - - * rndunix.c (waitpid): New. For UTS 2.1. All by Dave Dykstra. - (my_popen): Do the FD_CLOEXEC only if it is available - (start_gatherer): Cope with missing _SC_OPEN_MAX - - * rndunix.c: Add some more headers for QNX. By Sam Roberts. - - * rndegd.c (gather_random): Shortcut level 0. - * rndunix.c (gather_random): Ditto. - * rndw32.c (gather_random): Ditto. - - * rndw32.c: Replaced with code from Cryptlib and commented the old stuff. - * rndw32.c: Add some debuging code enabled by an environment variable. - - * random.c (read_seed_file): Binary open for DOSish system - (update_random_seed_file): Ditto. - * random.c [MINGW32]: Include process.h for getpid. - * random.c (fast_random_poll): Add clock_gettime() as fallback for - system which support this POSIX.4 fucntion. By Sam Roberts. - - * random.c (read_seed_file): Removed the S_ISLNK test becuase it - is already covered by !S_ISREG and is not defined in Unixware. - Reported by Dave Dykstra. - (update_random_seed_file): Silently ignore update request when pool - is not filled. - - * random.c (read_seed_file): New. - (set_random_seed_file): New. - (read_pool): Try to read the seeding file. - (update_random_seed_file): New. - - (read_pool): Do an initial extra seeding when level 2 quality random - is requested the first time. This requestes at least POOLSIZE/2 bytes - of entropy. Compined with the seeding file this should make normal - random bytes cheaper and increase the quality of the random bytes - used for key generation. - - * random.c (read_pool): Print a more friendly error message in - cases when too much random is requested in one call. - - * random.c (fast_random_poll): Check whether RUSAGE_SELF is defined; - this is not the case for some ESIX and Unixware, although they have - getrusage(). - - * primegen.c (generate_elg_prime): All primes are now generated with - the lowest random quality level. Because they are public anyway we - don't need stronger random and by this we do not drain the systems - entropy so much. - - * primegen.c (register_primegen_progress): New. - * dsa.c (register_pk_dsa_progress): New. - * elgamal.c (register_pk_elg_progress): New. - - * elgamal.c (wiener_map): New. - (gen_k): Use a much smaller k. - (generate): Calculate the qbits using the wiener map and - choose an x at a size comparable to the one choosen in gen_k - - * rmd160.c (rmd160_get_info): Moved casting to the left side due to a - problem with UTS4.3. Suggested by Dave Dykstra. - * sha1.c (sha1_get_info): Ditto. - * tiger.c (tiger_get_info): Ditto. - * md5.c (md5_get_info): Ditto - * des.c (des_get_info): Ditto. - * blowfish.c (blowfish_get_info): Ditto. - * cast5.c (cast5_get_info): Ditto. - * twofish.c (twofish_get_info): Ditto. - -Fri Mar 24 11:25:45 CET 2000 Werner Koch <wk@openit.de> - - * md.c (md_open): Add hmac arg and allocate space for the pads. - (md_finalize): Add HMAC support. - (md_copy): Ditto. - (md_close): Ditto. - (gcry_md_reset): Ditto. - (gcry_md_ctl): Ditto. - (prepare_macpdas): New. - -Mon Mar 13 19:22:46 CET 2000 Werner Koch <wk@openit.de> - - * md.c (gcry_md_hash_buffer): Add support for the other algorithms. - -Mon Jan 31 16:37:34 CET 2000 Werner Koch <wk@gnupg.de> - - * genprime.c (generate_elg_prime): Fixed returned factors which never - worked for non-DSA keys. - -Thu Jan 27 18:00:44 CET 2000 Werner Koch <wk@gnupg.de> - - * pubkey.c (sexp_to_key): Fixed mem leaks in case of errors. - -Mon Jan 24 22:24:38 CET 2000 Werner Koch <wk@gnupg.de> - - * pubkey.c (gcry_pk_decrypt): Implemented. - (gcry_pk_encrypt): Implemented. - (gcry_pk_testkey): New. - (gcry_pk_genkey): New. - (pubkey_decrypt): Made static. - (pubkey_encrypt): Ditto. - (pubkey_check_secret_key): Ditto. - (pubkey_generate): Ditto. - -Mon Jan 24 13:04:28 CET 2000 Werner Koch <wk@gnupg.de> - - * pubkey.c (pubkey_nbits): Removed and replaced by ... - (gcry_pk_get_nbits): this new one. - -Wed Dec 8 21:58:32 CET 1999 Werner Koch <wk@gnupg.de> - - * dsa.c: s/mpi_powm/gcry_mpi_powm/g - * elgamal.c: Ditto. - * primegen.c: Ditto. - - * : Replaced g10_opt_verbose by g10_log_verbosity(). - - * Makefile.am (INCLUDES): removed intl, add ../gcrypt - -Fri Nov 19 17:15:20 CET 1999 Werner Koch <wk@gnupg.de> - - * dynload.c (cmp_filenames): New to replaced compare_filename() in - module. - (register_cipher_extension): Removed the tilde expansion stuff. - * rndeg.c (my_make_filename): New. - - * : Replaced header util.h by g10lib.h - - * random.c (gather_faked): Replaced make_timestamp by time(2). - Disabled wrning printed with tty_printf. - * rndlinux.c (gather_random): Always use fprintf instead of tty_xxx; - this should be replaced by a callback function. - - * primegen.c (gen_prime): Use gcry_mpi_randomize. - (is_prime): Ditto. - * elgamal.c (test_keys): Ditto. - * dsa.c (test_keys): Ditto. - - * cipher.c (gcry_cipher_close): Die on invalid handle. - -Mon Nov 15 21:36:02 CET 1999 Werner Koch <wk@gnupg.de> - - * elgamal.c (gen_k): Use the new random API. - (generate): Ditto. - * dsa.c (gen_k): Ditto. - (generate): Ditto. - -Sat Nov 13 17:44:23 CET 1999 Werner Koch <wk@gnupg.de> - - * pubkey.c (disable_pubkey_algo): Made static. - (gcry_pk_ctl): New. - - * random.c (get_random_bits): Renamed to ... - (get_random_bytes): ... this and made static. - (gcry_random_bytes): New. - (gcry_random_bytes_secure): New. - (randomize_buffer): Renamed to ... - (gcry_randomize): ...this. - - * md.c (gcry_md_hash_buffer): New. - - * pubkey.c (gcry_pk_algo_info): 4 new commands. - (pubkey_get_npkey): Made static. - (pubkey_get_nskey): Made static. - (pubkey_get_nsig): Made static. - (pubkey_get_nenc): Made static. - - * pubkey.c: Removed all G10ERR_xxx. - * cipher.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_CIPHER_ALGO. - * md.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_MD_ALGO. - * cast5.c (cast_setkey): Changed errocodes to GCRYERR_xxx. - * blowfish.c: Ditto. - * des.c: Ditto. - * twofish.c: Ditto. - * dsa.c: Ditto. - * elgamal.c: Ditto. - - * g10c.c: Removed - - * cipher.c (gcry_cipher_open): Replaced alloc functions and return NULL - if we are out of core. - * dynload.c: Replaced all memory allocation functions. - * md.c: Ditto. - * primegen.c: Ditto. - * pubkey.c: Ditto. - * random.c: Ditto. - * rndw32.c: Ditto. - * elgamal.c: Ditto. - * dsa.c: Ditto. - -Tue Oct 26 14:10:21 CEST 1999 Werner Koch <wk@gnupg.de> - - * elgamal.c (sign): Hugh found strange code here. Replaced by BUG(). - - * cipher.c: Merged with gcrypt/symapi.c. - - * pubkey.c (string_to_pubkey_algo): Renamed function to ... - (gcry_pk_map_name): ... this. - (pubkey_algo_to_string): Renamed function to ... - (gcry_pk_algo_name): ... this. - (gcry_pk_algo_info): New. - * pubkey.c: Merged with gcrypt/pkapi.c. - - * md.c (md_reset): Clear finalized; thanks to Ulf Moeller for - fixing this bug. - - * md.c: Merged with gcrypt/mdapi.c - -Wed Sep 15 14:39:59 CEST 1999 Michael Roth <mroth@nessie.de> - - * des.c: Various speed improvements: One bit pre rotation - trick after initial permutation (Richard Outerbridge). - Finished test of SSLeay Tripple-DES patterns. - -Wed Sep 15 16:22:17 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndw32.c: New. - -Mon Sep 13 10:51:29 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * bithelp.h: New. - * rmd160.h, sha1.h, md5.h: Use the rol macro from bithelp.h - -Tue Sep 7 16:23:36 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * Makefile.am: Fixed seds for latest egcc. By Ollivier Robert. - -Mon Sep 6 19:59:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * des.c (selftest): Add some testpattern - -Mon Aug 30 20:38:33 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * cipher.c (do_cbc_encrypt): Fixed serious bug occuring when not using - in place encryption. Pointed out by Frank Stajano. - -Mon Jul 26 09:34:46 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * md5.c (md5_final): Fix for a SCO cpp bug. - -Thu Jul 15 10:15:35 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * elgamal.c (elg_check_secret_key,elg_encrypt - elg_decrypt,elg_sign,elg_verify): Sanity check on the args. - * dsa.c (dsa_check_secret_key,dsa_sign,dsa_verify): Ditto. - - * pubkey.c (disable_pubkey_algo): New. - (check_pubkey_algo2): Look at disabled algo table. - * cipher.c (disable_cipher_algo): New. - (check_cipher_algo): Look at disabled algo table. - -Wed Jul 7 13:08:40 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * Makefile.am: Support for libtool. - -Fri Jul 2 11:45:54 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * dsa.c (gen_k): Changed algorithm to consume less random bytes - * elgamal.c (gen_k): Ditto. - - * random.c (random_dump_stats): New. - -Thu Jul 1 12:47:31 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * primegen.c, elgamal.c, dsa.c (progess): New and replaced all - fputc with a call to this function. - -Sat Jun 26 12:15:59 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndegd.c (do_write): s/ssize_t/int/ due to SunOS 4.1 probs. - - * cipher.c (do_cbc_encrypt, do_cbc_decrypt): New. - - * dynload.c (HAVE_DL_SHL_LOAD): Map hpux API to dlopen (Dave Dykstra). - * Makefile.am (install-exec-hook): Removed. - -Sun May 23 14:20:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * cipher.c (setup_cipher_table): Enable Twofish - - * random.c (fast_random_poll): Disable use of times() for mingw32. - -Mon May 17 21:54:43 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * dynload.c (register_internal_cipher_extension): Minor init fix. - -Tue May 4 15:47:53 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * primegen.c (gen_prime): Readded the Fermat test. Fixed the bug - that we didn't correct for step when passing the prime to the - Rabin-Miller test which led to bad performance (Stefan Keller). - (check_prime): Add a first Fermat test. - -Sun Apr 18 10:11:28 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * cipher.c (cipher_setiv): Add ivlen arg, changed all callers. - - * random.c (randomize_buffer): alway use secure memory because - we can't use m_is_secure() on a statically allocated buffer. - - * twofish.c: Replaced some macros by a loop to reduce text size. - * Makefile.am (twofish): No more need for sed editing. - -Fri Apr 9 12:26:25 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * cipher.c (cipher_open): Reversed the changes for AUTO_CFB. - - * blowfish.c: Dropped the Blowfish 160 mode. - * cipher.c (cipher_open): Ditto. - (setup_cipher_table): Ditto. And removed support of twofish128 - -Wed Apr 7 20:51:39 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * random.c (get_random_bits): Can now handle requests > POOLSIZE - - * cipher.c (cipher_open): Now uses standard CFB for automode if - the blocksize is gt 8 (according to rfc2440). - - * twofish.c: Applied Matthew Skala's patches for 256 bit key. - -Tue Apr 6 19:58:12 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * random.c (get_random_bits): Can now handle requests > POOLSIZE - - * cipher.c (cipher_open): Now uses standard CFB for automode if - the blocksize is gt 8 (according to rfc2440). - -Sat Mar 20 11:44:21 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndlinux.c (tty_printf) [IS_MODULE]: Removed. - - * rndegd.c (gather_random): Some fixes. - -Wed Mar 17 13:09:03 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndegd.c (do_read): New. - (gather_random): Changed the implementation. - -Mon Mar 8 20:47:17 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * dynload.c (DLSYM_NEEDS_UNDERSCORE): Renamed. - -Fri Feb 26 17:55:41 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * md.c: Nearly a total rewrote. - -Wed Feb 24 11:07:27 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * cipher.c (context): Fixed alignment - * md.c: Ditto. - - * rndegd.c: New - -Mon Feb 22 20:04:00 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndegd.c: New. - -Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * Makefile.am: Modules are now figured out by configure - * construct.c: New. Generated by configure. Changed all modules - to work with that. - * sha1.h: Removed. - * md5.h: Removed. - - * twofish.c: Changed interface to allow Twofish/256 - - * rndunix.c (start_gatherer): Die on SIGPIPE. - -Wed Jan 20 18:59:49 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndunix.c (gather_random): Fix to avoid infinite loop. - -Sun Jan 17 11:04:33 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * des.c (is_weak_key): Replace system memcmp due to bugs - in SunOS's memcmp. - (des_get_info): Return error on failed selftest. - * twofish.c (twofish_setkey): Return error on failed selftest or - invalid keylength. - * cast5.c (cast_setkey): Ditto. - * blowfish.c (bf_setkey): Return error on failed selftest. - -Tue Jan 12 11:17:18 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * random.c (random_is_faked): New. - - * tiger.c: Only compile if we have the u64 type - -Sat Jan 9 16:02:23 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndunix.c (gather_random): check for setuid. - - * Makefile.am: Add a way to staically link random modules - -Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * md.c (md_stop_debug): Do a flush first. - (md_open): size of buffer now depends on the secure parameter - -Sun Jan 3 15:28:44 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * rndunix.c (start_gatherer): Fixed stupid ==/= bug - -1998-12-31 Geoff Keating <geoffk@ozemail.com.au> - - * des.c (is_weak_key): Rewrite loop end condition. - -Tue Dec 29 14:41:47 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * random.c: add unistd.h for getpid(). - (RAND_MAX): Fallback value for Sun. - -Wed Dec 23 17:12:24 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * md.c (md_copy): Reset debug. - -Mon Dec 14 21:18:49 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * random.c (read_random_source): Changed the interface to the - random gathering function. - (gather_faked): Use new interface. - * dynload.c (dynload_getfnc_fast_random_poll): Ditto. - (dynload_getfnc_gather_random): Ditto. - * rndlinux.c (gather_random): Ditto. - * rndunix.c (gather_random): Ditto. - -Sat Dec 12 18:40:32 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * dynload.c (SYMBOL_VERSION): New to cope with system which needs - underscores. - - * rndunix.c: Rewrote large parts - -Thu Dec 10 20:15:36 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * dynload.c (load_extension): increased needed verbosity level. - - * random.c (fast_random_poll): Fallback to a default fast random - poll function. - (read_random_source): Always use the faked entroy gatherer if no - gather module is available. - * rndlinux.c (fast_poll): Removed. - * rndunix.c (fast_poll): Removed. - - -Wed Nov 25 12:33:41 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rand-*.c: Removed. - * rndlinux.c : New. - * rndunix.c : New. - * random.c : Restructured the interface to the gather modules. - (intialize): Call constructor functions - (read_radnom_source): Moved to here. - * dynload.c (dynload_getfnc_gather_random): New. - (dynload_getfnc_fast_random_poll): New. - (register_internal_cipher_extension): New. - (register_cipher_extension): Support of internal modules. - -Sun Nov 8 17:44:36 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rand-unix.c (read_random_source): Removed the assert. - -Mon Oct 19 18:34:30 1998 me,,, (wk@tobold) - - * pubkey.c: Hack to allow us to give some info about RSA keys back. - -Thu Oct 15 11:47:57 1998 Werner Koch (wk@isil.d.shuttle.de) - - * dynload.c: Support for DLD - -Wed Oct 14 12:13:07 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rand-unix.c: Now uses names from configure for /dev/random. - -1998-10-10 SL Baur <steve@altair.xemacs.org> - - * Makefile.am: fix sed -O substitutions to catch -O6, etc. - -Tue Oct 6 10:06:32 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-) - * rand-dummy.c (HAVE_GETTIMEOFDAY): Ditto. - -Mon Sep 28 13:23:09 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c (md_digest): New. - (md_reset): New. - -Wed Sep 23 12:27:02 1998 Werner Koch (wk@isil.d.shuttle.de) - - * tiger.c (TIGER_CONTEXT): moved "buf", so that it is 64 bit aligned. - -Mon Sep 21 06:22:53 1998 Werner Koch (wk@(none)) - - * des.c: Some patches from Michael. - -Thu Sep 17 19:00:06 1998 Werner Koch (wk@(none)) - - * des.c : New file from Michael Roth <mroth@nessie.de> - -Mon Sep 14 11:10:55 1998 Werner Koch (wk@(none)) - - * blowfish.c (bf_setkey): Niklas Hernaeus patch to detect weak keys. - -Mon Sep 14 09:19:25 1998 Werner Koch (wk@(none)) - - * dynload.c (RTLD_NOW): Now defined to 1 if it is undefined. - -Mon Sep 7 17:04:33 1998 Werner Koch (wk@(none)) - - * Makefile.am: Fixes to allow a different build directory - -Thu Aug 6 17:25:38 1998 Werner Koch,mobil,,, (wk@tobold) - - * random.c (get_random_byte): Removed and changed all callers - to use get_random_bits() - -Mon Jul 27 10:30:22 1998 Werner Koch (wk@(none)) - - * cipher.c : Support for other blocksizes - (cipher_get_blocksize): New. - * twofish.c: New. - * Makefile.am: Add twofish module. - -Mon Jul 13 21:30:52 1998 Werner Koch (wk@isil.d.shuttle.de) - - * random.c (read_pool): Simple alloc if secure_alloc is not set. - (get_random_bits): Ditto. - -Thu Jul 9 13:01:14 1998 Werner Koch (wk@isil.d.shuttle.de) - - * dynload.c (load_extension): Function now nbails out if - the program is run setuid. - -Wed Jul 8 18:58:23 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rmd160.c (rmd160_hash_buffer): New. - -Thu Jul 2 10:50:30 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cipher.c (cipher_open): algos >=100 use standard CFB - -Thu Jun 25 11:18:25 1998 Werner Koch (wk@isil.d.shuttle.de) - - * Makefile.am: Support for extensions - -Thu Jun 18 12:09:38 1998 Werner Koch (wk@isil.d.shuttle.de) - - * random.c (mix_pool): simpler handling for level 0 - -Mon Jun 15 14:40:48 1998 Werner Koch (wk@isil.d.shuttle.de) - - * tiger.c: Removed from dist, will reappear as dynload module - -Sat Jun 13 14:16:57 1998 Werner Koch (wk@isil.d.shuttle.de) - - * pubkey.c: Major changes to allow extensions. Changed the inteface - of all public key ciphers and added the ability to load extensions - on demand. - - * misc.c: Removed. - -Wed Jun 10 07:52:08 1998 Werner Koch,mobil,,, (wk@tobold) - - * dynload.c: New. - * cipher.c: Major changes to allow extensions. - -Mon Jun 8 22:43:00 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cipher.c: Major internal chnages to support extensions. - * blowfish.c (blowfish_get_info): New and made all internal - functions static, changed heder. - * cast5.c (cast5_get_info): Likewise. - -Mon Jun 8 12:27:52 1998 Werner Koch (wk@isil.d.shuttle.de) - - * tiger.c (transform): Fix for big endian - - * cipher.c (do_cfb_decrypt): Big endian fix. - -Fri May 22 07:30:39 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c (md_get_oid): Add a new one for TIGER. - -Thu May 21 13:24:52 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cipher.c: Add support for a dummy cipher - -Thu May 14 15:40:36 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rmd160.c (transform): fixed sigbus - I should better - add Christian von Roques's new implemenation of rmd160_write. - -Fri May 8 18:07:44 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rand-internal.h, rand-unix.c, rand-w32.c, rand_dummy.c: New - * random.c: Moved system specific functions to rand-****.c - -Fri May 8 14:01:17 1998 Werner Koch (wk@isil.d.shuttle.de) - - * random.c (fast_random_poll): add call to gethrtime. - -Tue May 5 21:28:55 1998 Werner Koch (wk@isil.d.shuttle.de) - - * elgamal.c (elg_generate): choosing x was not correct, could - yield 6 bytes which are not from the random pool, tsss, tsss.. - -Tue May 5 14:09:06 1998 Werner Koch (wk@isil.d.shuttle.de) - - * primegen.c (generate_elg_prime): Add arg mode, changed all - callers and implemented mode 1. - -Mon Apr 27 14:41:58 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cipher.c (cipher_get_keylen): New. - -Sun Apr 26 14:44:52 1998 Werner Koch (wk@isil.d.shuttle.de) - - * tiger.c, tiger.h: New. - -Wed Apr 8 14:57:11 1998 Werner Koch (wk@isil.d.shuttle.de) - - * misc.c (check_pubkey_algo2): New. - -Tue Apr 7 18:46:49 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cipher.c: New - * misc.c (check_cipher_algo): Moved to cipher.c - * cast5.c: Moved many functions to cipher.c - * blowfish.c: Likewise. - -Sat Apr 4 19:52:08 1998 Werner Koch (wk@isil.d.shuttle.de) - - * cast5.c: Implemented and tested. - -Wed Apr 1 16:38:27 1998 Werner Koch (wk@isil.d.shuttle.de) - - * elgamal.c (elg_generate): Faster generation of x in some cases. - -Thu Mar 19 13:54:48 1998 Werner Koch (wk@isil.d.shuttle.de) - - * blowfish.c (blowfish_decode_cfb): changed XOR operation - (blowfish_encode_cfb): Ditto. - -Thu Mar 12 14:04:05 1998 Werner Koch (wk@isil.d.shuttle.de) - - * sha1.c (transform): Rewrote - - * blowfish.c (encrypt): Unrolled for rounds == 16 - (decrypt): Ditto. - -Tue Mar 10 16:32:08 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rmd160.c (transform): Unrolled the loop. - -Tue Mar 10 13:05:14 1998 Werner Koch (wk@isil.d.shuttle.de) - - * random.c (read_pool): Add pool_balance stuff. - (get_random_bits): New. - - * elgamal.c (elg_generate): Now uses get_random_bits to generate x. - - -Tue Mar 10 11:33:51 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c (md_digest_length): New. - -Tue Mar 10 11:27:41 1998 Werner Koch (wk@isil.d.shuttle.de) - - * dsa.c (dsa_verify): Works. - -Mon Mar 9 12:59:08 1998 Werner Koch (wk@isil.d.shuttle.de) - - * dsa.c, dsa.h: Removed some unused code. - -Wed Mar 4 10:39:22 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c (md_open): Add call to fast_random_poll. - blowfish.c (blowfish_setkey): Ditto. - -Tue Mar 3 13:32:54 1998 Werner Koch (wk@isil.d.shuttle.de) - - * rmd160.c (rmd160_mixblock): New. - * random.c: Restructured to start with a new RNG implementation. - * random.h: New. - -Mon Mar 2 19:21:46 1998 Werner Koch (wk@isil.d.shuttle.de) - - * gost.c, gost.h: Removed because they did only contain trash. - -Sun Mar 1 16:42:29 1998 Werner Koch (wk@isil.d.shuttle.de) - - * random.c (fill_buffer): removed error message if n == -1. - -Fri Feb 27 16:39:34 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c (md_enable): No init if called twice. - -Thu Feb 26 07:57:02 1998 Werner Koch (wk@isil.d.shuttle.de) - - * primegen.c (generate_elg_prime): Changed the progress printing. - (gen_prime): Ditto. - -Tue Feb 24 12:28:42 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md5.c, md.5 : Replaced by a modified version of md5.c from - GNU textutils 1.22. - -Wed Feb 18 14:08:30 1998 Werner Koch (wk@isil.d.shuttle.de) - - * md.c, md.h : New debugging support - -Mon Feb 16 10:08:47 1998 Werner Koch (wk@isil.d.shuttle.de) - - * misc.c (cipher_algo_to_string): New - (pubkey_algo_to_string): New. - (digest_algo_to_string): New. - - - Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006 - 2007, 2008, 2009 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.am b/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.am deleted file mode 100644 index 447043398e..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.am +++ /dev/null @@ -1,82 +0,0 @@ -# Makefile for cipher modules -# Copyright (C) 1998, 1999, 2000, 2001, 2002, -# 2003, 2009 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. - -# Process this file with automake to produce Makefile.in - -EXTRA_DIST = Manifest - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) - - -noinst_LTLIBRARIES = libcipher.la - -GCRYPT_MODULES = @GCRYPT_CIPHERS@ @GCRYPT_PUBKEY_CIPHERS@ @GCRYPT_DIGESTS@ - -libcipher_la_DEPENDENCIES = $(GCRYPT_MODULES) -libcipher_la_LIBADD = $(GCRYPT_MODULES) - -libcipher_la_SOURCES = \ -cipher.c pubkey.c ac.c md.c \ -hmac-tests.c \ -bithelp.h \ -primegen.c \ -hash-common.c hash-common.h \ -rmd.h - -EXTRA_libcipher_la_SOURCES = \ -arcfour.c \ -blowfish.c \ -cast5.c \ -crc.c \ -des.c \ -dsa.c \ -elgamal.c \ -ecc.c \ -md4.c \ -md5.c \ -rijndael.c rijndael-tables.h \ -rmd160.c \ -rsa.c \ -seed.c \ -serpent.c \ -sha1.c \ -sha256.c \ -sha512.c \ -tiger.c \ -whirlpool.c \ -twofish.c \ -rfc2268.c \ -camellia.c camellia.h camellia-glue.c - -if ENABLE_O_FLAG_MUNGING -o_flag_munging = sed -e 's/-O[2-9s]*/-O1/g' -else -o_flag_munging = cat -endif - - -# We need to lower the optimization for this module. -tiger.o: $(srcdir)/tiger.c - `echo $(COMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) ` - -tiger.lo: $(srcdir)/tiger.c - `echo $(LTCOMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) ` diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.in b/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.in deleted file mode 100644 index d905cb8984..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Makefile.in +++ /dev/null @@ -1,572 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Makefile for cipher modules -# Copyright (C) 1998, 1999, 2000, 2001, 2002, -# 2003, 2009 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. - -# Process this file with automake to produce Makefile.in - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = cipher -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/noexecstack.m4 $(top_srcdir)/m4/onceonly.m4 \ - $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sys_socket_h.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(noinst_LTLIBRARIES) -am__DEPENDENCIES_1 = -am_libcipher_la_OBJECTS = cipher.lo pubkey.lo ac.lo md.lo \ - hmac-tests.lo primegen.lo hash-common.lo -libcipher_la_OBJECTS = $(am_libcipher_la_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libcipher_la_SOURCES) $(EXTRA_libcipher_la_SOURCES) -DIST_SOURCES = $(libcipher_la_SOURCES) $(EXTRA_libcipher_la_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_FILEVERSION = @BUILD_FILEVERSION@ -BUILD_REVISION = @BUILD_REVISION@ -BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ -CC = @CC@ -CCAS = @CCAS@ -CCASDEPMODE = @CCASDEPMODE@ -CCASFLAGS = @CCASFLAGS@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DL_LIBS = @DL_LIBS@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FALLBACK_SOCKLEN_T = @FALLBACK_SOCKLEN_T@ -FFLAGS = @FFLAGS@ -GCRYPT_CIPHERS = @GCRYPT_CIPHERS@ -GCRYPT_DIGESTS = @GCRYPT_DIGESTS@ -GCRYPT_PUBKEY_CIPHERS = @GCRYPT_PUBKEY_CIPHERS@ -GCRYPT_RANDOM = @GCRYPT_RANDOM@ -GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@ -GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@ -GPG_ERROR_LIBS = @GPG_ERROR_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGCRYPT_CIPHERS = @LIBGCRYPT_CIPHERS@ -LIBGCRYPT_CONFIG_API_VERSION = @LIBGCRYPT_CONFIG_API_VERSION@ -LIBGCRYPT_CONFIG_CFLAGS = @LIBGCRYPT_CONFIG_CFLAGS@ -LIBGCRYPT_CONFIG_LIBS = @LIBGCRYPT_CONFIG_LIBS@ -LIBGCRYPT_DIGESTS = @LIBGCRYPT_DIGESTS@ -LIBGCRYPT_LT_AGE = @LIBGCRYPT_LT_AGE@ -LIBGCRYPT_LT_CURRENT = @LIBGCRYPT_LT_CURRENT@ -LIBGCRYPT_LT_REVISION = @LIBGCRYPT_LT_REVISION@ -LIBGCRYPT_PUBKEY_CIPHERS = @LIBGCRYPT_PUBKEY_CIPHERS@ -LIBGCRYPT_THREAD_MODULES = @LIBGCRYPT_THREAD_MODULES@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MPI_SFLAGS = @MPI_SFLAGS@ -NOEXECSTACK_FLAGS = @NOEXECSTACK_FLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PTH_CFLAGS = @PTH_CFLAGS@ -PTH_CONFIG = @PTH_CONFIG@ -PTH_LIBS = @PTH_LIBS@ -RANLIB = @RANLIB@ -RC = @RC@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYS_SOCKET_H = @SYS_SOCKET_H@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -EXTRA_DIST = Manifest - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) -noinst_LTLIBRARIES = libcipher.la -GCRYPT_MODULES = @GCRYPT_CIPHERS@ @GCRYPT_PUBKEY_CIPHERS@ @GCRYPT_DIGESTS@ -libcipher_la_DEPENDENCIES = $(GCRYPT_MODULES) -libcipher_la_LIBADD = $(GCRYPT_MODULES) -libcipher_la_SOURCES = \ -cipher.c pubkey.c ac.c md.c \ -hmac-tests.c \ -bithelp.h \ -primegen.c \ -hash-common.c hash-common.h \ -rmd.h - -EXTRA_libcipher_la_SOURCES = \ -arcfour.c \ -blowfish.c \ -cast5.c \ -crc.c \ -des.c \ -dsa.c \ -elgamal.c \ -ecc.c \ -md4.c \ -md5.c \ -rijndael.c rijndael-tables.h \ -rmd160.c \ -rsa.c \ -seed.c \ -serpent.c \ -sha1.c \ -sha256.c \ -sha512.c \ -tiger.c \ -whirlpool.c \ -twofish.c \ -rfc2268.c \ -camellia.c camellia.h camellia-glue.c - -@ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat -@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O[2-9s]*/-O1/g' -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cipher/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu cipher/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libcipher.la: $(libcipher_la_OBJECTS) $(libcipher_la_DEPENDENCIES) - $(LINK) $(libcipher_la_OBJECTS) $(libcipher_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ac.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arcfour.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/blowfish.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/camellia-glue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/camellia.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cast5.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cipher.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/des.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elgamal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash-common.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac-tests.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md4.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primegen.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pubkey.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc2268.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rijndael.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmd160.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rsa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seed.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/serpent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha256.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha512.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tiger.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twofish.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/whirlpool.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am - - -# We need to lower the optimization for this module. -tiger.o: $(srcdir)/tiger.c - `echo $(COMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) ` - -tiger.lo: $(srcdir)/tiger.c - `echo $(LTCOMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) ` -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Manifest b/plugins/MirOTR/libgcrypt-1.4.6/cipher/Manifest deleted file mode 100644 index 0cd64f71fc..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/Manifest +++ /dev/null @@ -1,73 +0,0 @@ -# Manifest - checksums of the cipher directory -# Copyright 2003 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser general Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# Checksums for all source files in this directory. Format is -# filename, blanks, base-64 part of an OpenPGP detached signature -# without the header lines. Blank lines and lines beginning with a -# hash mark are ignored. A tool to process this file is available by -# cvs -d :pserver:anoncvs@cvs.gnupg.org:/cvs/wk co misc-scripts/manifest-tool -# -# The special entry "$names$" holds a signature over all sorted -# filenames excluding itself. - - -# Algorithm API -cipher.c iQCVAwUAQDzrVjEAnp832S/7AQIPDgP+OVJ/YNWY5m7c09EBbPAzL/WsGoj6wrBNMmkRlMOqTHeh+OOtjuFHt1f9uhfM2Nzl7sJ5+h4ryZKLEZmQPRMTZTnAqkvGdsrJWJnigUA9QwYdV0ONqC9C63gpuG465gO9TZVOqlQu/FTxSRuTQYUulkaBNG71n8nZEOusBVwV2YA==58xH -pubkey.c iQCVAwUAP9XQ3jEAnp832S/7AQJ5UgQAyHfEBvPVJ8wTRg8c7ixS2GiVmIgwIo5tvQaiQJTPWASevvYrB+2Z2qa9cATyu50ACjLzbaquGBgPzjJV3dU/qttT1gCqRuN/LCNvXFe5qnIZezejc3RAadFNTw/pOTHq0wxD1Keg66ruei9R36Nba59pEQIWIBXTfubRft2hMYk==E09t -ac.c iQCVAwUAQDzsOzEAnp832S/7AQJCBQP/WI6EV/dsR4rmha6RVhvkjZo17kQ8z6pIl5J3cXOvqEkIFeD2HYu3HHrWST5l7yXlffhpDkVHkfMih4ruK76q6Fm0dxZ98pO4C/dVtgimlvvcy/wOQjpzsE0fYAe1BYdg81LJ09X33vW5x6C29lunfKROO2tPlV5i8ffeoFvmMF8==j26g -md.c iQCVAwUAP+NFGjEAnp832S/7AQJs8wP/Qdk0EAKsyr3O1/pmOSN8AG4rPKbd6KDTzvoBPAN4upFwKYY4hWwvy12Q3YU9DmECrzZkRCXHR7mljVQKs6B7CRZJKjFKmOELpcJDtKvu40vTs1bOH4k9iJYZpGgRA83nkQ+ELAcphAbCA+KIpVr2K4mCJAB0FhpC2uOQ50JHAko==BeF6 -primegen.c iQCVAwUAQDzsoDEAnp832S/7AQKYRwP/TqAQBm1rHTnF0HYE05PqXfWlOqa6EosqVpaOcs/OIW6PaqX0xH1UlrukK7jNOjK3xC4o1qNQ1UKzz2dvQaq1bMvNNizeavxAh10SJZc0hIc/ofc83IbjLh8SZVWQ67JxjsUd3DOXmSmhPZ+Pqd7cUIiw8fDoF+I9EZqy3COu1wY==1ebT - -# Algorithm implementations -arcfour.c iQCVAwUAP9XR/TEAnp832S/7AQJcRwP6AlvYEx++fpT4mIYo0xRDqKEQeqMQvbaRhIg2eV74JxItpHa3q5YsYIl+n1yUz5g35JRWWXSWmAZBwO5wLKsHii4kRUhgrKWnSoQZoPpl49L5+N3R58ON3S0ru5lsBiEJEze3xplf2vqwrH9v1QHVD+gU7UTlfNqrIJoOUXN+1O4==Tq+x -blowfish.c iQCVAwUAP9XTETEAnp832S/7AQJaEgQAgiqqfuO+zQtscgTB0rvOzVymIKjRKjYhFuLjVuc79G4z1RCAffvIn/YM2d7kt+Z/QF7zjcTAOgETCQL1XokpX2zz9HPAMi2tlDY5zsDufTNqj0n4WBL9nM7w6XAvsiwP1B3bqCTv9SjJV4KbxJ58vw1yQE+sqW74R/QIHFvC7mU==wZnX -cast5.c iQCVAwUAP9XT6DEAnp832S/7AQJ3xgP/ehLjEN3GELGudbqeo91Xd+PqitHrkuBbtRIYX7Udd/fyXLN+h8rMJVyIQX2m+mpxbBxudVU3x8/DNT8B0ZHAwK6qqJmEBLLhEYPgIuF76i9LMrP1KqUPhAwRZ2OppjIIugBQ+rP74aD4eLyd/aKQHNuXML8QGWR6KwQShohXM5I==/BRh -crc.c iQCVAwUAP7ouejEAnp832S/7AQIgwQQApg5Nm63tH5DQkbN+zPzMO9Ygoj3ukxfFTyTBPYSXYKMiTjEbESegaU40uN8jnz2vprcIQWcgZfzO4+opEJMcI35aPwzEk0vKOp0S/PrBLUY2rJfnDVkX5XgJFZa2Q7LLe826UEBzTVYW924utiCCe8oOaOEWVNpg1mqdknu3M9o==kz5D -des.c iQCVAwUAQCN2oDEAnp832S/7AQL/jwP6Auoq6nZCDBjpgc9tDzuIRwa9DqyuM3gX94uvgEpUwdHszb2bG43dz03kVmcYxtj1MzXbyCeCZOwox0b2SKmLgxIbrNP6yGbzVdTj6592gDYuf/ZXmc1ZNJ1DDldcPQ0n9fXUipUPwyPaNWo3mSZaNcMKSWWzdK0J6ciG6nk7SWI==9k/t -dsa.c iQCVAwUAP9XZHDEAnp832S/7AQLBRgP/XrBzTEYx5ccMj1MMb6sg37liEHdIyyy49zjvt6jUqxj4RuwVEN8S6v3u4q/QyJkHAi1E0EkREgENlyHW6PKWhYbcrd0vPIAN15yjnl2yqtrCrJImexUCoqJJewK0E4JOicGbabTil8MZjk+mbhEPnjJBqOkyP1w0i31pEDgE/8M==pC8s -elgamal.c iQCVAwUAP9XbYzEAnp832S/7AQLXagQA3HrvspZfbTGgmUH0IqLQTJ0exUPxJv5DET2TvoIy62trDmMN6lTAj5P+a7jQ8udcu0w+mR2vXUHcxUpNA2PxLaMwGzNSY4zRDNe9r3SFTDrFm6m4y9Ko2e8XtEA+WF6P/XLpck4Jn7vMEDmVGPwkNd22kXFFE8dBGwG6i5Hk1Mk==oBUs -md4.c iQCVAwUAP9h50DEAnp832S/7AQJhHgQAzNA/B6MWFDlCtPkIVaW8RpP1Eg0ZNMsy0s7SJkopOCBlu6CwXUOKe+8ppcSxhjYKh4i4uQr/QtfipYlBjzKJGnrafoF/NugXNCOHSTGT11TvK7mCiBuUMVgvZGAlOJImk6eTTfUjRrMfaXM/SWl8bdJ4ZpzdjEyVh89r7I5JrGk==x2UD -md5.c iQCVAwUAP9h7LzEAnp832S/7AQJUGQP/c0cbf6WZXCzmjufHxiE9FAQBzTsA0WtaNqdFcHl7fhmikGtknlaED8n5a7eYd/C481UQW6Wgq/oZdsvgoPWPhG3fOCy2CFP9cZVXITuMSf0ucyZTFUJNO15fnZ+nDfsUv+JPdv1aSeRinAUtfAcSKfkSyR9BCPZvkx+tgU6cphU==Zv+h -rijndael.c iQCVAwUAP9h9cTEAnp832S/7AQKF1AP+P2L/tPqDJRDg+/fwbOk8Ts0MNxnvvYEm3gE73TKuLt1S+B2+jkrZcKNvM5VGPnVMJbnS0lmIK04nmedHCOftGTOwhGulZAHHIaKGystT3Jql4iPws/JMgAjE7Fyxh5WZMtB9yEljKBpJ5XNqhrMvvxcHpnyP3+YzIXNwzk34V+c==dJ5k -rmd160.c iQCVAwUAP9h+bTEAnp832S/7AQK1OgP+PNKF6Nzi6X93easVlksdLqKEsArCAw2QjGWDGyxTnbiJM55qAl9JxR1mn3V+oOL7izLLwTt6EYK9evhzfcxY5N5Mni85RAcsLPsuAfQDEzjI6GUWHtQUKPbM+BaorzfhQjYFSZyvum/dZYJ/WfiwwwhqqIKyVU2ZFSqA38YGC/c==9jdA -rsa.c iQCVAwUAP9iHIzEAnp832S/7AQKAYwQAuWtnMte54QHN+Hij9t4sGuypXogajOb1vQQwGgS0fKsaBZsuSP2amze4o5diIvsQTsFQ4CzjvqoCVuBDoHM3xkSD8wGDizgvtCamAxkdbF7wmzldKFn8SpJqlVwWQMP6kk1IjXHEuYb4IDWGTbVMhfEu+eOlU8+PSK4IhZqNvt4==/3hp -serpent.c iQCVAwUAP9h/VzEAnp832S/7AQLyCwP/d1zbmb7l/PriZNa9/Z7mo01XFe5MnAqCfIwhl9GjeaMszcoS37jECNq5nLvrTTFIIJpm3rvBePwiCG4Wwx1I18HCxaP198pcSaR+BLOJ3Aj52EZPrxtqlDKuFr38ZOP5giyUqUYVYGVdrz4kRMNWAZQK53GeJnGhXCnhxojLEgA==ck46 -sha1.c iQCVAwUAP9iATTEAnp832S/7AQKcSwQAwAs/HnNqho3lU1ZUgCPNt5P2/Brm6W21+wWWGKJkSrra/c4NYVKJGDDwlsFE0b9ln1uZt7bHReFkKXK3JnrKTmNVcx/Cy64iCMRNMhaM72Mqy7wWx5yHBAmMBxzFGnNQKbmeY52zeGih5HsNLSibc2pPuOViWo2JPJ5Ci/wIwl8==/wtO -sha256.c iQCVAwUAP9iAtzEAnp832S/7AQJD2QP/UqvL0hhjG1wEFbGrdkV9tba1sMDXdnnK6X7HdLuRpVAgNiQiFf8JDmntd/dZ2Q71p4Uae2ctqve4WoEijPUZPjACnpuZfx0SEQL0lQBkwxzJp7lz9ujVtwQ2cM/aYexJkXcWgGcloJNLM3JbWPGIJnuYbr/IwJ6RQF9vgj0357o==UWO1 -sha512.c iQCVAwUAP9iBTDEAnp832S/7AQIPBAQA28CJSUQLiW0s2x9u8/OH2eKnxPjA4sZmb50WP7920Lem66P31C3BrOqwfBot4RLhjL+zh/+Uc4s3HPwApZuj9E4BxNMlqLv+Tqk++DAbdaOeYT4jeUt+mlhQQ6mH/RDsy32rZsNsGQ2bUGxazZmfG++PL3JyhawqCy00SUDr/o0==H+0X -tiger.c iQCVAwUAP9iCfjEAnp832S/7AQKufwP/fryv3MqSOYY+90325DH7X3/CtekxeooN0scGsHX0fxBakWSMecTNrj33KPddLS46gU/S89zIc2N/Bw/7EVIAXVFA3/3Ip+OrFOuIMO4Py1sCdB8o2Y+5ygv8iXLcsXIq1O0av79i9g774V3uaXa2qN9ZnXe0AEhcy8FHJ2i/wro==5XVB -twofish.c iQCVAwUAP9iD6TEAnp832S/7AQKUnQP/Rq8FaYeHTG7HbZuqAs9pbPitzjDbkdZddmInWR7NmevBkKvhsJALjVooc0KGQfo2lAAmy3Xi/4QQN8VPn51DVjDIgf7x+DQh/9TFJHMccxI9asUgi4+TNnmMqLU1k3N8S2PjyZ1sjeC8B79fKPpwCzj72WkqPkzZw3l2jArr+dU==NdJT -rfc2268.c iQCVAwUAQCN+3jEAnp832S/7AQLv1gQA1hJh29hAjKi4uLSGxXvJ6cyYmPdmevdKrbLnuHZWtHe4xvCgy/nTdEojEpxgLp/hL/ogasuWRC1W16Wiz9ryxf7YR0uhZWayO/bQNagpfU5MIkJTLuKqqgpwYumCSQfOugXVAqcgEzj+13eeyJaFVrzwrNa67sh84nmbjOjNjvE==0zBq - -# Random number related -random.c iQCVAwUAP7nsITEAnp832S/7AQK4SAQAtvfUgrtGOQ2PlxGMla0qJLPHjJacMwgq0ecusiI79elPdDsFfCCk6dK1Ug2kFbNm22nCGHNcUquqbX7noi7ZVQnmPBQXzyLNZd7GmrawRZfdlRerTUDBpSnR8V8ui/5+YYp627E7kKGC0hPSgqXFql6oBMIfno0LZwFJTjIevRY==L419 -random.h iQCVAwUAP7ovKDEAnp832S/7AQJ3bQQAjnPebnyTC7sphAv2I7uIz+yPgw1ZfbVhLv+OiWDlO9ish+fRyyMpy+HELBOgZjJdgRegqhlZC6qyns5arM/VglYi+PzvdLO3hIqHE/YFfpIFPz8wBrcmlqrYyd3CsGqcYsfjocXNttCBLeSWmoJ09ltKQH8yzJf3oAgN6X1yuc4==eNoU -rand-internal.h iQCVAwUAP7ouvDEAnp832S/7AQLYnAQAhdI7ERoJVCkV8GiV7MjaUxv1WIL7iZ+jIOvVhv4fNyhCGCGoEtTjkyput/lj7Nsh3FXEqRhypGGrCLf47x/gua5n+BwffogxVyUDqiOyyGhNTPpe3fQcNBvbPCtco8yMK4GJO5G3BqzlPyN+BMeogLymyV6Sm1mvh5LZDyAFbfQ==tZSE -rndlinux.c iQCVAwUAP9iPYTEAnp832S/7AQL6/AP/ZDrbOkVuB9qJ7sKeX1MImZEsz3mi0xPovJzaBtBU7a0idcUKrWYOvQFWRlLUeq0iCT6+h2l5bniP7q7hepzlKa+VPY9VWaQthqeJm2l5LN6QQ5PyMfBq04QuBncw9BJnCGmEyTLt3RxIXBAPdxmiVxtcRIFUqCBtQvoUXGLvemw==t37k -rndegd.c iQCVAwUAP9iPRDEAnp832S/7AQImBQP/WHKg+hKXcm1pQvilzML0jZpwK5PAMM4uBnnPJNIXWOYBO6I/Xg9d/tPLg8NlmmtyQCo2Eu0ybDSt+8mu+dWveAys+0LTi0MIqeP9BMzCKz8dnWH6+S8huLXwTF3m0IrqM0JLb6b71GK9SOq6sWQ22yW5vf61hXP8kH9dhIaoMZs==FaHV -rndunix.c iQCVAwUAP9iQlzEAnp832S/7AQL/KgQA29GnvcD4Xb5qjDMBgW9THEE4+4lfex/6k+Fh0IT61OLJsWVLJ7bJpRntburw4uQm4Tf7CO8vaiDFDYhKKrzXeOF1fmdpcL8hA+fNp9I/MUOc4e9kN9+YJ9wikVa0SZj1OBfhzgcFLd1xOtulkr3ii52HLF9vhrxzkgVwvD10Bi8==2cML -rndw32.c iQCVAwUAP9iRKDEAnp832S/7AQIuaAQA3AJr3WqnxNDsWCIdvehf8Suotthj+laX8nJsvDfFhXPKcXDpsg0wTTXSnnKgyED53+uYiMDnVRsxeWAyhKwvx1MjjlaSMMjzbH6isWTH8FaWpLgrxEkXoPeNqYf5FXpdUkcUxGX2RkQeuX/cIfiHLNE9CV0usaF2jysjBX2iERY==EEnO - -# Helper -bithelp.h iQCVAwUAP7ouPTEAnp832S/7AQKXggQAqjcgvihIF3WclOgw1JV2rbARw4ISIDRMFqdaNCqBRx6BwEz3UGsEIlz6+iR1sS/reqN61WvtjLb+D0+tujAkGrgQJhFLG85WtG2tB5UVoI3am1fpkwiRm+bR4rv0rGk0BYk81bC7+l4KrK9o5lVp4lCsrorlUKsd48lNmBHyAXM==mDDN -rmd.h iQCVAwUAP7oumjEAnp832S/7AQJiJQP/V4bJwjZaYndJzV+KRnIDbl1koHuw+ZK5heMYVu8Qk4ylqv//BGyeRa3jZCcfPHI35q6HilCs2VBm8hiBMjHSqY/VPn2ZQ0yg/lt6qEvl7YjsLmyMICvjG+ncszHoq9pRvnF3vTnM18sPIioXLk8fskuM0XOCNBs0ARBAQjY9UGI==olUN - -# Configuration -Makefile.am iQCVAwUAQCN33TEAnp832S/7AQKFJAQAz7BDkC814q+QiuE/jnutJHR5qlgbrm3ikGbQwdRzYUscst4bCCWy3uKL/sIPGLg+JQXtF5FnsQy3s4D9BOYhp72cA9ktYK65hhi4pNm/JQ0lXkZMNfk8Go5lNzKezlWwHvkMwRXR0Fep0wPdyeaKW5BfaW2ABvgep6Bp+hHEbyg==zSyi -$names$ iQCVAwUAQCN3EDEAnp832S/7AQJXLAP8DvHTpm5DkTF35EmzeKpi9ie59AZcZanD19ir/e/7+PaQxr2riuLHDGwFKTju+dcvvBsqrygXOC378GXVWzIF2OZwS4EdDcJ+pgojo9UpsqpKsJHouY4Ugx5cQialxba462kUn8hcihSBnMyc4LzbJ5WQ4puQuqy544d2x94+2ms==G4Ls diff --git a/plugins/MirOTR/libgcrypt-1.4.6/custom/config.h.bak b/plugins/MirOTR/libgcrypt-1.4.6/custom/config.h.bak deleted file mode 100644 index 4d5d22f548..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/custom/config.h.bak +++ /dev/null @@ -1,390 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */
-
-
-#ifndef _GCRYPT_CONFIG_H_INCLUDED
-#define _GCRYPT_CONFIG_H_INCLUDED
-/* need this, because some autoconf tests rely on this (e.g. stpcpy)
- * and it should be used for new programs */
-#define _GNU_SOURCE 1
-
-
-/* Define if building universal (internal helper macro) */
-#undef AC_APPLE_UNIVERSAL_BUILD
-
-/* Subversion revision used to build this package */
-#undef BUILD_REVISION
-
-/* configure did not test for endianess */
-#undef DISABLED_ENDIAN_CHECK
-
-/* Define if you don't want the default EGD socket name. For details see
- cipher/rndegd.c */
-#undef EGD_SOCKET_NAME
-
-/* Define to support an HMAC based integrity check */
-#undef ENABLE_HMAC_BINARY_CHECK
-
-/* Enable support for the PadLock engine. */
-#undef ENABLE_PADLOCK_SUPPORT
-
-/* Define to use the GNU C visibility attribute. */
-#undef GCRY_USE_VISIBILITY
-
-/* The default error source for libgcrypt. */
-#undef GPG_ERR_SOURCE_DEFAULT
-
-/* Define to 1 if you have the `atexit' function. */
-#define HAVE_ATEXIT 1
-
-/* Defined if the mlock() call does not work */
-#undef HAVE_BROKEN_MLOCK
-
-/* Defined if a `byte' is typedef'd */
-#undef HAVE_BYTE_TYPEDEF
-
-/* Define to 1 if you have the `clock_gettime' function. */
-#undef HAVE_CLOCK_GETTIME
-
-/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
- don't. */
-#define HAVE_DECL_SYS_SIGLIST 0
-
-/* defined if the system supports a random device */
-#undef HAVE_DEV_RANDOM
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#undef HAVE_DOPRNT
-
-/* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
- with special properties like no file modes */
-#define HAVE_DOSISH_SYSTEM
-
-/* defined if we must run on a stupid file system */
-#define HAVE_DRIVE_LETTERS
-
-/* Define to 1 if you have the `fcntl' function. */
-#undef HAVE_FCNTL
-
-/* Define to 1 if you have the `ftruncate' function. */
-#undef HAVE_FTRUNCATE
-
-/* Define to 1 if you have the `gethrtime' function. */
-#undef HAVE_GETHRTIME
-
-/* Define to 1 if you have the `getpagesize' function. */
-#undef HAVE_GETPAGESIZE
-
-/* Define to 1 if you have the `getrusage' function. */
-#undef HAVE_GETRUSAGE
-
-/* Define to 1 if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the `rt' library (-lrt). */
-#undef HAVE_LIBRT
-
-/* Define to 1 if you have the `memmove' function. */
-#define HAVE_MEMMOVE 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Defined if the system supports an mlock() call */
-#undef HAVE_MLOCK
-
-/* Define to 1 if you have the `mmap' function. */
-#undef HAVE_MMAP
-
-/* Defined if the GNU Pth is available */
-#undef HAVE_PTH
-
-/* Define to 1 if you have the `raise' function. */
-#define HAVE_RAISE 1
-
-/* Define to 1 if you have the `rand' function. */
-#define HAVE_RAND 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#undef HAVE_STPCPY
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#undef HAVE_STRCASECMP
-
-/* Define to 1 if you have the `strerror' function. */
-#define HAVE_STRERROR 1
-
-/* Define to 1 if you have the `stricmp' function. */
-#define HAVE_STRICMP 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strtoul' function. */
-#define HAVE_STRTOUL 1
-
-/* Define to 1 if you have the `sysconf' function. */
-#undef HAVE_SYSCONF
-
-/* Define to 1 if you have the `syslog' function. */
-#undef HAVE_SYSLOG
-
-/* Define to 1 if you have the <sys/capability.h> header file. */
-#undef HAVE_SYS_CAPABILITY_H
-
-/* Define to 1 if you have the <sys/mman.h> header file. */
-#undef HAVE_SYS_MMAN_H
-
-/* Define to 1 if you have the <sys/select.h> header file. */
-#undef HAVE_SYS_SELECT_H
-
-/* Define to 1 if you have the <sys/socket.h> header file. */
-#undef HAVE_SYS_SOCKET_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Defined if a `u16' is typedef'd */
-#undef HAVE_U16_TYPEDEF
-
-/* Defined if a `u32' is typedef'd */
-#undef HAVE_U32_TYPEDEF
-
-/* Define to 1 if the system has the type `uintptr_t'. */
-#undef HAVE_UINTPTR_T
-
-/* Defined if a `ulong' is typedef'd */
-#undef HAVE_ULONG_TYPEDEF
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Defined if a `ushort' is typedef'd */
-#undef HAVE_USHORT_TYPEDEF
-
-/* Define to 1 if you have the `vprintf' function. */
-#define HAVE_VPRINTF 1
-
-/* Defined if we run on a W32 API based system */
-#define HAVE_W32_SYSTEM
-
-/* Define to 1 if you have the `wait4' function. */
-#undef HAVE_WAIT4
-
-/* Define to 1 if you have the `waitpid' function. */
-#undef HAVE_WAITPID
-
-/* Define to 1 if you have the <winsock2.h> header file. */
-#define HAVE_WINSOCK2_H 1
-
-/* Define to 1 if you have the <ws2tcpip.h> header file. */
-#define HAVE_WS2TCPIP_H 1
-
-/* Defined if this is not a regular release */
-#undef IS_DEVELOPMENT_VERSION
-
-/* List of available cipher algorithms */
-#define LIBGCRYPT_CIPHERS "arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia"
-
-/* List of available digest algorithms */
-#define LIBGCRYPT_DIGESTS "dsa:elgamal:rsa:ecc"
-
-/* List of available public key cipher algorithms */
-#define LIBGCRYPT_PUBKEY_CIPHERS "crc:md4:md5:rmd160:sha1:sha256:sha512:tiger:whirlpool"
-
-/* Define to use the (obsolete) malloc guarding feature */
-#undef M_GUARD
-
-/* defined to the name of the strong random device */
-#undef NAME_OF_DEV_RANDOM
-
-/* defined to the name of the weaker random device */
-#undef NAME_OF_DEV_URANDOM
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-#undef NO_MINUS_C_MINUS_O
-
-/* Name of this package */
-#define PACKAGE "libgcrypt-1.4.6.vs"
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "libgcrypt-1.4.6 built with Visual Studio"
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* A human readable text with the name of the OS */
-#define PRINTABLE_OS_NAME "Win32"
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-#define RETSIGTYPE void
-
-/* The size of a `unsigned int', as computed by sizeof. */
-#define SIZEOF_UNSIGNED_INT 4
-
-/* The size of a `unsigned long', as computed by sizeof. */
-#define SIZEOF_UNSIGNED_LONG 4
-
-/* The size of a `unsigned long long', as computed by sizeof. */
-#undef SIZEOF_UNSIGNED_LONG_LONG
-
-/* The size of a `unsigned short', as computed by sizeof. */
-#define SIZEOF_UNSIGNED_SHORT 2
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Defined if this module should be included */
-#define USE_AES 1
-
-/* Defined if this module should be included */
-#define USE_ARCFOUR 1
-
-/* Defined if this module should be included */
-#define USE_BLOWFISH 1
-
-/* Defined if this module should be included */
-#undef USE_CAMELLIA
-
-/* define if capabilities should be used */
-#undef USE_CAPABILITIES
-
-/* Defined if this module should be included */
-#define USE_CAST5 1
-
-
-/* Defined if this module should be included */
-#define USE_CRC 1
-
-/* Defined if this module should be included */
-#define USE_DES 1
-
-/* Defined if this module should be included */
-#define USE_DSA 1
-
-/* Defined if this module should be included */
-#define USE_ECC 1
-
-/* Defined if this module should be included */
-#define USE_ELGAMAL 1
-
-/* Defined if this module should be included */
-#define USE_MD4 1
-
-/* Defined if this module should be included */
-#define USE_MD5 1
-
-/* set this to limit filenames to the 8.3 format */
-#undef USE_ONLY_8DOT3
-
-/* Defined if this module should be included */
-#define USE_RFC2268 1
-
-/* Defined if this module should be included */
-#define USE_RMD160 1
-
-/* Defined if the EGD based RNG should be used. */
-#undef USE_RNDEGD
-
-/* Defined if the /dev/random based RNG should be used. */
-#undef USE_RNDLINUX
-
-/* Defined if the default Unix RNG should be used. */
-#undef USE_RNDUNIX
-
-/* Defined if the Windows specific RNG should be used. */
-#define USE_RNDW32 1
-
-/* Defined if this module should be included */
-#define USE_RSA 1
-
-/* Defined if this module should be included */
-#define USE_SERPENT 1
-
-/* Defined if this module should be included */
-#define USE_SHA1 1
-
-/* Defined if this module should be included */
-#define USE_SHA256 1
-
-/* Defined if this module should be included */
-#define USE_SHA512 1
-
-/* Defined if this module should be included */
-#undef USE_TIGER
-
-/* Defined if this module should be included */
-#define USE_TWOFISH 1
-
-/* Version of this package */
-#define VERSION "1.2.2"
-
-/* Defined if compiled symbols have a leading underscore */
-#define WITH_SYMBOL_UNDERSCORE 1
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-#define LIBCRYPT_CIPHERS "arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia"
-#define LIBGCRYPT_PUBKEY_CIPHERS "dsa:elgamal:rsa:ecc"
-#define LIBCRYPT_DIGESTS "crc:md4:md5:rmd160:sha1:sha256:sha512:tiger:whirlpool"
-
-/* To allow the use of Libgcrypt in multithreaded programs we have to use
- special features from the library. */
-#ifndef _REENTRANT
-# define _REENTRANT 1
-#endif
-
-
-/* Define to empty if `const' does not conform to ANSI C. */
-#define const
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
- calls it, or to nothing if 'inline' is not supported under any name. */
-#ifndef __cplusplus
-#undef inline
-#endif
-
-/* Define to `unsigned' if <sys/types.h> does not define. */
-// #undef size_t
-
-/* Define to `int' if unavailable. */
-// #define socklen_t int
-
-// !s0rr0w!
-#define SIZEOF_UINT64_T 8
-#define UINT64_C(C) (C)
-typedef unsigned __int64 uint64_t;
-
-#define _GCRYPT_IN_LIBGCRYPT 1
-
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj index 66620fd4b1..c03da38809 100644 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj +++ b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj @@ -71,7 +71,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level3</WarningLevel>
<FloatingPointModel>Fast</FloatingPointModel>
@@ -81,7 +81,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN64;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level3</WarningLevel>
<FloatingPointModel>Fast</FloatingPointModel>
@@ -91,7 +91,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -102,7 +102,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN64;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -182,14 +182,14 @@ <ClCompile Include="random\random.c" />
<ClCompile Include="random\rndhw.c" />
<ClCompile Include="random\rndw32.c" />
- <ClCompile Include="libgpg-error-1.9\code-from-errno.c" />
- <ClCompile Include="libgpg-error-1.9\code-to-errno.c" />
- <ClCompile Include="libgpg-error-1.9\init.c" />
- <ClCompile Include="libgpg-error-1.9\mkerrcodes.c" />
- <ClCompile Include="libgpg-error-1.9\strerror-sym.c" />
- <ClCompile Include="libgpg-error-1.9\strerror.c" />
- <ClCompile Include="libgpg-error-1.9\strsource-sym.c" />
- <ClCompile Include="libgpg-error-1.9\strsource.c" />
+ <ClCompile Include="..\libgpg-error-1.9\code-from-errno.c" />
+ <ClCompile Include="..\libgpg-error-1.9\code-to-errno.c" />
+ <ClCompile Include="..\libgpg-error-1.9\init.c" />
+ <ClCompile Include="..\libgpg-error-1.9\mkerrcodes.c" />
+ <ClCompile Include="..\libgpg-error-1.9\strerror-sym.c" />
+ <ClCompile Include="..\libgpg-error-1.9\strerror.c" />
+ <ClCompile Include="..\libgpg-error-1.9\strsource-sym.c" />
+ <ClCompile Include="..\libgpg-error-1.9\strsource.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="cipher\bithelp.h" />
@@ -218,17 +218,17 @@ <ClInclude Include="custom\config.h" />
<ClInclude Include="random\rand-internal.h" />
<ClInclude Include="random\random.h" />
- <ClInclude Include="libgpg-error-1.9\code-from-errno.h" />
- <ClInclude Include="libgpg-error-1.9\code-to-errno.h" />
- <ClInclude Include="libgpg-error-1.9\err-codes-sym.h" />
- <ClInclude Include="libgpg-error-1.9\err-codes.h" />
- <ClInclude Include="libgpg-error-1.9\err-sources-sym.h" />
- <ClInclude Include="libgpg-error-1.9\err-sources.h" />
- <ClInclude Include="libgpg-error-1.9\errnos-sym.h" />
- <ClInclude Include="libgpg-error-1.9\gettext.h" />
- <ClInclude Include="libgpg-error-1.9\gpg-error.h" />
- <ClInclude Include="libgpg-error-1.9\init.h" />
- <ClInclude Include="libgpg-error-1.9\mkerrcodes.h" />
+ <ClInclude Include="..\libgpg-error-1.9\code-from-errno.h" />
+ <ClInclude Include="..\libgpg-error-1.9\code-to-errno.h" />
+ <ClInclude Include="..\libgpg-error-1.9\err-codes-sym.h" />
+ <ClInclude Include="..\libgpg-error-1.9\err-codes.h" />
+ <ClInclude Include="..\libgpg-error-1.9\err-sources-sym.h" />
+ <ClInclude Include="..\libgpg-error-1.9\err-sources.h" />
+ <ClInclude Include="..\libgpg-error-1.9\errnos-sym.h" />
+ <ClInclude Include="..\libgpg-error-1.9\gettext.h" />
+ <ClInclude Include="..\libgpg-error-1.9\gpg-error.h" />
+ <ClInclude Include="..\libgpg-error-1.9\init.h" />
+ <ClInclude Include="..\libgpg-error-1.9\mkerrcodes.h" />
</ItemGroup>
<ItemGroup>
<None Include="src\libgcrypt.def" />
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj.filters b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj.filters index 1e30f39c6f..6f8814d7af 100644 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj.filters +++ b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj.filters @@ -240,28 +240,28 @@ <ClCompile Include="random\rndw32.c">
<Filter>random</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\code-from-errno.c">
+ <ClCompile Include="..\libgpg-error-1.9\code-from-errno.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\code-to-errno.c">
+ <ClCompile Include="..\libgpg-error-1.9\code-to-errno.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\init.c">
+ <ClCompile Include="..\libgpg-error-1.9\init.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\mkerrcodes.c">
+ <ClCompile Include="..\libgpg-error-1.9\mkerrcodes.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\strerror-sym.c">
+ <ClCompile Include="..\libgpg-error-1.9\strerror-sym.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\strerror.c">
+ <ClCompile Include="..\libgpg-error-1.9\strerror.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\strsource-sym.c">
+ <ClCompile Include="..\libgpg-error-1.9\strsource-sym.c">
<Filter>error</Filter>
</ClCompile>
- <ClCompile Include="libgpg-error-1.9\strsource.c">
+ <ClCompile Include="..\libgpg-error-1.9\strsource.c">
<Filter>error</Filter>
</ClCompile>
</ItemGroup>
@@ -344,37 +344,37 @@ <ClInclude Include="random\random.h">
<Filter>random</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\code-from-errno.h">
+ <ClInclude Include="..\libgpg-error-1.9\code-from-errno.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\code-to-errno.h">
+ <ClInclude Include="..\libgpg-error-1.9\code-to-errno.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\err-codes-sym.h">
+ <ClInclude Include="..\libgpg-error-1.9\err-codes-sym.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\err-codes.h">
+ <ClInclude Include="..\libgpg-error-1.9\err-codes.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\err-sources-sym.h">
+ <ClInclude Include="..\libgpg-error-1.9\err-sources-sym.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\err-sources.h">
+ <ClInclude Include="..\libgpg-error-1.9\err-sources.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\errnos-sym.h">
+ <ClInclude Include="..\libgpg-error-1.9\errnos-sym.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\gettext.h">
+ <ClInclude Include="..\libgpg-error-1.9\gettext.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\gpg-error.h">
+ <ClInclude Include="..\libgpg-error-1.9\gpg-error.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\init.h">
+ <ClInclude Include="..\libgpg-error-1.9\init.h">
<Filter>error</Filter>
</ClInclude>
- <ClInclude Include="libgpg-error-1.9\mkerrcodes.h">
+ <ClInclude Include="..\libgpg-error-1.9\mkerrcodes.h">
<Filter>error</Filter>
</ClInclude>
</ItemGroup>
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile deleted file mode 100644 index 59def0682b..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile +++ /dev/null @@ -1,908 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# src/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# Makefile.am for libgpg-error. -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This file is part of libgpg-error. -# -# libgpg-error is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. -# -# libgpg-error is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# We distribute the generated sources err-sources.h and err-codes.h, -# because they are needed to build the po directory, and they don't -# depend on the configuration anyway. - - - - - - -pkgdatadir = $(datadir)/libgpg-error -pkglibdir = $(libdir)/libgpg-error -pkgincludedir = $(includedir)/libgpg-error -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = i686-pc-mingw32 -host_triplet = i686-pc-mingw32 -bin_PROGRAMS = gpg-error$(EXEEXT) -#libgpg_error_la_DEPENDENCIES = \ -# $(am__DEPENDENCIES_1) \ -# $(am__DEPENDENCIES_2) -subdir = src -DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/gpg-error-config.in \ - $(srcdir)/versioninfo.rc.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \ - $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \ - $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ - $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ - $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = gpg-error-config versioninfo.rc -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" \ - "$(DESTDIR)$(includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = versioninfo.lo -am__DEPENDENCIES_2 = -am__libgpg_error_la_SOURCES_DIST = gpg-error.h gettext.h w32-gettext.c \ - init.c init.h strsource.c strerror.c code-to-errno.c \ - code-from-errno.c -am__objects_1 = libgpg_error_la-w32-gettext.lo -am_libgpg_error_la_OBJECTS = $(am__objects_1) libgpg_error_la-init.lo \ - libgpg_error_la-strsource.lo libgpg_error_la-strerror.lo \ - libgpg_error_la-code-to-errno.lo \ - libgpg_error_la-code-from-errno.lo -libgpg_error_la_OBJECTS = $(am_libgpg_error_la_OBJECTS) -libgpg_error_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(libgpg_error_la_LDFLAGS) $(LDFLAGS) -o $@ -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(bin_PROGRAMS) -am_gpg_error_OBJECTS = gpg_error-strsource-sym.$(OBJEXT) \ - gpg_error-strerror-sym.$(OBJEXT) gpg_error-gpg-error.$(OBJEXT) -gpg_error_OBJECTS = $(am_gpg_error_OBJECTS) -gpg_error_DEPENDENCIES = ./libgpg-error.la -binSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I. -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libgpg_error_la_SOURCES) $(gpg_error_SOURCES) -DIST_SOURCES = $(am__libgpg_error_la_SOURCES_DIST) \ - $(gpg_error_SOURCES) -m4dataDATA_INSTALL = $(INSTALL_DATA) -DATA = $(m4data_DATA) -includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /z/missing --run aclocal-1.10 -AMTAR = ${SHELL} /z/missing --run tar -AR = ar -AS = as -AUTOCONF = ${SHELL} /z/missing --run autoconf -AUTOHEADER = ${SHELL} /z/missing --run autoheader -AUTOMAKE = ${SHELL} /z/missing --run automake-1.10 -AWK = gawk -BUILD_FILEVERSION = 1,9,0,2 -BUILD_TIMESTAMP = 2010-08-12T17:56+0000 -CC = gcc -CCDEPMODE = depmode=gcc3 -CC_FOR_BUILD = gcc -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -DLLTOOL = dlltool -DSYMUTIL = -DUMPBIN = -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = .exe -FGREP = /bin/grep -F -GMSGFMT = /bin/msgfmt -GMSGFMT_015 = : -GPG_ERROR_CONFIG_CFLAGS = -GPG_ERROR_CONFIG_ISUBDIRAFTER = -GPG_ERROR_CONFIG_LIBS = -lgpg-error -GREP = /bin/grep -INSTALL = /bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -INTLLIBS = -INTL_MACOSX_LIBS = -LD = C:/MinGW/mingw32/bin/ld.exe -LDFLAGS = -LIBGPG_ERROR_LT_AGE = 7 -LIBGPG_ERROR_LT_CURRENT = 7 -LIBGPG_ERROR_LT_REVISION = 0 -LIBICONV = -LIBINTL = -LIBOBJS = -LIBS = -LIBTOOL = $(SHELL) $(top_builddir)/libtool -LIPO = -LN_S = cp -p -LTLIBICONV = -LTLIBINTL = -LTLIBOBJS = -MAINT = # -MAKEINFO = ${SHELL} /z/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -MSGFMT = /bin/msgfmt -MSGFMT_015 = : -MSGMERGE = /bin/msgmerge -NM = /mingw/bin/nm -NMEDIT = -OBJDUMP = objdump -OBJEXT = o -OTOOL = -OTOOL64 = -PACKAGE = libgpg-error -PACKAGE_BUGREPORT = bug-gnupg@gnupg.org -PACKAGE_NAME = libgpg-error -PACKAGE_STRING = libgpg-error 1.9 -PACKAGE_TARNAME = libgpg-error -PACKAGE_URL = -PACKAGE_VERSION = 1.9 -PATH_SEPARATOR = : -POSUB = -RANLIB = ranlib -RC = windres -SED = /bin/sed -SET_MAKE = -SHELL = /bin/sh -STRIP = strip -USE_NLS = no -VERSION = 1.9 -XGETTEXT = : -XGETTEXT_015 = : -abs_builddir = /z/src -abs_srcdir = /z/src -abs_top_builddir = /z -abs_top_srcdir = /z -ac_ct_CC = gcc -ac_ct_DUMPBIN = -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build = i686-pc-mingw32 -build_alias = -build_cpu = i686 -build_os = mingw32 -build_vendor = pc -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host = i686-pc-mingw32 -host_alias = -host_cpu = i686 -host_os = mingw32 -host_vendor = pc -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = $(SHELL) /z/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = $(datadir)/locale -localstatedir = ${prefix}/var -lt_ECHO = echo -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = ../ -top_builddir = .. -top_srcdir = .. -gpg_extra_headers = -#gpg_extra_headers = gpg-extra/errno.h -extra_cppflags = -#extra_cppflags = -idirafter gpg-extra -lib_LTLIBRARIES = libgpg-error.la -include_HEADERS = gpg-error.h -bin_SCRIPTS = gpg-error-config -m4datadir = $(datadir)/aclocal -m4data_DATA = gpg-error.m4 -EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ - mkerrnos.awk errnos.in README \ - mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ - mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ - gpg-error.def.in versioninfo.rc.in - -BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \ - gpg-error.def extra-h.in mkw32errmap.map.c - -tmp_files = _mkerrcodes.h _gpg-error.def.h mkw32errmap.tab.h mkw32errmap.map.c -CLEANFILES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - gpg-error.h mkerrcodes mkerrcodes.h gpg-error.def mkw32errmap.tab.h \ - mkw32errmap.map.c err-sources-sym.h err-codes-sym.h errnos-sym.h \ - gpg-extra/errno.h extra-h.in $(tmp_files) - -#arch_sources = -arch_sources = w32-gettext.c -RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) $(CPPFLAGS) - -LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE) -SUFFIXES = .rc .lo -#gpg_error_res = -gpg_error_res = versioninfo.lo -#no_undefined = -no_undefined = -no-undefined -#export_symbols = -export_symbols = -export-symbols gpg-error.def -libgpg_error_la_DEPENDENCIES = $(gpg_error_res) gpg-error.def -#intllibs = -intllibs = -libgpg_error_la_LDFLAGS = -version-info \ - 7:0:7 \ - $(no_undefined) $(export_symbols) - -libgpg_error_la_SOURCES = gpg-error.h gettext.h $(arch_sources) \ - init.c init.h strsource.c strerror.c code-to-errno.c code-from-errno.c - - -# Note that RCCOMPILE needs the same defines as ..._la_CPPFLAGS but -# without the extra_cppflags because they may include am -idirafter -# which is not supported by the RC compiler. -libgpg_error_la_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -libgpg_error_la_LIBADD = $(gpg_error_res) $(intllibs) -gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c -gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -gpg_error_LDADD = ./libgpg-error.la -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .rc .lo .c .o .obj -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -gpg-error-config: $(top_builddir)/config.status $(srcdir)/gpg-error-config.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -versioninfo.rc: $(top_builddir)/config.status $(srcdir)/versioninfo.rc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libgpg-error.la: $(libgpg_error_la_OBJECTS) $(libgpg_error_la_DEPENDENCIES) - $(libgpg_error_la_LINK) -rpath $(libdir) $(libgpg_error_la_OBJECTS) $(libgpg_error_la_LIBADD) $(LIBS) -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -gpg-error$(EXEEXT): $(gpg_error_OBJECTS) $(gpg_error_DEPENDENCIES) - @rm -f gpg-error$(EXEEXT) - $(LINK) $(gpg_error_OBJECTS) $(gpg_error_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f $$d$$p; then \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ - else :; fi; \ - done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -include ./$(DEPDIR)/gpg_error-gpg-error.Po -include ./$(DEPDIR)/gpg_error-strerror-sym.Po -include ./$(DEPDIR)/gpg_error-strsource-sym.Po -include ./$(DEPDIR)/libgpg_error_la-code-from-errno.Plo -include ./$(DEPDIR)/libgpg_error_la-code-to-errno.Plo -include ./$(DEPDIR)/libgpg_error_la-init.Plo -include ./$(DEPDIR)/libgpg_error_la-strerror.Plo -include ./$(DEPDIR)/libgpg_error_la-strsource.Plo -include ./$(DEPDIR)/libgpg_error_la-w32-gettext.Plo - -.c.o: - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(COMPILE) -c $< - -.c.obj: - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: - $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -# source='$<' object='$@' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LTCOMPILE) -c -o $@ $< - -libgpg_error_la-w32-gettext.lo: w32-gettext.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-w32-gettext.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-w32-gettext.Tpo -c -o libgpg_error_la-w32-gettext.lo `test -f 'w32-gettext.c' || echo '$(srcdir)/'`w32-gettext.c - mv -f $(DEPDIR)/libgpg_error_la-w32-gettext.Tpo $(DEPDIR)/libgpg_error_la-w32-gettext.Plo -# source='w32-gettext.c' object='libgpg_error_la-w32-gettext.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-w32-gettext.lo `test -f 'w32-gettext.c' || echo '$(srcdir)/'`w32-gettext.c - -libgpg_error_la-init.lo: init.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-init.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-init.Tpo -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c - mv -f $(DEPDIR)/libgpg_error_la-init.Tpo $(DEPDIR)/libgpg_error_la-init.Plo -# source='init.c' object='libgpg_error_la-init.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c - -libgpg_error_la-strsource.lo: strsource.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-strsource.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-strsource.Tpo -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo '$(srcdir)/'`strsource.c - mv -f $(DEPDIR)/libgpg_error_la-strsource.Tpo $(DEPDIR)/libgpg_error_la-strsource.Plo -# source='strsource.c' object='libgpg_error_la-strsource.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo '$(srcdir)/'`strsource.c - -libgpg_error_la-strerror.lo: strerror.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-strerror.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-strerror.Tpo -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo '$(srcdir)/'`strerror.c - mv -f $(DEPDIR)/libgpg_error_la-strerror.Tpo $(DEPDIR)/libgpg_error_la-strerror.Plo -# source='strerror.c' object='libgpg_error_la-strerror.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo '$(srcdir)/'`strerror.c - -libgpg_error_la-code-to-errno.lo: code-to-errno.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-code-to-errno.Tpo -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo '$(srcdir)/'`code-to-errno.c - mv -f $(DEPDIR)/libgpg_error_la-code-to-errno.Tpo $(DEPDIR)/libgpg_error_la-code-to-errno.Plo -# source='code-to-errno.c' object='libgpg_error_la-code-to-errno.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo '$(srcdir)/'`code-to-errno.c - -libgpg_error_la-code-from-errno.lo: code-from-errno.c - $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-code-from-errno.Tpo -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo '$(srcdir)/'`code-from-errno.c - mv -f $(DEPDIR)/libgpg_error_la-code-from-errno.Tpo $(DEPDIR)/libgpg_error_la-code-from-errno.Plo -# source='code-from-errno.c' object='libgpg_error_la-code-from-errno.lo' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo '$(srcdir)/'`code-from-errno.c - -gpg_error-strsource-sym.o: strsource-sym.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strsource-sym.o -MD -MP -MF $(DEPDIR)/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo '$(srcdir)/'`strsource-sym.c - mv -f $(DEPDIR)/gpg_error-strsource-sym.Tpo $(DEPDIR)/gpg_error-strsource-sym.Po -# source='strsource-sym.c' object='gpg_error-strsource-sym.o' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo '$(srcdir)/'`strsource-sym.c - -gpg_error-strsource-sym.obj: strsource-sym.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strsource-sym.obj -MD -MP -MF $(DEPDIR)/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.obj `if test -f 'strsource-sym.c'; then $(CYGPATH_W) 'strsource-sym.c'; else $(CYGPATH_W) '$(srcdir)/strsource-sym.c'; fi` - mv -f $(DEPDIR)/gpg_error-strsource-sym.Tpo $(DEPDIR)/gpg_error-strsource-sym.Po -# source='strsource-sym.c' object='gpg_error-strsource-sym.obj' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strsource-sym.obj `if test -f 'strsource-sym.c'; then $(CYGPATH_W) 'strsource-sym.c'; else $(CYGPATH_W) '$(srcdir)/strsource-sym.c'; fi` - -gpg_error-strerror-sym.o: strerror-sym.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strerror-sym.o -MD -MP -MF $(DEPDIR)/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo '$(srcdir)/'`strerror-sym.c - mv -f $(DEPDIR)/gpg_error-strerror-sym.Tpo $(DEPDIR)/gpg_error-strerror-sym.Po -# source='strerror-sym.c' object='gpg_error-strerror-sym.o' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo '$(srcdir)/'`strerror-sym.c - -gpg_error-strerror-sym.obj: strerror-sym.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strerror-sym.obj -MD -MP -MF $(DEPDIR)/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.obj `if test -f 'strerror-sym.c'; then $(CYGPATH_W) 'strerror-sym.c'; else $(CYGPATH_W) '$(srcdir)/strerror-sym.c'; fi` - mv -f $(DEPDIR)/gpg_error-strerror-sym.Tpo $(DEPDIR)/gpg_error-strerror-sym.Po -# source='strerror-sym.c' object='gpg_error-strerror-sym.obj' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strerror-sym.obj `if test -f 'strerror-sym.c'; then $(CYGPATH_W) 'strerror-sym.c'; else $(CYGPATH_W) '$(srcdir)/strerror-sym.c'; fi` - -gpg_error-gpg-error.o: gpg-error.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-gpg-error.o -MD -MP -MF $(DEPDIR)/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo '$(srcdir)/'`gpg-error.c - mv -f $(DEPDIR)/gpg_error-gpg-error.Tpo $(DEPDIR)/gpg_error-gpg-error.Po -# source='gpg-error.c' object='gpg_error-gpg-error.o' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo '$(srcdir)/'`gpg-error.c - -gpg_error-gpg-error.obj: gpg-error.c - $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-gpg-error.obj -MD -MP -MF $(DEPDIR)/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.obj `if test -f 'gpg-error.c'; then $(CYGPATH_W) 'gpg-error.c'; else $(CYGPATH_W) '$(srcdir)/gpg-error.c'; fi` - mv -f $(DEPDIR)/gpg_error-gpg-error.Tpo $(DEPDIR)/gpg_error-gpg-error.Po -# source='gpg-error.c' object='gpg_error-gpg-error.obj' libtool=no \ -# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-gpg-error.obj `if test -f 'gpg-error.c'; then $(CYGPATH_W) 'gpg-error.c'; else $(CYGPATH_W) '$(srcdir)/gpg-error.c'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-m4dataDATA: $(m4data_DATA) - @$(NORMAL_INSTALL) - test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)" - @list='$(m4data_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(m4dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(m4datadir)/$$f'"; \ - $(m4dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(m4datadir)/$$f"; \ - done - -uninstall-m4dataDATA: - @$(NORMAL_UNINSTALL) - @list='$(m4data_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(m4datadir)/$$f'"; \ - rm -f "$(DESTDIR)$(m4datadir)/$$f"; \ - done -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ - $(HEADERS) -install-binPROGRAMS: install-libLTLIBRARIES - -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-data-local install-includeHEADERS \ - install-m4dataDATA - -install-dvi: install-dvi-am - -install-exec-am: install-binPROGRAMS install-binSCRIPTS \ - install-libLTLIBRARIES - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-m4dataDATA - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic clean-libLTLIBRARIES clean-libtool ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-binSCRIPTS install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLTLIBRARIES install-m4dataDATA install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-m4dataDATA - - -.rc.lo: - $(LTRCCOMPILE) -i "$<" -o "$@" - -install-def-file: gpg-error.def - $(INSTALL) gpg-error.def $(DESTDIR)$(libdir)/gpg-error.def - -uninstall-def-file: - -rm $(DESTDIR)$(libdir)/gpg-error.def -#install-def-file: -#uninstall-def-file: - -err-sources.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-sources.h.in >$@ - -err-sources-sym.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-sources.h.in >$@ - -err-codes.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-codes.h.in >$@ - -err-codes-sym.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-codes.h.in >$@ - -code-to-errno.h: Makefile mkerrnos.awk errnos.in - $(AWK) -f $(srcdir)/mkerrnos.awk $(srcdir)/errnos.in >$@ - -# It is correct to use $(CPP). We want the host's idea of the error codes. -mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers) - $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@ - $(CPP) $(extra_cppflags) _$@ | grep GPG_ERR_ | \ - $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ - -rm _$@ - -# It is correct to use $(CPP). We want the host's idea of the error codes. -#mkw32errmap.tab.h: Makefile mkw32errmap.c -# $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ -# grep '{&mkw32errmap_marker' >$@ -#mkw32errmap.map.c: mkw32errmap -# ./mkw32errmap --map > $@ -#gpg-extra/errno.h: mkw32errmap -# -$(MKDIR_P) gpg-extra -# ./mkw32errmap > $@ -mkw32errmap.map.c: - echo "/*dummy*/" > $@ - -# We use CC proper for preprocessing thus we have to convince it that -# the data is really to be preprocessed. -gpg-error.def: Makefile gpg-error.def.in - cat $(srcdir)/gpg-error.def.in >_$@.h - $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ - grep -v '^#' >$@ - -rm _$@.h - -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c - -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -#mkw32errmap: mkw32errmap.c mkw32errmap.tab.h Makefile -# $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c - -code-from-errno.h: mkerrcodes Makefile - ./mkerrcodes | $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ - -errnos-sym.h: Makefile mkstrtable.awk errnos.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - -v prefix=GPG_ERR_ -v namespace=errnos_ \ - $(srcdir)/errnos.in >$@ - -extra-h.in: Makefile w32-add.h w32ce-add.h - -rm extra-h.in - cat $(srcdir)/w32-add.h >>extra-h.in -# cat $(srcdir)/w32ce-add.h >>extra-h.in - echo EOF >>extra-h.in - -gpg-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in \ - errnos.in extra-h.in gpg-error.h.in - $(AWK) -f $(srcdir)/mkheader.awk \ - $(srcdir)/err-sources.h.in \ - $(srcdir)/err-codes.h.in \ - $(srcdir)/errnos.in \ - extra-h.in \ - $(srcdir)/gpg-error.h.in > $@ - -install-data-local: -# -$(MKDIR_P) "$(DESTDIR)$(includedir)/gpg-extra" -# $(INSTALL_DATA) gpg-extra/errno.h \ -# "$(DESTDIR)$(includedir)/gpg-extra/errno.h" - : -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.am b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.am deleted file mode 100644 index 2295758de4..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.am +++ /dev/null @@ -1,210 +0,0 @@ -# Makefile.am for libgpg-error. -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This file is part of libgpg-error. -# -# libgpg-error is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. -# -# libgpg-error is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# We distribute the generated sources err-sources.h and err-codes.h, -# because they are needed to build the po directory, and they don't -# depend on the configuration anyway. - - -if HAVE_W32CE_SYSTEM -gpg_extra_headers = gpg-extra/errno.h -extra_cppflags = -idirafter gpg-extra -else -gpg_extra_headers = -extra_cppflags = -endif - -localedir = $(datadir)/locale -bin_PROGRAMS = gpg-error -lib_LTLIBRARIES = libgpg-error.la -include_HEADERS = gpg-error.h -bin_SCRIPTS = gpg-error-config -m4datadir = $(datadir)/aclocal -m4data_DATA = gpg-error.m4 - -EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ - mkerrnos.awk errnos.in README \ - mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ - mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ - gpg-error.def.in versioninfo.rc.in - -BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \ - gpg-error.def extra-h.in mkw32errmap.map.c - -tmp_files = _mkerrcodes.h _gpg-error.def.h mkw32errmap.tab.h mkw32errmap.map.c - -CLEANFILES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - gpg-error.h mkerrcodes mkerrcodes.h gpg-error.def mkw32errmap.tab.h \ - mkw32errmap.map.c err-sources-sym.h err-codes-sym.h errnos-sym.h \ - gpg-extra/errno.h extra-h.in $(tmp_files) - -if HAVE_W32_SYSTEM -arch_sources = w32-gettext.c - -RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) $(CPPFLAGS) -LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE) - -SUFFIXES = .rc .lo - -.rc.lo: - $(LTRCCOMPILE) -i "$<" -o "$@" - -gpg_error_res = versioninfo.lo -no_undefined = -no-undefined -export_symbols = -export-symbols gpg-error.def - -install-def-file: gpg-error.def - $(INSTALL) gpg-error.def $(DESTDIR)$(libdir)/gpg-error.def - -uninstall-def-file: - -rm $(DESTDIR)$(libdir)/gpg-error.def - -libgpg_error_la_DEPENDENCIES = $(gpg_error_res) gpg-error.def -intllibs = - -else -arch_sources = -gpg_error_res = -no_undefined = -export_symbols = -install-def-file: -uninstall-def-file: - -intllibs = @LTLIBINTL@ - -endif - - -libgpg_error_la_LDFLAGS = -version-info \ - @LIBGPG_ERROR_LT_CURRENT@:@LIBGPG_ERROR_LT_REVISION@:@LIBGPG_ERROR_LT_AGE@ \ - $(no_undefined) $(export_symbols) - -libgpg_error_la_SOURCES = gpg-error.h gettext.h $(arch_sources) \ - init.c init.h strsource.c strerror.c code-to-errno.c code-from-errno.c - -# Note that RCCOMPILE needs the same defines as ..._la_CPPFLAGS but -# without the extra_cppflags because they may include am -idirafter -# which is not supported by the RC compiler. -libgpg_error_la_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -libgpg_error_la_LIBADD = $(gpg_error_res) $(intllibs) - -gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c -gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -gpg_error_LDADD = ./libgpg-error.la @LTLIBINTL@ - -err-sources.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-sources.h.in >$@ - -err-sources-sym.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-sources.h.in >$@ - -err-codes.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-codes.h.in >$@ - -err-codes-sym.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-codes.h.in >$@ - -code-to-errno.h: Makefile mkerrnos.awk errnos.in - $(AWK) -f $(srcdir)/mkerrnos.awk $(srcdir)/errnos.in >$@ - -# It is correct to use $(CPP). We want the host's idea of the error codes. -mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers) - $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@ - $(CPP) $(extra_cppflags) _$@ | grep GPG_ERR_ | \ - $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ - -rm _$@ - -if HAVE_W32CE_SYSTEM -# It is correct to use $(CPP). We want the host's idea of the error codes. -mkw32errmap.tab.h: Makefile mkw32errmap.c - $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ - grep '{&mkw32errmap_marker' >$@ -mkw32errmap.map.c: mkw32errmap - ./mkw32errmap --map > $@ -gpg-extra/errno.h: mkw32errmap - -$(MKDIR_P) gpg-extra - ./mkw32errmap > $@ -else -mkw32errmap.map.c: - echo "/*dummy*/" > $@ -endif - -# We use CC proper for preprocessing thus we have to convince it that -# the data is really to be preprocessed. -gpg-error.def: Makefile gpg-error.def.in - cat $(srcdir)/gpg-error.def.in >_$@.h - $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ - grep -v '^#' >$@ - -rm _$@.h - -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c - -if HAVE_W32CE_SYSTEM -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -mkw32errmap: mkw32errmap.c mkw32errmap.tab.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c -endif - -code-from-errno.h: mkerrcodes Makefile - ./mkerrcodes | $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ - -errnos-sym.h: Makefile mkstrtable.awk errnos.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - -v prefix=GPG_ERR_ -v namespace=errnos_ \ - $(srcdir)/errnos.in >$@ - -extra-h.in: Makefile w32-add.h w32ce-add.h - -rm extra-h.in -if HAVE_W32_SYSTEM - cat $(srcdir)/w32-add.h >>extra-h.in -endif -if HAVE_W32CE_SYSTEM - cat $(srcdir)/w32ce-add.h >>extra-h.in -endif - echo EOF >>extra-h.in - -gpg-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in \ - errnos.in extra-h.in gpg-error.h.in - $(AWK) -f $(srcdir)/mkheader.awk \ - $(srcdir)/err-sources.h.in \ - $(srcdir)/err-codes.h.in \ - $(srcdir)/errnos.in \ - extra-h.in \ - $(srcdir)/gpg-error.h.in > $@ - - -install-data-local: -if HAVE_W32CE_SYSTEM - -$(MKDIR_P) "$(DESTDIR)$(includedir)/gpg-extra" - $(INSTALL_DATA) gpg-extra/errno.h \ - "$(DESTDIR)$(includedir)/gpg-extra/errno.h" -else - : -endif diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.in deleted file mode 100644 index a66bf0781e..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/Makefile.in +++ /dev/null @@ -1,908 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Makefile.am for libgpg-error. -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This file is part of libgpg-error. -# -# libgpg-error is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. -# -# libgpg-error is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# We distribute the generated sources err-sources.h and err-codes.h, -# because they are needed to build the po directory, and they don't -# depend on the configuration anyway. - - - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -bin_PROGRAMS = gpg-error$(EXEEXT) -@HAVE_W32_SYSTEM_FALSE@libgpg_error_la_DEPENDENCIES = \ -@HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1) \ -@HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_2) -subdir = src -DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/gpg-error-config.in \ - $(srcdir)/versioninfo.rc.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \ - $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \ - $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ - $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ - $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = gpg-error-config versioninfo.rc -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" \ - "$(DESTDIR)$(includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -@HAVE_W32_SYSTEM_TRUE@am__DEPENDENCIES_1 = versioninfo.lo -am__DEPENDENCIES_2 = -am__libgpg_error_la_SOURCES_DIST = gpg-error.h gettext.h w32-gettext.c \ - init.c init.h strsource.c strerror.c code-to-errno.c \ - code-from-errno.c -@HAVE_W32_SYSTEM_TRUE@am__objects_1 = libgpg_error_la-w32-gettext.lo -am_libgpg_error_la_OBJECTS = $(am__objects_1) libgpg_error_la-init.lo \ - libgpg_error_la-strsource.lo libgpg_error_la-strerror.lo \ - libgpg_error_la-code-to-errno.lo \ - libgpg_error_la-code-from-errno.lo -libgpg_error_la_OBJECTS = $(am_libgpg_error_la_OBJECTS) -libgpg_error_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(libgpg_error_la_LDFLAGS) $(LDFLAGS) -o $@ -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(bin_PROGRAMS) -am_gpg_error_OBJECTS = gpg_error-strsource-sym.$(OBJEXT) \ - gpg_error-strerror-sym.$(OBJEXT) gpg_error-gpg-error.$(OBJEXT) -gpg_error_OBJECTS = $(am_gpg_error_OBJECTS) -gpg_error_DEPENDENCIES = ./libgpg-error.la -binSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libgpg_error_la_SOURCES) $(gpg_error_SOURCES) -DIST_SOURCES = $(am__libgpg_error_la_SOURCES_DIST) \ - $(gpg_error_SOURCES) -m4dataDATA_INSTALL = $(INSTALL_DATA) -DATA = $(m4data_DATA) -includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_FILEVERSION = @BUILD_FILEVERSION@ -BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CC_FOR_BUILD = @CC_FOR_BUILD@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GPG_ERROR_CONFIG_CFLAGS = @GPG_ERROR_CONFIG_CFLAGS@ -GPG_ERROR_CONFIG_ISUBDIRAFTER = @GPG_ERROR_CONFIG_ISUBDIRAFTER@ -GPG_ERROR_CONFIG_LIBS = @GPG_ERROR_CONFIG_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBGPG_ERROR_LT_AGE = @LIBGPG_ERROR_LT_AGE@ -LIBGPG_ERROR_LT_CURRENT = @LIBGPG_ERROR_LT_CURRENT@ -LIBGPG_ERROR_LT_REVISION = @LIBGPG_ERROR_LT_REVISION@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MSGFMT = @MSGFMT@ -MSGFMT_015 = @MSGFMT_015@ -MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -POSUB = @POSUB@ -RANLIB = @RANLIB@ -RC = @RC@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = $(datadir)/locale -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -@HAVE_W32CE_SYSTEM_FALSE@gpg_extra_headers = -@HAVE_W32CE_SYSTEM_TRUE@gpg_extra_headers = gpg-extra/errno.h -@HAVE_W32CE_SYSTEM_FALSE@extra_cppflags = -@HAVE_W32CE_SYSTEM_TRUE@extra_cppflags = -idirafter gpg-extra -lib_LTLIBRARIES = libgpg-error.la -include_HEADERS = gpg-error.h -bin_SCRIPTS = gpg-error-config -m4datadir = $(datadir)/aclocal -m4data_DATA = gpg-error.m4 -EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ - mkerrnos.awk errnos.in README \ - mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ - mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ - gpg-error.def.in versioninfo.rc.in - -BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \ - gpg-error.def extra-h.in mkw32errmap.map.c - -tmp_files = _mkerrcodes.h _gpg-error.def.h mkw32errmap.tab.h mkw32errmap.map.c -CLEANFILES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ - gpg-error.h mkerrcodes mkerrcodes.h gpg-error.def mkw32errmap.tab.h \ - mkw32errmap.map.c err-sources-sym.h err-codes-sym.h errnos-sym.h \ - gpg-extra/errno.h extra-h.in $(tmp_files) - -@HAVE_W32_SYSTEM_FALSE@arch_sources = -@HAVE_W32_SYSTEM_TRUE@arch_sources = w32-gettext.c -@HAVE_W32_SYSTEM_TRUE@RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -@HAVE_W32_SYSTEM_TRUE@ -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) $(CPPFLAGS) - -@HAVE_W32_SYSTEM_TRUE@LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE) -@HAVE_W32_SYSTEM_TRUE@SUFFIXES = .rc .lo -@HAVE_W32_SYSTEM_FALSE@gpg_error_res = -@HAVE_W32_SYSTEM_TRUE@gpg_error_res = versioninfo.lo -@HAVE_W32_SYSTEM_FALSE@no_undefined = -@HAVE_W32_SYSTEM_TRUE@no_undefined = -no-undefined -@HAVE_W32_SYSTEM_FALSE@export_symbols = -@HAVE_W32_SYSTEM_TRUE@export_symbols = -export-symbols gpg-error.def -@HAVE_W32_SYSTEM_TRUE@libgpg_error_la_DEPENDENCIES = $(gpg_error_res) gpg-error.def -@HAVE_W32_SYSTEM_FALSE@intllibs = @LTLIBINTL@ -@HAVE_W32_SYSTEM_TRUE@intllibs = -libgpg_error_la_LDFLAGS = -version-info \ - @LIBGPG_ERROR_LT_CURRENT@:@LIBGPG_ERROR_LT_REVISION@:@LIBGPG_ERROR_LT_AGE@ \ - $(no_undefined) $(export_symbols) - -libgpg_error_la_SOURCES = gpg-error.h gettext.h $(arch_sources) \ - init.c init.h strsource.c strerror.c code-to-errno.c code-from-errno.c - - -# Note that RCCOMPILE needs the same defines as ..._la_CPPFLAGS but -# without the extra_cppflags because they may include am -idirafter -# which is not supported by the RC compiler. -libgpg_error_la_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -libgpg_error_la_LIBADD = $(gpg_error_res) $(intllibs) -gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c -gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) -gpg_error_LDADD = ./libgpg-error.la @LTLIBINTL@ -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .rc .lo .c .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -gpg-error-config: $(top_builddir)/config.status $(srcdir)/gpg-error-config.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -versioninfo.rc: $(top_builddir)/config.status $(srcdir)/versioninfo.rc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libgpg-error.la: $(libgpg_error_la_OBJECTS) $(libgpg_error_la_DEPENDENCIES) - $(libgpg_error_la_LINK) -rpath $(libdir) $(libgpg_error_la_OBJECTS) $(libgpg_error_la_LIBADD) $(LIBS) -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -gpg-error$(EXEEXT): $(gpg_error_OBJECTS) $(gpg_error_DEPENDENCIES) - @rm -f gpg-error$(EXEEXT) - $(LINK) $(gpg_error_OBJECTS) $(gpg_error_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f $$d$$p; then \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ - else :; fi; \ - done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpg_error-gpg-error.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpg_error-strerror-sym.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpg_error-strsource-sym.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-code-from-errno.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-code-to-errno.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-strerror.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-strsource.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgpg_error_la-w32-gettext.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -libgpg_error_la-w32-gettext.lo: w32-gettext.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-w32-gettext.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-w32-gettext.Tpo -c -o libgpg_error_la-w32-gettext.lo `test -f 'w32-gettext.c' || echo '$(srcdir)/'`w32-gettext.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-w32-gettext.Tpo $(DEPDIR)/libgpg_error_la-w32-gettext.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='w32-gettext.c' object='libgpg_error_la-w32-gettext.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-w32-gettext.lo `test -f 'w32-gettext.c' || echo '$(srcdir)/'`w32-gettext.c - -libgpg_error_la-init.lo: init.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-init.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-init.Tpo -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-init.Tpo $(DEPDIR)/libgpg_error_la-init.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='init.c' object='libgpg_error_la-init.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c - -libgpg_error_la-strsource.lo: strsource.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-strsource.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-strsource.Tpo -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo '$(srcdir)/'`strsource.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-strsource.Tpo $(DEPDIR)/libgpg_error_la-strsource.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strsource.c' object='libgpg_error_la-strsource.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo '$(srcdir)/'`strsource.c - -libgpg_error_la-strerror.lo: strerror.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-strerror.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-strerror.Tpo -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo '$(srcdir)/'`strerror.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-strerror.Tpo $(DEPDIR)/libgpg_error_la-strerror.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strerror.c' object='libgpg_error_la-strerror.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo '$(srcdir)/'`strerror.c - -libgpg_error_la-code-to-errno.lo: code-to-errno.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-code-to-errno.Tpo -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo '$(srcdir)/'`code-to-errno.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-code-to-errno.Tpo $(DEPDIR)/libgpg_error_la-code-to-errno.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='code-to-errno.c' object='libgpg_error_la-code-to-errno.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo '$(srcdir)/'`code-to-errno.c - -libgpg_error_la-code-from-errno.lo: code-from-errno.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF $(DEPDIR)/libgpg_error_la-code-from-errno.Tpo -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo '$(srcdir)/'`code-from-errno.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgpg_error_la-code-from-errno.Tpo $(DEPDIR)/libgpg_error_la-code-from-errno.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='code-from-errno.c' object='libgpg_error_la-code-from-errno.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgpg_error_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo '$(srcdir)/'`code-from-errno.c - -gpg_error-strsource-sym.o: strsource-sym.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strsource-sym.o -MD -MP -MF $(DEPDIR)/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo '$(srcdir)/'`strsource-sym.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-strsource-sym.Tpo $(DEPDIR)/gpg_error-strsource-sym.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strsource-sym.c' object='gpg_error-strsource-sym.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo '$(srcdir)/'`strsource-sym.c - -gpg_error-strsource-sym.obj: strsource-sym.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strsource-sym.obj -MD -MP -MF $(DEPDIR)/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.obj `if test -f 'strsource-sym.c'; then $(CYGPATH_W) 'strsource-sym.c'; else $(CYGPATH_W) '$(srcdir)/strsource-sym.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-strsource-sym.Tpo $(DEPDIR)/gpg_error-strsource-sym.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strsource-sym.c' object='gpg_error-strsource-sym.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strsource-sym.obj `if test -f 'strsource-sym.c'; then $(CYGPATH_W) 'strsource-sym.c'; else $(CYGPATH_W) '$(srcdir)/strsource-sym.c'; fi` - -gpg_error-strerror-sym.o: strerror-sym.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strerror-sym.o -MD -MP -MF $(DEPDIR)/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo '$(srcdir)/'`strerror-sym.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-strerror-sym.Tpo $(DEPDIR)/gpg_error-strerror-sym.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strerror-sym.c' object='gpg_error-strerror-sym.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo '$(srcdir)/'`strerror-sym.c - -gpg_error-strerror-sym.obj: strerror-sym.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-strerror-sym.obj -MD -MP -MF $(DEPDIR)/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.obj `if test -f 'strerror-sym.c'; then $(CYGPATH_W) 'strerror-sym.c'; else $(CYGPATH_W) '$(srcdir)/strerror-sym.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-strerror-sym.Tpo $(DEPDIR)/gpg_error-strerror-sym.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strerror-sym.c' object='gpg_error-strerror-sym.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-strerror-sym.obj `if test -f 'strerror-sym.c'; then $(CYGPATH_W) 'strerror-sym.c'; else $(CYGPATH_W) '$(srcdir)/strerror-sym.c'; fi` - -gpg_error-gpg-error.o: gpg-error.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-gpg-error.o -MD -MP -MF $(DEPDIR)/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo '$(srcdir)/'`gpg-error.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-gpg-error.Tpo $(DEPDIR)/gpg_error-gpg-error.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gpg-error.c' object='gpg_error-gpg-error.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo '$(srcdir)/'`gpg-error.c - -gpg_error-gpg-error.obj: gpg-error.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gpg_error-gpg-error.obj -MD -MP -MF $(DEPDIR)/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.obj `if test -f 'gpg-error.c'; then $(CYGPATH_W) 'gpg-error.c'; else $(CYGPATH_W) '$(srcdir)/gpg-error.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gpg_error-gpg-error.Tpo $(DEPDIR)/gpg_error-gpg-error.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gpg-error.c' object='gpg_error-gpg-error.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gpg_error_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gpg_error-gpg-error.obj `if test -f 'gpg-error.c'; then $(CYGPATH_W) 'gpg-error.c'; else $(CYGPATH_W) '$(srcdir)/gpg-error.c'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-m4dataDATA: $(m4data_DATA) - @$(NORMAL_INSTALL) - test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)" - @list='$(m4data_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(m4dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(m4datadir)/$$f'"; \ - $(m4dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(m4datadir)/$$f"; \ - done - -uninstall-m4dataDATA: - @$(NORMAL_UNINSTALL) - @list='$(m4data_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(m4datadir)/$$f'"; \ - rm -f "$(DESTDIR)$(m4datadir)/$$f"; \ - done -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ - $(HEADERS) -install-binPROGRAMS: install-libLTLIBRARIES - -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-data-local install-includeHEADERS \ - install-m4dataDATA - -install-dvi: install-dvi-am - -install-exec-am: install-binPROGRAMS install-binSCRIPTS \ - install-libLTLIBRARIES - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-m4dataDATA - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic clean-libLTLIBRARIES clean-libtool ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-binSCRIPTS install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLTLIBRARIES install-m4dataDATA install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-m4dataDATA - - -@HAVE_W32_SYSTEM_TRUE@.rc.lo: -@HAVE_W32_SYSTEM_TRUE@ $(LTRCCOMPILE) -i "$<" -o "$@" - -@HAVE_W32_SYSTEM_TRUE@install-def-file: gpg-error.def -@HAVE_W32_SYSTEM_TRUE@ $(INSTALL) gpg-error.def $(DESTDIR)$(libdir)/gpg-error.def - -@HAVE_W32_SYSTEM_TRUE@uninstall-def-file: -@HAVE_W32_SYSTEM_TRUE@ -rm $(DESTDIR)$(libdir)/gpg-error.def -@HAVE_W32_SYSTEM_FALSE@install-def-file: -@HAVE_W32_SYSTEM_FALSE@uninstall-def-file: - -err-sources.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-sources.h.in >$@ - -err-sources-sym.h: Makefile mkstrtable.awk err-sources.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-sources.h.in >$@ - -err-codes.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ - $(srcdir)/err-codes.h.in >$@ - -err-codes-sym.h: Makefile mkstrtable.awk err-codes.h.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - $(srcdir)/err-codes.h.in >$@ - -code-to-errno.h: Makefile mkerrnos.awk errnos.in - $(AWK) -f $(srcdir)/mkerrnos.awk $(srcdir)/errnos.in >$@ - -# It is correct to use $(CPP). We want the host's idea of the error codes. -mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers) - $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@ - $(CPP) $(extra_cppflags) _$@ | grep GPG_ERR_ | \ - $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ - -rm _$@ - -# It is correct to use $(CPP). We want the host's idea of the error codes. -@HAVE_W32CE_SYSTEM_TRUE@mkw32errmap.tab.h: Makefile mkw32errmap.c -@HAVE_W32CE_SYSTEM_TRUE@ $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ -@HAVE_W32CE_SYSTEM_TRUE@ grep '{&mkw32errmap_marker' >$@ -@HAVE_W32CE_SYSTEM_TRUE@mkw32errmap.map.c: mkw32errmap -@HAVE_W32CE_SYSTEM_TRUE@ ./mkw32errmap --map > $@ -@HAVE_W32CE_SYSTEM_TRUE@gpg-extra/errno.h: mkw32errmap -@HAVE_W32CE_SYSTEM_TRUE@ -$(MKDIR_P) gpg-extra -@HAVE_W32CE_SYSTEM_TRUE@ ./mkw32errmap > $@ -@HAVE_W32CE_SYSTEM_FALSE@mkw32errmap.map.c: -@HAVE_W32CE_SYSTEM_FALSE@ echo "/*dummy*/" > $@ - -# We use CC proper for preprocessing thus we have to convince it that -# the data is really to be preprocessed. -gpg-error.def: Makefile gpg-error.def.in - cat $(srcdir)/gpg-error.def.in >_$@.h - $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ - grep -v '^#' >$@ - -rm _$@.h - -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c - -# It is correct to use $(CC_FOR_BUILD) here. We want to run the -# program at build time. -@HAVE_W32CE_SYSTEM_TRUE@mkw32errmap: mkw32errmap.c mkw32errmap.tab.h Makefile -@HAVE_W32CE_SYSTEM_TRUE@ $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c - -code-from-errno.h: mkerrcodes Makefile - ./mkerrcodes | $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ - -errnos-sym.h: Makefile mkstrtable.awk errnos.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ - -v prefix=GPG_ERR_ -v namespace=errnos_ \ - $(srcdir)/errnos.in >$@ - -extra-h.in: Makefile w32-add.h w32ce-add.h - -rm extra-h.in -@HAVE_W32_SYSTEM_TRUE@ cat $(srcdir)/w32-add.h >>extra-h.in -@HAVE_W32CE_SYSTEM_TRUE@ cat $(srcdir)/w32ce-add.h >>extra-h.in - echo EOF >>extra-h.in - -gpg-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in \ - errnos.in extra-h.in gpg-error.h.in - $(AWK) -f $(srcdir)/mkheader.awk \ - $(srcdir)/err-sources.h.in \ - $(srcdir)/err-codes.h.in \ - $(srcdir)/errnos.in \ - extra-h.in \ - $(srcdir)/gpg-error.h.in > $@ - -install-data-local: -@HAVE_W32CE_SYSTEM_TRUE@ -$(MKDIR_P) "$(DESTDIR)$(includedir)/gpg-extra" -@HAVE_W32CE_SYSTEM_TRUE@ $(INSTALL_DATA) gpg-extra/errno.h \ -@HAVE_W32CE_SYSTEM_TRUE@ "$(DESTDIR)$(includedir)/gpg-extra/errno.h" -@HAVE_W32CE_SYSTEM_FALSE@ : -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/README b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/README deleted file mode 100644 index c415983598..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/README +++ /dev/null @@ -1,47 +0,0 @@ -Notes on the source code -======================== - -The mechanism to generate the system error codes is delicate and -fragile, but it's the best I could come up with that supports -cross-compilation and dynamic self-configuration. Here is how it -works: - -1. Generate list of supported system error codes. - -mkerrcodes1.awk generates a list of supported system error codes from -errnos.in. Each entry in the list is protected with #ifdef/#endif, -and contains a GPG_ERR_* marker. The list is stored in "_mkerrcodes.h". - -2. The HOST cpp is run on _mkerrcodes.h. This evaluates the known -system error macros to something (may be a number, maybe a constant -expression as on the GNU/Hurd), suppressing the unknown ones. The -output is piped into step 3. - -3. The cpp output is filtered with grep for only those lines which -contain a GPG_ERR_* marker. The output is piped into step 4. - -4. The filtered output is processed by mkerrcodes.awk, which produces -a table of constant expressions plus GPG_ERR_* code string symbols in -a format suitable for the C program mkerrcodes.c. At this point we -are crossing our fingers that the constant expressions produced by the -system do not contain GPG_ERR_* markers. The output is stored in -mkerrcodes.h. - -5. The file mkerrcodes.h is included by mkerrcodes.c, which is -compiled to a binary executable on the BUILD system. At this point we -are crossing our fingers that the constant expressions produced by the -system do not depend on the build platform anymore. The output is -post-processed by mkerrcodes2.awk and stored in "code-from-errno.h", -which is subsequently used in the library. - --- Marcus - - Copyright 2006 g10 Code GmbH - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.c deleted file mode 100644 index 96fcf20860..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.c +++ /dev/null @@ -1,69 +0,0 @@ -/* code-from-errno.c - Mapping errnos to error codes. - Copyright (C) 2003 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <errno.h> - -#include <gpg-error.h> - -#include "code-from-errno.h" - -/* Retrieve the error code for the system error ERR. This returns - GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report - this). */ -gpg_err_code_t -gpg_err_code_from_errno (int err) -{ - int idx; - - if (!err) - return GPG_ERR_NO_ERROR; - - idx = errno_to_idx (err); - - if (idx < 0) - return GPG_ERR_UNKNOWN_ERRNO; - - return GPG_ERR_SYSTEM_ERROR | err_code_from_index[idx]; -} - - -/* Retrieve the error code directly from the ERRNO variable. This - returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped - (report this) and GPG_ERR_MISSING_ERRNO if ERRNO has the value 0. */ -gpg_err_code_t -gpg_err_code_from_syserror (void) -{ - int err = errno; - int idx; - - if (!err) - return GPG_ERR_MISSING_ERRNO; - - idx = errno_to_idx (err); - - if (idx < 0) - return GPG_ERR_UNKNOWN_ERRNO; - - return GPG_ERR_SYSTEM_ERROR | err_code_from_index[idx]; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.h deleted file mode 100644 index 071d8ba17f..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-from-errno.h +++ /dev/null @@ -1,120 +0,0 @@ -/* Output of mkerrcodes2.awk. DO NOT EDIT. */ - -/* errnos.h - List of system error values.
- Copyright (C) 2004 g10 Code GmbH
- This file is part of libgpg-error.
-
- libgpg-error is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public License
- as published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- libgpg-error is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
-
-static const int err_code_from_index[] = { - GPG_ERR_EPERM
, - GPG_ERR_ENOENT
, - GPG_ERR_ESRCH
, - GPG_ERR_EINTR
, - GPG_ERR_EIO
, - GPG_ERR_ENXIO
, - GPG_ERR_E2BIG
, - GPG_ERR_ENOEXEC
, - GPG_ERR_EBADF
, - GPG_ERR_ECHILD
, - GPG_ERR_EAGAIN
, - GPG_ERR_ENOMEM
, - GPG_ERR_EACCES
, - GPG_ERR_EFAULT
, - GPG_ERR_EBUSY
, - GPG_ERR_EEXIST
, - GPG_ERR_EXDEV
, - GPG_ERR_ENODEV
, - GPG_ERR_ENOTDIR
, - GPG_ERR_EISDIR
, - GPG_ERR_EINVAL
, - GPG_ERR_ENFILE
, - GPG_ERR_EMFILE
, - GPG_ERR_ENOTTY
, - GPG_ERR_EFBIG
, - GPG_ERR_ENOSPC
, - GPG_ERR_ESPIPE
, - GPG_ERR_EROFS
, - GPG_ERR_EMLINK
, - GPG_ERR_EPIPE
, - GPG_ERR_EDOM
, - GPG_ERR_ERANGE
, - GPG_ERR_EDEADLK
, - GPG_ERR_EDEADLOCK
, - GPG_ERR_ENAMETOOLONG
, - GPG_ERR_ENOLCK
, - GPG_ERR_ENOSYS
, - GPG_ERR_ENOTEMPTY
, - GPG_ERR_EILSEQ
, - GPG_ERR_EINTR
, - GPG_ERR_EBADF
, - GPG_ERR_EACCES
, - GPG_ERR_EFAULT
, - GPG_ERR_EINVAL
, - GPG_ERR_EMFILE
, - GPG_ERR_EWOULDBLOCK
, - GPG_ERR_EINPROGRESS
, - GPG_ERR_EALREADY
, - GPG_ERR_ENOTSOCK
, - GPG_ERR_EDESTADDRREQ
, - GPG_ERR_EMSGSIZE
, - GPG_ERR_EPROTOTYPE
, - GPG_ERR_ENOPROTOOPT
, - GPG_ERR_EPROTONOSUPPORT
, - GPG_ERR_ESOCKTNOSUPPORT
, - GPG_ERR_EOPNOTSUPP
, - GPG_ERR_EPFNOSUPPORT
, - GPG_ERR_EAFNOSUPPORT
, - GPG_ERR_EADDRINUSE
, - GPG_ERR_EADDRNOTAVAIL
, - GPG_ERR_ENETDOWN
, - GPG_ERR_ENETUNREACH
, - GPG_ERR_ENETRESET
, - GPG_ERR_ECONNABORTED
, - GPG_ERR_ECONNRESET
, - GPG_ERR_ENOBUFS
, - GPG_ERR_EISCONN
, - GPG_ERR_ENOTCONN
, - GPG_ERR_ESHUTDOWN
, - GPG_ERR_ETOOMANYREFS
, - GPG_ERR_ETIMEDOUT
, - GPG_ERR_ECONNREFUSED
, - GPG_ERR_ELOOP
, - GPG_ERR_ENAMETOOLONG
, - GPG_ERR_EHOSTDOWN
, - GPG_ERR_EHOSTUNREACH
, - GPG_ERR_ENOTEMPTY
, - GPG_ERR_EPROCLIM
, - GPG_ERR_EUSERS
, - GPG_ERR_EDQUOT
, - GPG_ERR_ESTALE
, - GPG_ERR_EREMOTE
, -}; - -#define errno_to_idx(code) (0 ? -1 \ - : ((code >= 1) && (code <= 14)) ? (code - 1) \ - : ((code >= 16) && (code <= 25)) ? (code - 2) \ - : ((code >= 27) && (code <= 34)) ? (code - 3) \ - : ((code >= 36) && (code <= 36)) ? (code - 4) \ - : ((code >= 36) && (code <= 36)) ? (code - 3) \ - : ((code >= 38) && (code <= 42)) ? (code - 4) \ - : ((code >= 10004) && (code <= 10004)) ? (code - 9965) \ - : ((code >= 10009) && (code <= 10009)) ? (code - 9969) \ - : ((code >= 10013) && (code <= 10014)) ? (code - 9972) \ - : ((code >= 10022) && (code <= 10022)) ? (code - 9979) \ - : ((code >= 10024) && (code <= 10024)) ? (code - 9980) \ - : ((code >= 10035) && (code <= 10071)) ? (code - 9990) \ - : -1) diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.c deleted file mode 100644 index 5873aad633..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.c +++ /dev/null @@ -1,42 +0,0 @@ -/* code-to-errno.c - Mapping error codes to errnos. - Copyright (C) 2003 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <gpg-error.h> - -#include "code-to-errno.h" - -/* Retrieve the system error for the error code CODE. This returns 0 - if CODE is not a system error code. */ -int -gpg_err_code_to_errno (gpg_err_code_t code) -{ - if (!(code & GPG_ERR_SYSTEM_ERROR)) - return 0; - code &= ~GPG_ERR_SYSTEM_ERROR; - - if (code < sizeof (err_code_to_errno) / sizeof (err_code_to_errno[0])) - return err_code_to_errno[code]; - else - return 0; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.h deleted file mode 100644 index 114489f929..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/code-to-errno.h +++ /dev/null @@ -1,1300 +0,0 @@ -/* Output of mkerrnos.awk. DO NOT EDIT. */ - -/* errnos.h - List of system error values. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - - -#include <errno.h> -#ifdef _WIN32 -#include <winsock2.h> -#endif - -static const int err_code_to_errno [] = { -#ifdef E2BIG - E2BIG, -#else -#ifdef WSAE2BIG - WSAE2BIG, -#else - 0, -#endif -#endif -#ifdef EACCES - EACCES, -#else -#ifdef WSAEACCES - WSAEACCES, -#else - 0, -#endif -#endif -#ifdef EADDRINUSE - EADDRINUSE, -#else -#ifdef WSAEADDRINUSE - WSAEADDRINUSE, -#else - 0, -#endif -#endif -#ifdef EADDRNOTAVAIL - EADDRNOTAVAIL, -#else -#ifdef WSAEADDRNOTAVAIL - WSAEADDRNOTAVAIL, -#else - 0, -#endif -#endif -#ifdef EADV - EADV, -#else -#ifdef WSAEADV - WSAEADV, -#else - 0, -#endif -#endif -#ifdef EAFNOSUPPORT - EAFNOSUPPORT, -#else -#ifdef WSAEAFNOSUPPORT - WSAEAFNOSUPPORT, -#else - 0, -#endif -#endif -#ifdef EAGAIN - EAGAIN, -#else -#ifdef WSAEAGAIN - WSAEAGAIN, -#else - 0, -#endif -#endif -#ifdef EALREADY - EALREADY, -#else -#ifdef WSAEALREADY - WSAEALREADY, -#else - 0, -#endif -#endif -#ifdef EAUTH - EAUTH, -#else -#ifdef WSAEAUTH - WSAEAUTH, -#else - 0, -#endif -#endif -#ifdef EBACKGROUND - EBACKGROUND, -#else -#ifdef WSAEBACKGROUND - WSAEBACKGROUND, -#else - 0, -#endif -#endif -#ifdef EBADE - EBADE, -#else -#ifdef WSAEBADE - WSAEBADE, -#else - 0, -#endif -#endif -#ifdef EBADF - EBADF, -#else -#ifdef WSAEBADF - WSAEBADF, -#else - 0, -#endif -#endif -#ifdef EBADFD - EBADFD, -#else -#ifdef WSAEBADFD - WSAEBADFD, -#else - 0, -#endif -#endif -#ifdef EBADMSG - EBADMSG, -#else -#ifdef WSAEBADMSG - WSAEBADMSG, -#else - 0, -#endif -#endif -#ifdef EBADR - EBADR, -#else -#ifdef WSAEBADR - WSAEBADR, -#else - 0, -#endif -#endif -#ifdef EBADRPC - EBADRPC, -#else -#ifdef WSAEBADRPC - WSAEBADRPC, -#else - 0, -#endif -#endif -#ifdef EBADRQC - EBADRQC, -#else -#ifdef WSAEBADRQC - WSAEBADRQC, -#else - 0, -#endif -#endif -#ifdef EBADSLT - EBADSLT, -#else -#ifdef WSAEBADSLT - WSAEBADSLT, -#else - 0, -#endif -#endif -#ifdef EBFONT - EBFONT, -#else -#ifdef WSAEBFONT - WSAEBFONT, -#else - 0, -#endif -#endif -#ifdef EBUSY - EBUSY, -#else -#ifdef WSAEBUSY - WSAEBUSY, -#else - 0, -#endif -#endif -#ifdef ECANCELED - ECANCELED, -#else -#ifdef WSAECANCELED - WSAECANCELED, -#else - 0, -#endif -#endif -#ifdef ECHILD - ECHILD, -#else -#ifdef WSAECHILD - WSAECHILD, -#else - 0, -#endif -#endif -#ifdef ECHRNG - ECHRNG, -#else -#ifdef WSAECHRNG - WSAECHRNG, -#else - 0, -#endif -#endif -#ifdef ECOMM - ECOMM, -#else -#ifdef WSAECOMM - WSAECOMM, -#else - 0, -#endif -#endif -#ifdef ECONNABORTED - ECONNABORTED, -#else -#ifdef WSAECONNABORTED - WSAECONNABORTED, -#else - 0, -#endif -#endif -#ifdef ECONNREFUSED - ECONNREFUSED, -#else -#ifdef WSAECONNREFUSED - WSAECONNREFUSED, -#else - 0, -#endif -#endif -#ifdef ECONNRESET - ECONNRESET, -#else -#ifdef WSAECONNRESET - WSAECONNRESET, -#else - 0, -#endif -#endif -#ifdef ED - ED, -#else -#ifdef WSAED - WSAED, -#else - 0, -#endif -#endif -#ifdef EDEADLK - EDEADLK, -#else -#ifdef WSAEDEADLK - WSAEDEADLK, -#else - 0, -#endif -#endif -#ifdef EDEADLOCK - EDEADLOCK, -#else -#ifdef WSAEDEADLOCK - WSAEDEADLOCK, -#else - 0, -#endif -#endif -#ifdef EDESTADDRREQ - EDESTADDRREQ, -#else -#ifdef WSAEDESTADDRREQ - WSAEDESTADDRREQ, -#else - 0, -#endif -#endif -#ifdef EDIED - EDIED, -#else -#ifdef WSAEDIED - WSAEDIED, -#else - 0, -#endif -#endif -#ifdef EDOM - EDOM, -#else -#ifdef WSAEDOM - WSAEDOM, -#else - 0, -#endif -#endif -#ifdef EDOTDOT - EDOTDOT, -#else -#ifdef WSAEDOTDOT - WSAEDOTDOT, -#else - 0, -#endif -#endif -#ifdef EDQUOT - EDQUOT, -#else -#ifdef WSAEDQUOT - WSAEDQUOT, -#else - 0, -#endif -#endif -#ifdef EEXIST - EEXIST, -#else -#ifdef WSAEEXIST - WSAEEXIST, -#else - 0, -#endif -#endif -#ifdef EFAULT - EFAULT, -#else -#ifdef WSAEFAULT - WSAEFAULT, -#else - 0, -#endif -#endif -#ifdef EFBIG - EFBIG, -#else -#ifdef WSAEFBIG - WSAEFBIG, -#else - 0, -#endif -#endif -#ifdef EFTYPE - EFTYPE, -#else -#ifdef WSAEFTYPE - WSAEFTYPE, -#else - 0, -#endif -#endif -#ifdef EGRATUITOUS - EGRATUITOUS, -#else -#ifdef WSAEGRATUITOUS - WSAEGRATUITOUS, -#else - 0, -#endif -#endif -#ifdef EGREGIOUS - EGREGIOUS, -#else -#ifdef WSAEGREGIOUS - WSAEGREGIOUS, -#else - 0, -#endif -#endif -#ifdef EHOSTDOWN - EHOSTDOWN, -#else -#ifdef WSAEHOSTDOWN - WSAEHOSTDOWN, -#else - 0, -#endif -#endif -#ifdef EHOSTUNREACH - EHOSTUNREACH, -#else -#ifdef WSAEHOSTUNREACH - WSAEHOSTUNREACH, -#else - 0, -#endif -#endif -#ifdef EIDRM - EIDRM, -#else -#ifdef WSAEIDRM - WSAEIDRM, -#else - 0, -#endif -#endif -#ifdef EIEIO - EIEIO, -#else -#ifdef WSAEIEIO - WSAEIEIO, -#else - 0, -#endif -#endif -#ifdef EILSEQ - EILSEQ, -#else -#ifdef WSAEILSEQ - WSAEILSEQ, -#else - 0, -#endif -#endif -#ifdef EINPROGRESS - EINPROGRESS, -#else -#ifdef WSAEINPROGRESS - WSAEINPROGRESS, -#else - 0, -#endif -#endif -#ifdef EINTR - EINTR, -#else -#ifdef WSAEINTR - WSAEINTR, -#else - 0, -#endif -#endif -#ifdef EINVAL - EINVAL, -#else -#ifdef WSAEINVAL - WSAEINVAL, -#else - 0, -#endif -#endif -#ifdef EIO - EIO, -#else -#ifdef WSAEIO - WSAEIO, -#else - 0, -#endif -#endif -#ifdef EISCONN - EISCONN, -#else -#ifdef WSAEISCONN - WSAEISCONN, -#else - 0, -#endif -#endif -#ifdef EISDIR - EISDIR, -#else -#ifdef WSAEISDIR - WSAEISDIR, -#else - 0, -#endif -#endif -#ifdef EISNAM - EISNAM, -#else -#ifdef WSAEISNAM - WSAEISNAM, -#else - 0, -#endif -#endif -#ifdef EL2HLT - EL2HLT, -#else -#ifdef WSAEL2HLT - WSAEL2HLT, -#else - 0, -#endif -#endif -#ifdef EL2NSYNC - EL2NSYNC, -#else -#ifdef WSAEL2NSYNC - WSAEL2NSYNC, -#else - 0, -#endif -#endif -#ifdef EL3HLT - EL3HLT, -#else -#ifdef WSAEL3HLT - WSAEL3HLT, -#else - 0, -#endif -#endif -#ifdef EL3RST - EL3RST, -#else -#ifdef WSAEL3RST - WSAEL3RST, -#else - 0, -#endif -#endif -#ifdef ELIBACC - ELIBACC, -#else -#ifdef WSAELIBACC - WSAELIBACC, -#else - 0, -#endif -#endif -#ifdef ELIBBAD - ELIBBAD, -#else -#ifdef WSAELIBBAD - WSAELIBBAD, -#else - 0, -#endif -#endif -#ifdef ELIBEXEC - ELIBEXEC, -#else -#ifdef WSAELIBEXEC - WSAELIBEXEC, -#else - 0, -#endif -#endif -#ifdef ELIBMAX - ELIBMAX, -#else -#ifdef WSAELIBMAX - WSAELIBMAX, -#else - 0, -#endif -#endif -#ifdef ELIBSCN - ELIBSCN, -#else -#ifdef WSAELIBSCN - WSAELIBSCN, -#else - 0, -#endif -#endif -#ifdef ELNRNG - ELNRNG, -#else -#ifdef WSAELNRNG - WSAELNRNG, -#else - 0, -#endif -#endif -#ifdef ELOOP - ELOOP, -#else -#ifdef WSAELOOP - WSAELOOP, -#else - 0, -#endif -#endif -#ifdef EMEDIUMTYPE - EMEDIUMTYPE, -#else -#ifdef WSAEMEDIUMTYPE - WSAEMEDIUMTYPE, -#else - 0, -#endif -#endif -#ifdef EMFILE - EMFILE, -#else -#ifdef WSAEMFILE - WSAEMFILE, -#else - 0, -#endif -#endif -#ifdef EMLINK - EMLINK, -#else -#ifdef WSAEMLINK - WSAEMLINK, -#else - 0, -#endif -#endif -#ifdef EMSGSIZE - EMSGSIZE, -#else -#ifdef WSAEMSGSIZE - WSAEMSGSIZE, -#else - 0, -#endif -#endif -#ifdef EMULTIHOP - EMULTIHOP, -#else -#ifdef WSAEMULTIHOP - WSAEMULTIHOP, -#else - 0, -#endif -#endif -#ifdef ENAMETOOLONG - ENAMETOOLONG, -#else -#ifdef WSAENAMETOOLONG - WSAENAMETOOLONG, -#else - 0, -#endif -#endif -#ifdef ENAVAIL - ENAVAIL, -#else -#ifdef WSAENAVAIL - WSAENAVAIL, -#else - 0, -#endif -#endif -#ifdef ENEEDAUTH - ENEEDAUTH, -#else -#ifdef WSAENEEDAUTH - WSAENEEDAUTH, -#else - 0, -#endif -#endif -#ifdef ENETDOWN - ENETDOWN, -#else -#ifdef WSAENETDOWN - WSAENETDOWN, -#else - 0, -#endif -#endif -#ifdef ENETRESET - ENETRESET, -#else -#ifdef WSAENETRESET - WSAENETRESET, -#else - 0, -#endif -#endif -#ifdef ENETUNREACH - ENETUNREACH, -#else -#ifdef WSAENETUNREACH - WSAENETUNREACH, -#else - 0, -#endif -#endif -#ifdef ENFILE - ENFILE, -#else -#ifdef WSAENFILE - WSAENFILE, -#else - 0, -#endif -#endif -#ifdef ENOANO - ENOANO, -#else -#ifdef WSAENOANO - WSAENOANO, -#else - 0, -#endif -#endif -#ifdef ENOBUFS - ENOBUFS, -#else -#ifdef WSAENOBUFS - WSAENOBUFS, -#else - 0, -#endif -#endif -#ifdef ENOCSI - ENOCSI, -#else -#ifdef WSAENOCSI - WSAENOCSI, -#else - 0, -#endif -#endif -#ifdef ENODATA - ENODATA, -#else -#ifdef WSAENODATA - WSAENODATA, -#else - 0, -#endif -#endif -#ifdef ENODEV - ENODEV, -#else -#ifdef WSAENODEV - WSAENODEV, -#else - 0, -#endif -#endif -#ifdef ENOENT - ENOENT, -#else -#ifdef WSAENOENT - WSAENOENT, -#else - 0, -#endif -#endif -#ifdef ENOEXEC - ENOEXEC, -#else -#ifdef WSAENOEXEC - WSAENOEXEC, -#else - 0, -#endif -#endif -#ifdef ENOLCK - ENOLCK, -#else -#ifdef WSAENOLCK - WSAENOLCK, -#else - 0, -#endif -#endif -#ifdef ENOLINK - ENOLINK, -#else -#ifdef WSAENOLINK - WSAENOLINK, -#else - 0, -#endif -#endif -#ifdef ENOMEDIUM - ENOMEDIUM, -#else -#ifdef WSAENOMEDIUM - WSAENOMEDIUM, -#else - 0, -#endif -#endif -#ifdef ENOMEM - ENOMEM, -#else -#ifdef WSAENOMEM - WSAENOMEM, -#else - 0, -#endif -#endif -#ifdef ENOMSG - ENOMSG, -#else -#ifdef WSAENOMSG - WSAENOMSG, -#else - 0, -#endif -#endif -#ifdef ENONET - ENONET, -#else -#ifdef WSAENONET - WSAENONET, -#else - 0, -#endif -#endif -#ifdef ENOPKG - ENOPKG, -#else -#ifdef WSAENOPKG - WSAENOPKG, -#else - 0, -#endif -#endif -#ifdef ENOPROTOOPT - ENOPROTOOPT, -#else -#ifdef WSAENOPROTOOPT - WSAENOPROTOOPT, -#else - 0, -#endif -#endif -#ifdef ENOSPC - ENOSPC, -#else -#ifdef WSAENOSPC - WSAENOSPC, -#else - 0, -#endif -#endif -#ifdef ENOSR - ENOSR, -#else -#ifdef WSAENOSR - WSAENOSR, -#else - 0, -#endif -#endif -#ifdef ENOSTR - ENOSTR, -#else -#ifdef WSAENOSTR - WSAENOSTR, -#else - 0, -#endif -#endif -#ifdef ENOSYS - ENOSYS, -#else -#ifdef WSAENOSYS - WSAENOSYS, -#else - 0, -#endif -#endif -#ifdef ENOTBLK - ENOTBLK, -#else -#ifdef WSAENOTBLK - WSAENOTBLK, -#else - 0, -#endif -#endif -#ifdef ENOTCONN - ENOTCONN, -#else -#ifdef WSAENOTCONN - WSAENOTCONN, -#else - 0, -#endif -#endif -#ifdef ENOTDIR - ENOTDIR, -#else -#ifdef WSAENOTDIR - WSAENOTDIR, -#else - 0, -#endif -#endif -#ifdef ENOTEMPTY - ENOTEMPTY, -#else -#ifdef WSAENOTEMPTY - WSAENOTEMPTY, -#else - 0, -#endif -#endif -#ifdef ENOTNAM - ENOTNAM, -#else -#ifdef WSAENOTNAM - WSAENOTNAM, -#else - 0, -#endif -#endif -#ifdef ENOTSOCK - ENOTSOCK, -#else -#ifdef WSAENOTSOCK - WSAENOTSOCK, -#else - 0, -#endif -#endif -#ifdef ENOTSUP - ENOTSUP, -#else -#ifdef WSAENOTSUP - WSAENOTSUP, -#else - 0, -#endif -#endif -#ifdef ENOTTY - ENOTTY, -#else -#ifdef WSAENOTTY - WSAENOTTY, -#else - 0, -#endif -#endif -#ifdef ENOTUNIQ - ENOTUNIQ, -#else -#ifdef WSAENOTUNIQ - WSAENOTUNIQ, -#else - 0, -#endif -#endif -#ifdef ENXIO - ENXIO, -#else -#ifdef WSAENXIO - WSAENXIO, -#else - 0, -#endif -#endif -#ifdef EOPNOTSUPP - EOPNOTSUPP, -#else -#ifdef WSAEOPNOTSUPP - WSAEOPNOTSUPP, -#else - 0, -#endif -#endif -#ifdef EOVERFLOW - EOVERFLOW, -#else -#ifdef WSAEOVERFLOW - WSAEOVERFLOW, -#else - 0, -#endif -#endif -#ifdef EPERM - EPERM, -#else -#ifdef WSAEPERM - WSAEPERM, -#else - 0, -#endif -#endif -#ifdef EPFNOSUPPORT - EPFNOSUPPORT, -#else -#ifdef WSAEPFNOSUPPORT - WSAEPFNOSUPPORT, -#else - 0, -#endif -#endif -#ifdef EPIPE - EPIPE, -#else -#ifdef WSAEPIPE - WSAEPIPE, -#else - 0, -#endif -#endif -#ifdef EPROCLIM - EPROCLIM, -#else -#ifdef WSAEPROCLIM - WSAEPROCLIM, -#else - 0, -#endif -#endif -#ifdef EPROCUNAVAIL - EPROCUNAVAIL, -#else -#ifdef WSAEPROCUNAVAIL - WSAEPROCUNAVAIL, -#else - 0, -#endif -#endif -#ifdef EPROGMISMATCH - EPROGMISMATCH, -#else -#ifdef WSAEPROGMISMATCH - WSAEPROGMISMATCH, -#else - 0, -#endif -#endif -#ifdef EPROGUNAVAIL - EPROGUNAVAIL, -#else -#ifdef WSAEPROGUNAVAIL - WSAEPROGUNAVAIL, -#else - 0, -#endif -#endif -#ifdef EPROTO - EPROTO, -#else -#ifdef WSAEPROTO - WSAEPROTO, -#else - 0, -#endif -#endif -#ifdef EPROTONOSUPPORT - EPROTONOSUPPORT, -#else -#ifdef WSAEPROTONOSUPPORT - WSAEPROTONOSUPPORT, -#else - 0, -#endif -#endif -#ifdef EPROTOTYPE - EPROTOTYPE, -#else -#ifdef WSAEPROTOTYPE - WSAEPROTOTYPE, -#else - 0, -#endif -#endif -#ifdef ERANGE - ERANGE, -#else -#ifdef WSAERANGE - WSAERANGE, -#else - 0, -#endif -#endif -#ifdef EREMCHG - EREMCHG, -#else -#ifdef WSAEREMCHG - WSAEREMCHG, -#else - 0, -#endif -#endif -#ifdef EREMOTE - EREMOTE, -#else -#ifdef WSAEREMOTE - WSAEREMOTE, -#else - 0, -#endif -#endif -#ifdef EREMOTEIO - EREMOTEIO, -#else -#ifdef WSAEREMOTEIO - WSAEREMOTEIO, -#else - 0, -#endif -#endif -#ifdef ERESTART - ERESTART, -#else -#ifdef WSAERESTART - WSAERESTART, -#else - 0, -#endif -#endif -#ifdef EROFS - EROFS, -#else -#ifdef WSAEROFS - WSAEROFS, -#else - 0, -#endif -#endif -#ifdef ERPCMISMATCH - ERPCMISMATCH, -#else -#ifdef WSAERPCMISMATCH - WSAERPCMISMATCH, -#else - 0, -#endif -#endif -#ifdef ESHUTDOWN - ESHUTDOWN, -#else -#ifdef WSAESHUTDOWN - WSAESHUTDOWN, -#else - 0, -#endif -#endif -#ifdef ESOCKTNOSUPPORT - ESOCKTNOSUPPORT, -#else -#ifdef WSAESOCKTNOSUPPORT - WSAESOCKTNOSUPPORT, -#else - 0, -#endif -#endif -#ifdef ESPIPE - ESPIPE, -#else -#ifdef WSAESPIPE - WSAESPIPE, -#else - 0, -#endif -#endif -#ifdef ESRCH - ESRCH, -#else -#ifdef WSAESRCH - WSAESRCH, -#else - 0, -#endif -#endif -#ifdef ESRMNT - ESRMNT, -#else -#ifdef WSAESRMNT - WSAESRMNT, -#else - 0, -#endif -#endif -#ifdef ESTALE - ESTALE, -#else -#ifdef WSAESTALE - WSAESTALE, -#else - 0, -#endif -#endif -#ifdef ESTRPIPE - ESTRPIPE, -#else -#ifdef WSAESTRPIPE - WSAESTRPIPE, -#else - 0, -#endif -#endif -#ifdef ETIME - ETIME, -#else -#ifdef WSAETIME - WSAETIME, -#else - 0, -#endif -#endif -#ifdef ETIMEDOUT - ETIMEDOUT, -#else -#ifdef WSAETIMEDOUT - WSAETIMEDOUT, -#else - 0, -#endif -#endif -#ifdef ETOOMANYREFS - ETOOMANYREFS, -#else -#ifdef WSAETOOMANYREFS - WSAETOOMANYREFS, -#else - 0, -#endif -#endif -#ifdef ETXTBSY - ETXTBSY, -#else -#ifdef WSAETXTBSY - WSAETXTBSY, -#else - 0, -#endif -#endif -#ifdef EUCLEAN - EUCLEAN, -#else -#ifdef WSAEUCLEAN - WSAEUCLEAN, -#else - 0, -#endif -#endif -#ifdef EUNATCH - EUNATCH, -#else -#ifdef WSAEUNATCH - WSAEUNATCH, -#else - 0, -#endif -#endif -#ifdef EUSERS - EUSERS, -#else -#ifdef WSAEUSERS - WSAEUSERS, -#else - 0, -#endif -#endif -#ifdef EWOULDBLOCK - EWOULDBLOCK, -#else -#ifdef WSAEWOULDBLOCK - WSAEWOULDBLOCK, -#else - 0, -#endif -#endif -#ifdef EXDEV - EXDEV, -#else -#ifdef WSAEXDEV - WSAEXDEV, -#else - 0, -#endif -#endif -#ifdef EXFULL - EXFULL, -#else -#ifdef WSAEXFULL - WSAEXFULL, -#else - 0, -#endif -#endif -}; diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes-sym.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes-sym.h deleted file mode 100644 index 0ed5032eb0..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes-sym.h +++ /dev/null @@ -1,530 +0,0 @@ -/* Output of mkstrtable.awk. DO NOT EDIT. */ - -/* err-codes.h - List of error codes and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - -/* The purpose of this complex string table is to produce - optimal code with a minimum of relocations. */ - -static const char msgstr[] = - "GPG_ERR_NO_ERROR" "\0" - "GPG_ERR_GENERAL" "\0" - "GPG_ERR_UNKNOWN_PACKET" "\0" - "GPG_ERR_UNKNOWN_VERSION" "\0" - "GPG_ERR_PUBKEY_ALGO" "\0" - "GPG_ERR_DIGEST_ALGO" "\0" - "GPG_ERR_BAD_PUBKEY" "\0" - "GPG_ERR_BAD_SECKEY" "\0" - "GPG_ERR_BAD_SIGNATURE" "\0" - "GPG_ERR_NO_PUBKEY" "\0" - "GPG_ERR_CHECKSUM" "\0" - "GPG_ERR_BAD_PASSPHRASE" "\0" - "GPG_ERR_CIPHER_ALGO" "\0" - "GPG_ERR_KEYRING_OPEN" "\0" - "GPG_ERR_INV_PACKET" "\0" - "GPG_ERR_INV_ARMOR" "\0" - "GPG_ERR_NO_USER_ID" "\0" - "GPG_ERR_NO_SECKEY" "\0" - "GPG_ERR_WRONG_SECKEY" "\0" - "GPG_ERR_BAD_KEY" "\0" - "GPG_ERR_COMPR_ALGO" "\0" - "GPG_ERR_NO_PRIME" "\0" - "GPG_ERR_NO_ENCODING_METHOD" "\0" - "GPG_ERR_NO_ENCRYPTION_SCHEME" "\0" - "GPG_ERR_NO_SIGNATURE_SCHEME" "\0" - "GPG_ERR_INV_ATTR" "\0" - "GPG_ERR_NO_VALUE" "\0" - "GPG_ERR_NOT_FOUND" "\0" - "GPG_ERR_VALUE_NOT_FOUND" "\0" - "GPG_ERR_SYNTAX" "\0" - "GPG_ERR_BAD_MPI" "\0" - "GPG_ERR_INV_PASSPHRASE" "\0" - "GPG_ERR_SIG_CLASS" "\0" - "GPG_ERR_RESOURCE_LIMIT" "\0" - "GPG_ERR_INV_KEYRING" "\0" - "GPG_ERR_TRUSTDB" "\0" - "GPG_ERR_BAD_CERT" "\0" - "GPG_ERR_INV_USER_ID" "\0" - "GPG_ERR_UNEXPECTED" "\0" - "GPG_ERR_TIME_CONFLICT" "\0" - "GPG_ERR_KEYSERVER" "\0" - "GPG_ERR_WRONG_PUBKEY_ALGO" "\0" - "GPG_ERR_TRIBUTE_TO_D_A" "\0" - "GPG_ERR_WEAK_KEY" "\0" - "GPG_ERR_INV_KEYLEN" "\0" - "GPG_ERR_INV_ARG" "\0" - "GPG_ERR_BAD_URI" "\0" - "GPG_ERR_INV_URI" "\0" - "GPG_ERR_NETWORK" "\0" - "GPG_ERR_UNKNOWN_HOST" "\0" - "GPG_ERR_SELFTEST_FAILED" "\0" - "GPG_ERR_NOT_ENCRYPTED" "\0" - "GPG_ERR_NOT_PROCESSED" "\0" - "GPG_ERR_UNUSABLE_PUBKEY" "\0" - "GPG_ERR_UNUSABLE_SECKEY" "\0" - "GPG_ERR_INV_VALUE" "\0" - "GPG_ERR_BAD_CERT_CHAIN" "\0" - "GPG_ERR_MISSING_CERT" "\0" - "GPG_ERR_NO_DATA" "\0" - "GPG_ERR_BUG" "\0" - "GPG_ERR_NOT_SUPPORTED" "\0" - "GPG_ERR_INV_OP" "\0" - "GPG_ERR_TIMEOUT" "\0" - "GPG_ERR_INTERNAL" "\0" - "GPG_ERR_EOF_GCRYPT" "\0" - "GPG_ERR_INV_OBJ" "\0" - "GPG_ERR_TOO_SHORT" "\0" - "GPG_ERR_TOO_LARGE" "\0" - "GPG_ERR_NO_OBJ" "\0" - "GPG_ERR_NOT_IMPLEMENTED" "\0" - "GPG_ERR_CONFLICT" "\0" - "GPG_ERR_INV_CIPHER_MODE" "\0" - "GPG_ERR_INV_FLAG" "\0" - "GPG_ERR_INV_HANDLE" "\0" - "GPG_ERR_TRUNCATED" "\0" - "GPG_ERR_INCOMPLETE_LINE" "\0" - "GPG_ERR_INV_RESPONSE" "\0" - "GPG_ERR_NO_AGENT" "\0" - "GPG_ERR_AGENT" "\0" - "GPG_ERR_INV_DATA" "\0" - "GPG_ERR_ASSUAN_SERVER_FAULT" "\0" - "GPG_ERR_ASSUAN" "\0" - "GPG_ERR_INV_SESSION_KEY" "\0" - "GPG_ERR_INV_SEXP" "\0" - "GPG_ERR_UNSUPPORTED_ALGORITHM" "\0" - "GPG_ERR_NO_PIN_ENTRY" "\0" - "GPG_ERR_PIN_ENTRY" "\0" - "GPG_ERR_BAD_PIN" "\0" - "GPG_ERR_INV_NAME" "\0" - "GPG_ERR_BAD_DATA" "\0" - "GPG_ERR_INV_PARAMETER" "\0" - "GPG_ERR_WRONG_CARD" "\0" - "GPG_ERR_NO_DIRMNGR" "\0" - "GPG_ERR_DIRMNGR" "\0" - "GPG_ERR_CERT_REVOKED" "\0" - "GPG_ERR_NO_CRL_KNOWN" "\0" - "GPG_ERR_CRL_TOO_OLD" "\0" - "GPG_ERR_LINE_TOO_LONG" "\0" - "GPG_ERR_NOT_TRUSTED" "\0" - "GPG_ERR_CANCELED" "\0" - "GPG_ERR_BAD_CA_CERT" "\0" - "GPG_ERR_CERT_EXPIRED" "\0" - "GPG_ERR_CERT_TOO_YOUNG" "\0" - "GPG_ERR_UNSUPPORTED_CERT" "\0" - "GPG_ERR_UNKNOWN_SEXP" "\0" - "GPG_ERR_UNSUPPORTED_PROTECTION" "\0" - "GPG_ERR_CORRUPTED_PROTECTION" "\0" - "GPG_ERR_AMBIGUOUS_NAME" "\0" - "GPG_ERR_CARD" "\0" - "GPG_ERR_CARD_RESET" "\0" - "GPG_ERR_CARD_REMOVED" "\0" - "GPG_ERR_INV_CARD" "\0" - "GPG_ERR_CARD_NOT_PRESENT" "\0" - "GPG_ERR_NO_PKCS15_APP" "\0" - "GPG_ERR_NOT_CONFIRMED" "\0" - "GPG_ERR_CONFIGURATION" "\0" - "GPG_ERR_NO_POLICY_MATCH" "\0" - "GPG_ERR_INV_INDEX" "\0" - "GPG_ERR_INV_ID" "\0" - "GPG_ERR_NO_SCDAEMON" "\0" - "GPG_ERR_SCDAEMON" "\0" - "GPG_ERR_UNSUPPORTED_PROTOCOL" "\0" - "GPG_ERR_BAD_PIN_METHOD" "\0" - "GPG_ERR_CARD_NOT_INITIALIZED" "\0" - "GPG_ERR_UNSUPPORTED_OPERATION" "\0" - "GPG_ERR_WRONG_KEY_USAGE" "\0" - "GPG_ERR_NOTHING_FOUND" "\0" - "GPG_ERR_WRONG_BLOB_TYPE" "\0" - "GPG_ERR_MISSING_VALUE" "\0" - "GPG_ERR_HARDWARE" "\0" - "GPG_ERR_PIN_BLOCKED" "\0" - "GPG_ERR_USE_CONDITIONS" "\0" - "GPG_ERR_PIN_NOT_SYNCED" "\0" - "GPG_ERR_INV_CRL" "\0" - "GPG_ERR_BAD_BER" "\0" - "GPG_ERR_INV_BER" "\0" - "GPG_ERR_ELEMENT_NOT_FOUND" "\0" - "GPG_ERR_IDENTIFIER_NOT_FOUND" "\0" - "GPG_ERR_INV_TAG" "\0" - "GPG_ERR_INV_LENGTH" "\0" - "GPG_ERR_INV_KEYINFO" "\0" - "GPG_ERR_UNEXPECTED_TAG" "\0" - "GPG_ERR_NOT_DER_ENCODED" "\0" - "GPG_ERR_NO_CMS_OBJ" "\0" - "GPG_ERR_INV_CMS_OBJ" "\0" - "GPG_ERR_UNKNOWN_CMS_OBJ" "\0" - "GPG_ERR_UNSUPPORTED_CMS_OBJ" "\0" - "GPG_ERR_UNSUPPORTED_ENCODING" "\0" - "GPG_ERR_UNSUPPORTED_CMS_VERSION" "\0" - "GPG_ERR_UNKNOWN_ALGORITHM" "\0" - "GPG_ERR_INV_ENGINE" "\0" - "GPG_ERR_PUBKEY_NOT_TRUSTED" "\0" - "GPG_ERR_DECRYPT_FAILED" "\0" - "GPG_ERR_KEY_EXPIRED" "\0" - "GPG_ERR_SIG_EXPIRED" "\0" - "GPG_ERR_ENCODING_PROBLEM" "\0" - "GPG_ERR_INV_STATE" "\0" - "GPG_ERR_DUP_VALUE" "\0" - "GPG_ERR_MISSING_ACTION" "\0" - "GPG_ERR_MODULE_NOT_FOUND" "\0" - "GPG_ERR_INV_OID_STRING" "\0" - "GPG_ERR_INV_TIME" "\0" - "GPG_ERR_INV_CRL_OBJ" "\0" - "GPG_ERR_UNSUPPORTED_CRL_VERSION" "\0" - "GPG_ERR_INV_CERT_OBJ" "\0" - "GPG_ERR_UNKNOWN_NAME" "\0" - "GPG_ERR_LOCALE_PROBLEM" "\0" - "GPG_ERR_NOT_LOCKED" "\0" - "GPG_ERR_PROTOCOL_VIOLATION" "\0" - "GPG_ERR_INV_MAC" "\0" - "GPG_ERR_INV_REQUEST" "\0" - "GPG_ERR_UNKNOWN_EXTN" "\0" - "GPG_ERR_UNKNOWN_CRIT_EXTN" "\0" - "GPG_ERR_LOCKED" "\0" - "GPG_ERR_UNKNOWN_OPTION" "\0" - "GPG_ERR_UNKNOWN_COMMAND" "\0" - "GPG_ERR_NOT_OPERATIONAL" "\0" - "GPG_ERR_NO_PASSPHRASE" "\0" - "GPG_ERR_NO_PIN" "\0" - "GPG_ERR_NOT_ENABLED" "\0" - "GPG_ERR_NO_ENGINE" "\0" - "GPG_ERR_MISSING_KEY" "\0" - "GPG_ERR_TOO_MANY" "\0" - "GPG_ERR_LIMIT_REACHED" "\0" - "GPG_ERR_UNFINISHED" "\0" - "GPG_ERR_BUFFER_TOO_SHORT" "\0" - "GPG_ERR_SEXP_INV_LEN_SPEC" "\0" - "GPG_ERR_SEXP_STRING_TOO_LONG" "\0" - "GPG_ERR_SEXP_UNMATCHED_PAREN" "\0" - "GPG_ERR_SEXP_NOT_CANONICAL" "\0" - "GPG_ERR_SEXP_BAD_CHARACTER" "\0" - "GPG_ERR_SEXP_BAD_QUOTATION" "\0" - "GPG_ERR_SEXP_ZERO_PREFIX" "\0" - "GPG_ERR_SEXP_NESTED_DH" "\0" - "GPG_ERR_SEXP_UNMATCHED_DH" "\0" - "GPG_ERR_SEXP_UNEXPECTED_PUNC" "\0" - "GPG_ERR_SEXP_BAD_HEX_CHAR" "\0" - "GPG_ERR_SEXP_ODD_HEX_NUMBERS" "\0" - "GPG_ERR_SEXP_BAD_OCT_CHAR" "\0" - "GPG_ERR_ASS_GENERAL" "\0" - "GPG_ERR_ASS_ACCEPT_FAILED" "\0" - "GPG_ERR_ASS_CONNECT_FAILED" "\0" - "GPG_ERR_ASS_INV_RESPONSE" "\0" - "GPG_ERR_ASS_INV_VALUE" "\0" - "GPG_ERR_ASS_INCOMPLETE_LINE" "\0" - "GPG_ERR_ASS_LINE_TOO_LONG" "\0" - "GPG_ERR_ASS_NESTED_COMMANDS" "\0" - "GPG_ERR_ASS_NO_DATA_CB" "\0" - "GPG_ERR_ASS_NO_INQUIRE_CB" "\0" - "GPG_ERR_ASS_NOT_A_SERVER" "\0" - "GPG_ERR_ASS_NOT_A_CLIENT" "\0" - "GPG_ERR_ASS_SERVER_START" "\0" - "GPG_ERR_ASS_READ_ERROR" "\0" - "GPG_ERR_ASS_WRITE_ERROR" "\0" - "GPG_ERR_ASS_TOO_MUCH_DATA" "\0" - "GPG_ERR_ASS_UNEXPECTED_CMD" "\0" - "GPG_ERR_ASS_UNKNOWN_CMD" "\0" - "GPG_ERR_ASS_SYNTAX" "\0" - "GPG_ERR_ASS_CANCELED" "\0" - "GPG_ERR_ASS_NO_INPUT" "\0" - "GPG_ERR_ASS_NO_OUTPUT" "\0" - "GPG_ERR_ASS_PARAMETER" "\0" - "GPG_ERR_ASS_UNKNOWN_INQUIRE" "\0" - "GPG_ERR_USER_1" "\0" - "GPG_ERR_USER_2" "\0" - "GPG_ERR_USER_3" "\0" - "GPG_ERR_USER_4" "\0" - "GPG_ERR_USER_5" "\0" - "GPG_ERR_USER_6" "\0" - "GPG_ERR_USER_7" "\0" - "GPG_ERR_USER_8" "\0" - "GPG_ERR_USER_9" "\0" - "GPG_ERR_USER_10" "\0" - "GPG_ERR_USER_11" "\0" - "GPG_ERR_USER_12" "\0" - "GPG_ERR_USER_13" "\0" - "GPG_ERR_USER_14" "\0" - "GPG_ERR_USER_15" "\0" - "GPG_ERR_USER_16" "\0" - "GPG_ERR_MISSING_ERRNO" "\0" - "GPG_ERR_UNKNOWN_ERRNO" "\0" - "GPG_ERR_EOF" "\0" - "GPG_ERR_CODE_DIM"; - -static const int msgidx[] = - { - 0, - 17, - 33, - 56, - 80, - 100, - 120, - 139, - 158, - 180, - 198, - 215, - 238, - 258, - 279, - 298, - 316, - 335, - 353, - 374, - 390, - 409, - 426, - 453, - 482, - 510, - 527, - 544, - 562, - 586, - 601, - 617, - 640, - 658, - 681, - 701, - 717, - 734, - 754, - 773, - 795, - 813, - 839, - 862, - 879, - 898, - 914, - 930, - 946, - 962, - 983, - 1007, - 1029, - 1051, - 1075, - 1099, - 1117, - 1140, - 1161, - 1177, - 1189, - 1211, - 1226, - 1242, - 1259, - 1278, - 1294, - 1312, - 1330, - 1345, - 1369, - 1386, - 1410, - 1427, - 1446, - 1464, - 1488, - 1509, - 1526, - 1540, - 1557, - 1585, - 1600, - 1624, - 1641, - 1671, - 1692, - 1710, - 1726, - 1743, - 1760, - 1782, - 1801, - 1820, - 1836, - 1857, - 1878, - 1898, - 1920, - 1940, - 1957, - 1977, - 1998, - 2021, - 2046, - 2067, - 2098, - 2127, - 2150, - 2163, - 2182, - 2203, - 2220, - 2245, - 2267, - 2289, - 2311, - 2335, - 2353, - 2368, - 2388, - 2405, - 2434, - 2457, - 2486, - 2516, - 2540, - 2562, - 2586, - 2608, - 2625, - 2645, - 2668, - 2691, - 2707, - 2723, - 2739, - 2765, - 2794, - 2810, - 2829, - 2849, - 2872, - 2896, - 2915, - 2935, - 2959, - 2987, - 3016, - 3048, - 3074, - 3093, - 3120, - 3143, - 3163, - 3183, - 3208, - 3226, - 3244, - 3267, - 3292, - 3315, - 3332, - 3352, - 3384, - 3405, - 3426, - 3449, - 3468, - 3495, - 3511, - 3531, - 3552, - 3578, - 3593, - 3616, - 3640, - 3664, - 3686, - 3701, - 3721, - 3739, - 3759, - 3776, - 3798, - 3817, - 3842, - 3868, - 3897, - 3926, - 3953, - 3980, - 4007, - 4032, - 4055, - 4081, - 4110, - 4136, - 4165, - 4191, - 4211, - 4237, - 4264, - 4289, - 4311, - 4339, - 4365, - 4393, - 4416, - 4442, - 4467, - 4492, - 4517, - 4540, - 4564, - 4590, - 4617, - 4641, - 4660, - 4681, - 4702, - 4724, - 4746, - 4774, - 4789, - 4804, - 4819, - 4834, - 4849, - 4864, - 4879, - 4894, - 4909, - 4925, - 4941, - 4957, - 4973, - 4989, - 5005, - 5021, - 5043, - 5065, - 5077 - }; - -static inline int -msgidxof (int code) -{ - return (0 ? 0 - : ((code >= 0) && (code <= 183)) ? (code - 0) - : ((code >= 199) && (code <= 213)) ? (code - 15) - : ((code >= 257) && (code <= 271)) ? (code - 58) - : ((code >= 273) && (code <= 281)) ? (code - 59) - : ((code >= 1024) && (code <= 1039)) ? (code - 801) - : ((code >= 16381) && (code <= 16383)) ? (code - 16142) - : 16384 - 16142); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h deleted file mode 100644 index 17ecc9c670..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h +++ /dev/null @@ -1,530 +0,0 @@ -/* Output of mkstrtable.awk. DO NOT EDIT. */ - -/* err-codes.h - List of error codes and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - -/* The purpose of this complex string table is to produce - optimal code with a minimum of relocations. */ - -static const char msgstr[] = - gettext_noop ("Success") "\0" - gettext_noop ("General error") "\0" - gettext_noop ("Unknown packet") "\0" - gettext_noop ("Unknown version in packet") "\0" - gettext_noop ("Invalid public key algorithm") "\0" - gettext_noop ("Invalid digest algorithm") "\0" - gettext_noop ("Bad public key") "\0" - gettext_noop ("Bad secret key") "\0" - gettext_noop ("Bad signature") "\0" - gettext_noop ("No public key") "\0" - gettext_noop ("Checksum error") "\0" - gettext_noop ("Bad passphrase") "\0" - gettext_noop ("Invalid cipher algorithm") "\0" - gettext_noop ("Keyring open") "\0" - gettext_noop ("Invalid packet") "\0" - gettext_noop ("Invalid armor") "\0" - gettext_noop ("No user ID") "\0" - gettext_noop ("No secret key") "\0" - gettext_noop ("Wrong secret key used") "\0" - gettext_noop ("Bad session key") "\0" - gettext_noop ("Unknown compression algorithm") "\0" - gettext_noop ("Number is not prime") "\0" - gettext_noop ("Invalid encoding method") "\0" - gettext_noop ("Invalid encryption scheme") "\0" - gettext_noop ("Invalid signature scheme") "\0" - gettext_noop ("Invalid attribute") "\0" - gettext_noop ("No value") "\0" - gettext_noop ("Not found") "\0" - gettext_noop ("Value not found") "\0" - gettext_noop ("Syntax error") "\0" - gettext_noop ("Bad MPI value") "\0" - gettext_noop ("Invalid passphrase") "\0" - gettext_noop ("Invalid signature class") "\0" - gettext_noop ("Resources exhausted") "\0" - gettext_noop ("Invalid keyring") "\0" - gettext_noop ("Trust DB error") "\0" - gettext_noop ("Bad certificate") "\0" - gettext_noop ("Invalid user ID") "\0" - gettext_noop ("Unexpected error") "\0" - gettext_noop ("Time conflict") "\0" - gettext_noop ("Keyserver error") "\0" - gettext_noop ("Wrong public key algorithm") "\0" - gettext_noop ("Tribute to D. A.") "\0" - gettext_noop ("Weak encryption key") "\0" - gettext_noop ("Invalid key length") "\0" - gettext_noop ("Invalid argument") "\0" - gettext_noop ("Syntax error in URI") "\0" - gettext_noop ("Invalid URI") "\0" - gettext_noop ("Network error") "\0" - gettext_noop ("Unknown host") "\0" - gettext_noop ("Selftest failed") "\0" - gettext_noop ("Data not encrypted") "\0" - gettext_noop ("Data not processed") "\0" - gettext_noop ("Unusable public key") "\0" - gettext_noop ("Unusable secret key") "\0" - gettext_noop ("Invalid value") "\0" - gettext_noop ("Bad certificate chain") "\0" - gettext_noop ("Missing certificate") "\0" - gettext_noop ("No data") "\0" - gettext_noop ("Bug") "\0" - gettext_noop ("Not supported") "\0" - gettext_noop ("Invalid operation code") "\0" - gettext_noop ("Timeout") "\0" - gettext_noop ("Internal error") "\0" - gettext_noop ("EOF (gcrypt)") "\0" - gettext_noop ("Invalid object") "\0" - gettext_noop ("Provided object is too short") "\0" - gettext_noop ("Provided object is too large") "\0" - gettext_noop ("Missing item in object") "\0" - gettext_noop ("Not implemented") "\0" - gettext_noop ("Conflicting use") "\0" - gettext_noop ("Invalid cipher mode") "\0" - gettext_noop ("Invalid flag") "\0" - gettext_noop ("Invalid handle") "\0" - gettext_noop ("Result truncated") "\0" - gettext_noop ("Incomplete line") "\0" - gettext_noop ("Invalid response") "\0" - gettext_noop ("No agent running") "\0" - gettext_noop ("agent error") "\0" - gettext_noop ("Invalid data") "\0" - gettext_noop ("Unspecific Assuan server fault") "\0" - gettext_noop ("General Assuan error") "\0" - gettext_noop ("Invalid session key") "\0" - gettext_noop ("Invalid S-expression") "\0" - gettext_noop ("Unsupported algorithm") "\0" - gettext_noop ("No pinentry") "\0" - gettext_noop ("pinentry error") "\0" - gettext_noop ("Bad PIN") "\0" - gettext_noop ("Invalid name") "\0" - gettext_noop ("Bad data") "\0" - gettext_noop ("Invalid parameter") "\0" - gettext_noop ("Wrong card") "\0" - gettext_noop ("No dirmngr") "\0" - gettext_noop ("dirmngr error") "\0" - gettext_noop ("Certificate revoked") "\0" - gettext_noop ("No CRL known") "\0" - gettext_noop ("CRL too old") "\0" - gettext_noop ("Line too long") "\0" - gettext_noop ("Not trusted") "\0" - gettext_noop ("Operation cancelled") "\0" - gettext_noop ("Bad CA certificate") "\0" - gettext_noop ("Certificate expired") "\0" - gettext_noop ("Certificate too young") "\0" - gettext_noop ("Unsupported certificate") "\0" - gettext_noop ("Unknown S-expression") "\0" - gettext_noop ("Unsupported protection") "\0" - gettext_noop ("Corrupted protection") "\0" - gettext_noop ("Ambiguous name") "\0" - gettext_noop ("Card error") "\0" - gettext_noop ("Card reset required") "\0" - gettext_noop ("Card removed") "\0" - gettext_noop ("Invalid card") "\0" - gettext_noop ("Card not present") "\0" - gettext_noop ("No PKCS15 application") "\0" - gettext_noop ("Not confirmed") "\0" - gettext_noop ("Configuration error") "\0" - gettext_noop ("No policy match") "\0" - gettext_noop ("Invalid index") "\0" - gettext_noop ("Invalid ID") "\0" - gettext_noop ("No SmartCard daemon") "\0" - gettext_noop ("SmartCard daemon error") "\0" - gettext_noop ("Unsupported protocol") "\0" - gettext_noop ("Bad PIN method") "\0" - gettext_noop ("Card not initialized") "\0" - gettext_noop ("Unsupported operation") "\0" - gettext_noop ("Wrong key usage") "\0" - gettext_noop ("Nothing found") "\0" - gettext_noop ("Wrong blob type") "\0" - gettext_noop ("Missing value") "\0" - gettext_noop ("Hardware problem") "\0" - gettext_noop ("PIN blocked") "\0" - gettext_noop ("Conditions of use not satisfied") "\0" - gettext_noop ("PINs are not synced") "\0" - gettext_noop ("Invalid CRL") "\0" - gettext_noop ("BER error") "\0" - gettext_noop ("Invalid BER") "\0" - gettext_noop ("Element not found") "\0" - gettext_noop ("Identifier not found") "\0" - gettext_noop ("Invalid tag") "\0" - gettext_noop ("Invalid length") "\0" - gettext_noop ("Invalid key info") "\0" - gettext_noop ("Unexpected tag") "\0" - gettext_noop ("Not DER encoded") "\0" - gettext_noop ("No CMS object") "\0" - gettext_noop ("Invalid CMS object") "\0" - gettext_noop ("Unknown CMS object") "\0" - gettext_noop ("Unsupported CMS object") "\0" - gettext_noop ("Unsupported encoding") "\0" - gettext_noop ("Unsupported CMS version") "\0" - gettext_noop ("Unknown algorithm") "\0" - gettext_noop ("Invalid crypto engine") "\0" - gettext_noop ("Public key not trusted") "\0" - gettext_noop ("Decryption failed") "\0" - gettext_noop ("Key expired") "\0" - gettext_noop ("Signature expired") "\0" - gettext_noop ("Encoding problem") "\0" - gettext_noop ("Invalid state") "\0" - gettext_noop ("Duplicated value") "\0" - gettext_noop ("Missing action") "\0" - gettext_noop ("ASN.1 module not found") "\0" - gettext_noop ("Invalid OID string") "\0" - gettext_noop ("Invalid time") "\0" - gettext_noop ("Invalid CRL object") "\0" - gettext_noop ("Unsupported CRL version") "\0" - gettext_noop ("Invalid certificate object") "\0" - gettext_noop ("Unknown name") "\0" - gettext_noop ("A locale function failed") "\0" - gettext_noop ("Not locked") "\0" - gettext_noop ("Protocol violation") "\0" - gettext_noop ("Invalid MAC") "\0" - gettext_noop ("Invalid request") "\0" - gettext_noop ("Unknown extension") "\0" - gettext_noop ("Unknown critical extension") "\0" - gettext_noop ("Locked") "\0" - gettext_noop ("Unknown option") "\0" - gettext_noop ("Unknown command") "\0" - gettext_noop ("Not operational") "\0" - gettext_noop ("No passphrase given") "\0" - gettext_noop ("No PIN given") "\0" - gettext_noop ("Not enabled") "\0" - gettext_noop ("No crypto engine") "\0" - gettext_noop ("Missing key") "\0" - gettext_noop ("Too many objects") "\0" - gettext_noop ("Limit reached") "\0" - gettext_noop ("Operation not yet finished") "\0" - gettext_noop ("Buffer too short") "\0" - gettext_noop ("Invalid length specifier in S-expression") "\0" - gettext_noop ("String too long in S-expression") "\0" - gettext_noop ("Unmatched parentheses in S-expression") "\0" - gettext_noop ("S-expression not canonical") "\0" - gettext_noop ("Bad character in S-expression") "\0" - gettext_noop ("Bad quotation in S-expression") "\0" - gettext_noop ("Zero prefix in S-expression") "\0" - gettext_noop ("Nested display hints in S-expression") "\0" - gettext_noop ("Unmatched display hints") "\0" - gettext_noop ("Unexpected reserved punctuation in S-expression") "\0" - gettext_noop ("Bad hexadecimal character in S-expression") "\0" - gettext_noop ("Odd hexadecimal numbers in S-expression") "\0" - gettext_noop ("Bad octal character in S-expression") "\0" - gettext_noop ("General IPC error") "\0" - gettext_noop ("IPC accept call failed") "\0" - gettext_noop ("IPC connect call failed") "\0" - gettext_noop ("Invalid IPC response") "\0" - gettext_noop ("Invalid value passed to IPC") "\0" - gettext_noop ("Incomplete line passed to IPC") "\0" - gettext_noop ("Line passed to IPC too long") "\0" - gettext_noop ("Nested IPC commands") "\0" - gettext_noop ("No data callback in IPC") "\0" - gettext_noop ("No inquire callback in IPC") "\0" - gettext_noop ("Not an IPC server") "\0" - gettext_noop ("Not an IPC client") "\0" - gettext_noop ("Problem starting IPC server") "\0" - gettext_noop ("IPC read error") "\0" - gettext_noop ("IPC write error") "\0" - gettext_noop ("Too much data for IPC layer") "\0" - gettext_noop ("Unexpected IPC command") "\0" - gettext_noop ("Unknown IPC command") "\0" - gettext_noop ("IPC syntax error") "\0" - gettext_noop ("IPC call has been cancelled") "\0" - gettext_noop ("No input source for IPC") "\0" - gettext_noop ("No output source for IPC") "\0" - gettext_noop ("IPC parameter error") "\0" - gettext_noop ("Unknown IPC inquire") "\0" - gettext_noop ("User defined error code 1") "\0" - gettext_noop ("User defined error code 2") "\0" - gettext_noop ("User defined error code 3") "\0" - gettext_noop ("User defined error code 4") "\0" - gettext_noop ("User defined error code 5") "\0" - gettext_noop ("User defined error code 6") "\0" - gettext_noop ("User defined error code 7") "\0" - gettext_noop ("User defined error code 8") "\0" - gettext_noop ("User defined error code 9") "\0" - gettext_noop ("User defined error code 10") "\0" - gettext_noop ("User defined error code 11") "\0" - gettext_noop ("User defined error code 12") "\0" - gettext_noop ("User defined error code 13") "\0" - gettext_noop ("User defined error code 14") "\0" - gettext_noop ("User defined error code 15") "\0" - gettext_noop ("User defined error code 16") "\0" - gettext_noop ("System error w/o errno") "\0" - gettext_noop ("Unknown system error") "\0" - gettext_noop ("End of file") "\0" - gettext_noop ("Unknown error code"); - -static const int msgidx[] = - { - 0, - 8, - 22, - 37, - 63, - 92, - 117, - 132, - 147, - 161, - 175, - 190, - 205, - 230, - 243, - 258, - 272, - 283, - 297, - 319, - 335, - 365, - 385, - 409, - 435, - 460, - 478, - 487, - 497, - 513, - 526, - 540, - 559, - 583, - 603, - 619, - 634, - 650, - 666, - 683, - 697, - 713, - 740, - 757, - 777, - 796, - 813, - 833, - 845, - 859, - 872, - 888, - 907, - 926, - 946, - 966, - 980, - 1002, - 1022, - 1030, - 1034, - 1048, - 1071, - 1079, - 1094, - 1107, - 1122, - 1151, - 1180, - 1203, - 1219, - 1235, - 1255, - 1268, - 1283, - 1300, - 1316, - 1333, - 1350, - 1362, - 1375, - 1406, - 1427, - 1447, - 1468, - 1490, - 1502, - 1517, - 1525, - 1538, - 1547, - 1565, - 1576, - 1587, - 1601, - 1621, - 1634, - 1646, - 1660, - 1672, - 1692, - 1711, - 1731, - 1753, - 1777, - 1798, - 1821, - 1842, - 1857, - 1868, - 1888, - 1901, - 1914, - 1931, - 1953, - 1967, - 1987, - 2003, - 2017, - 2028, - 2048, - 2071, - 2092, - 2107, - 2128, - 2150, - 2166, - 2180, - 2196, - 2210, - 2227, - 2239, - 2271, - 2291, - 2303, - 2313, - 2325, - 2343, - 2364, - 2376, - 2391, - 2408, - 2423, - 2439, - 2453, - 2472, - 2491, - 2514, - 2535, - 2559, - 2577, - 2599, - 2622, - 2640, - 2652, - 2670, - 2687, - 2701, - 2718, - 2733, - 2756, - 2775, - 2788, - 2807, - 2831, - 2858, - 2871, - 2896, - 2907, - 2926, - 2938, - 2954, - 2972, - 2999, - 3006, - 3021, - 3037, - 3053, - 3073, - 3086, - 3098, - 3115, - 3127, - 3144, - 3158, - 3185, - 3202, - 3243, - 3275, - 3313, - 3340, - 3370, - 3400, - 3428, - 3465, - 3489, - 3537, - 3579, - 3619, - 3655, - 3673, - 3696, - 3720, - 3741, - 3769, - 3799, - 3827, - 3847, - 3871, - 3898, - 3916, - 3934, - 3962, - 3977, - 3993, - 4021, - 4044, - 4064, - 4081, - 4109, - 4133, - 4158, - 4178, - 4198, - 4224, - 4250, - 4276, - 4302, - 4328, - 4354, - 4380, - 4406, - 4432, - 4459, - 4486, - 4513, - 4540, - 4567, - 4594, - 4621, - 4644, - 4665, - 4677 - }; - -static inline int -msgidxof (int code) -{ - return (0 ? 0 - : ((code >= 0) && (code <= 183)) ? (code - 0) - : ((code >= 199) && (code <= 213)) ? (code - 15) - : ((code >= 257) && (code <= 271)) ? (code - 58) - : ((code >= 273) && (code <= 281)) ? (code - 59) - : ((code >= 1024) && (code <= 1039)) ? (code - 801) - : ((code >= 16381) && (code <= 16383)) ? (code - 16142) - : 16384 - 16142); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h.in deleted file mode 100644 index 8b40861644..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-codes.h.in +++ /dev/null @@ -1,298 +0,0 @@ -# err-codes.h.in - List of error codes and their description input file. -/* err-codes.h - List of error codes and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -# Everything up to the first line that starts with a number in the -# first column is copied into the output verbatim. Then, empty lines -# are ignored. Other lines must have an error code number, followed -# by one or more <tab> characters, followed by the error code symbol, -# followed by one or more <tab> characters, followed by the error -# message. Trailing whitespace is removed. The error codes should be -# sorted. The last line should not have a number, but only a <tab>, -# followed by a dummy field, followed by a <tab>, followed by a -# description for error codes that are not in the list. - -0 GPG_ERR_NO_ERROR Success -1 GPG_ERR_GENERAL General error -2 GPG_ERR_UNKNOWN_PACKET Unknown packet -3 GPG_ERR_UNKNOWN_VERSION Unknown version in packet -4 GPG_ERR_PUBKEY_ALGO Invalid public key algorithm -5 GPG_ERR_DIGEST_ALGO Invalid digest algorithm -6 GPG_ERR_BAD_PUBKEY Bad public key -7 GPG_ERR_BAD_SECKEY Bad secret key -8 GPG_ERR_BAD_SIGNATURE Bad signature -9 GPG_ERR_NO_PUBKEY No public key -10 GPG_ERR_CHECKSUM Checksum error -11 GPG_ERR_BAD_PASSPHRASE Bad passphrase -12 GPG_ERR_CIPHER_ALGO Invalid cipher algorithm -13 GPG_ERR_KEYRING_OPEN Keyring open -14 GPG_ERR_INV_PACKET Invalid packet -15 GPG_ERR_INV_ARMOR Invalid armor -16 GPG_ERR_NO_USER_ID No user ID -17 GPG_ERR_NO_SECKEY No secret key -18 GPG_ERR_WRONG_SECKEY Wrong secret key used -19 GPG_ERR_BAD_KEY Bad session key -20 GPG_ERR_COMPR_ALGO Unknown compression algorithm -21 GPG_ERR_NO_PRIME Number is not prime -22 GPG_ERR_NO_ENCODING_METHOD Invalid encoding method -23 GPG_ERR_NO_ENCRYPTION_SCHEME Invalid encryption scheme -24 GPG_ERR_NO_SIGNATURE_SCHEME Invalid signature scheme -25 GPG_ERR_INV_ATTR Invalid attribute -26 GPG_ERR_NO_VALUE No value -27 GPG_ERR_NOT_FOUND Not found -28 GPG_ERR_VALUE_NOT_FOUND Value not found -29 GPG_ERR_SYNTAX Syntax error -30 GPG_ERR_BAD_MPI Bad MPI value -31 GPG_ERR_INV_PASSPHRASE Invalid passphrase -32 GPG_ERR_SIG_CLASS Invalid signature class -33 GPG_ERR_RESOURCE_LIMIT Resources exhausted -34 GPG_ERR_INV_KEYRING Invalid keyring -35 GPG_ERR_TRUSTDB Trust DB error -36 GPG_ERR_BAD_CERT Bad certificate -37 GPG_ERR_INV_USER_ID Invalid user ID -38 GPG_ERR_UNEXPECTED Unexpected error -39 GPG_ERR_TIME_CONFLICT Time conflict -40 GPG_ERR_KEYSERVER Keyserver error -41 GPG_ERR_WRONG_PUBKEY_ALGO Wrong public key algorithm -42 GPG_ERR_TRIBUTE_TO_D_A Tribute to D. A. -43 GPG_ERR_WEAK_KEY Weak encryption key -44 GPG_ERR_INV_KEYLEN Invalid key length -45 GPG_ERR_INV_ARG Invalid argument -46 GPG_ERR_BAD_URI Syntax error in URI -47 GPG_ERR_INV_URI Invalid URI -48 GPG_ERR_NETWORK Network error -49 GPG_ERR_UNKNOWN_HOST Unknown host -50 GPG_ERR_SELFTEST_FAILED Selftest failed -51 GPG_ERR_NOT_ENCRYPTED Data not encrypted -52 GPG_ERR_NOT_PROCESSED Data not processed -53 GPG_ERR_UNUSABLE_PUBKEY Unusable public key -54 GPG_ERR_UNUSABLE_SECKEY Unusable secret key -55 GPG_ERR_INV_VALUE Invalid value -56 GPG_ERR_BAD_CERT_CHAIN Bad certificate chain -57 GPG_ERR_MISSING_CERT Missing certificate -58 GPG_ERR_NO_DATA No data -59 GPG_ERR_BUG Bug -60 GPG_ERR_NOT_SUPPORTED Not supported -61 GPG_ERR_INV_OP Invalid operation code -62 GPG_ERR_TIMEOUT Timeout -63 GPG_ERR_INTERNAL Internal error -64 GPG_ERR_EOF_GCRYPT EOF (gcrypt) -65 GPG_ERR_INV_OBJ Invalid object -66 GPG_ERR_TOO_SHORT Provided object is too short -67 GPG_ERR_TOO_LARGE Provided object is too large -68 GPG_ERR_NO_OBJ Missing item in object -69 GPG_ERR_NOT_IMPLEMENTED Not implemented -70 GPG_ERR_CONFLICT Conflicting use -71 GPG_ERR_INV_CIPHER_MODE Invalid cipher mode -72 GPG_ERR_INV_FLAG Invalid flag -73 GPG_ERR_INV_HANDLE Invalid handle -74 GPG_ERR_TRUNCATED Result truncated -75 GPG_ERR_INCOMPLETE_LINE Incomplete line -76 GPG_ERR_INV_RESPONSE Invalid response -77 GPG_ERR_NO_AGENT No agent running -78 GPG_ERR_AGENT agent error -79 GPG_ERR_INV_DATA Invalid data -80 GPG_ERR_ASSUAN_SERVER_FAULT Unspecific Assuan server fault -81 GPG_ERR_ASSUAN General Assuan error -82 GPG_ERR_INV_SESSION_KEY Invalid session key -83 GPG_ERR_INV_SEXP Invalid S-expression -84 GPG_ERR_UNSUPPORTED_ALGORITHM Unsupported algorithm -85 GPG_ERR_NO_PIN_ENTRY No pinentry -86 GPG_ERR_PIN_ENTRY pinentry error -87 GPG_ERR_BAD_PIN Bad PIN -88 GPG_ERR_INV_NAME Invalid name -89 GPG_ERR_BAD_DATA Bad data -90 GPG_ERR_INV_PARAMETER Invalid parameter -91 GPG_ERR_WRONG_CARD Wrong card -92 GPG_ERR_NO_DIRMNGR No dirmngr -93 GPG_ERR_DIRMNGR dirmngr error -94 GPG_ERR_CERT_REVOKED Certificate revoked -95 GPG_ERR_NO_CRL_KNOWN No CRL known -96 GPG_ERR_CRL_TOO_OLD CRL too old -97 GPG_ERR_LINE_TOO_LONG Line too long -98 GPG_ERR_NOT_TRUSTED Not trusted -99 GPG_ERR_CANCELED Operation cancelled -100 GPG_ERR_BAD_CA_CERT Bad CA certificate -101 GPG_ERR_CERT_EXPIRED Certificate expired -102 GPG_ERR_CERT_TOO_YOUNG Certificate too young -103 GPG_ERR_UNSUPPORTED_CERT Unsupported certificate -104 GPG_ERR_UNKNOWN_SEXP Unknown S-expression -105 GPG_ERR_UNSUPPORTED_PROTECTION Unsupported protection -106 GPG_ERR_CORRUPTED_PROTECTION Corrupted protection -107 GPG_ERR_AMBIGUOUS_NAME Ambiguous name -108 GPG_ERR_CARD Card error -109 GPG_ERR_CARD_RESET Card reset required -110 GPG_ERR_CARD_REMOVED Card removed -111 GPG_ERR_INV_CARD Invalid card -112 GPG_ERR_CARD_NOT_PRESENT Card not present -113 GPG_ERR_NO_PKCS15_APP No PKCS15 application -114 GPG_ERR_NOT_CONFIRMED Not confirmed -115 GPG_ERR_CONFIGURATION Configuration error -116 GPG_ERR_NO_POLICY_MATCH No policy match -117 GPG_ERR_INV_INDEX Invalid index -118 GPG_ERR_INV_ID Invalid ID -119 GPG_ERR_NO_SCDAEMON No SmartCard daemon -120 GPG_ERR_SCDAEMON SmartCard daemon error -121 GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol -122 GPG_ERR_BAD_PIN_METHOD Bad PIN method -123 GPG_ERR_CARD_NOT_INITIALIZED Card not initialized -124 GPG_ERR_UNSUPPORTED_OPERATION Unsupported operation -125 GPG_ERR_WRONG_KEY_USAGE Wrong key usage -126 GPG_ERR_NOTHING_FOUND Nothing found -127 GPG_ERR_WRONG_BLOB_TYPE Wrong blob type -128 GPG_ERR_MISSING_VALUE Missing value -129 GPG_ERR_HARDWARE Hardware problem -130 GPG_ERR_PIN_BLOCKED PIN blocked -131 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied -132 GPG_ERR_PIN_NOT_SYNCED PINs are not synced -133 GPG_ERR_INV_CRL Invalid CRL -134 GPG_ERR_BAD_BER BER error -135 GPG_ERR_INV_BER Invalid BER -136 GPG_ERR_ELEMENT_NOT_FOUND Element not found -137 GPG_ERR_IDENTIFIER_NOT_FOUND Identifier not found -138 GPG_ERR_INV_TAG Invalid tag -139 GPG_ERR_INV_LENGTH Invalid length -140 GPG_ERR_INV_KEYINFO Invalid key info -141 GPG_ERR_UNEXPECTED_TAG Unexpected tag -142 GPG_ERR_NOT_DER_ENCODED Not DER encoded -143 GPG_ERR_NO_CMS_OBJ No CMS object -144 GPG_ERR_INV_CMS_OBJ Invalid CMS object -145 GPG_ERR_UNKNOWN_CMS_OBJ Unknown CMS object -146 GPG_ERR_UNSUPPORTED_CMS_OBJ Unsupported CMS object -147 GPG_ERR_UNSUPPORTED_ENCODING Unsupported encoding -148 GPG_ERR_UNSUPPORTED_CMS_VERSION Unsupported CMS version -149 GPG_ERR_UNKNOWN_ALGORITHM Unknown algorithm -150 GPG_ERR_INV_ENGINE Invalid crypto engine -151 GPG_ERR_PUBKEY_NOT_TRUSTED Public key not trusted -152 GPG_ERR_DECRYPT_FAILED Decryption failed -153 GPG_ERR_KEY_EXPIRED Key expired -154 GPG_ERR_SIG_EXPIRED Signature expired -155 GPG_ERR_ENCODING_PROBLEM Encoding problem -156 GPG_ERR_INV_STATE Invalid state -157 GPG_ERR_DUP_VALUE Duplicated value -158 GPG_ERR_MISSING_ACTION Missing action -159 GPG_ERR_MODULE_NOT_FOUND ASN.1 module not found -160 GPG_ERR_INV_OID_STRING Invalid OID string -161 GPG_ERR_INV_TIME Invalid time -162 GPG_ERR_INV_CRL_OBJ Invalid CRL object -163 GPG_ERR_UNSUPPORTED_CRL_VERSION Unsupported CRL version -164 GPG_ERR_INV_CERT_OBJ Invalid certificate object -165 GPG_ERR_UNKNOWN_NAME Unknown name -166 GPG_ERR_LOCALE_PROBLEM A locale function failed -167 GPG_ERR_NOT_LOCKED Not locked -168 GPG_ERR_PROTOCOL_VIOLATION Protocol violation -169 GPG_ERR_INV_MAC Invalid MAC -170 GPG_ERR_INV_REQUEST Invalid request -171 GPG_ERR_UNKNOWN_EXTN Unknown extension -172 GPG_ERR_UNKNOWN_CRIT_EXTN Unknown critical extension -173 GPG_ERR_LOCKED Locked -174 GPG_ERR_UNKNOWN_OPTION Unknown option -175 GPG_ERR_UNKNOWN_COMMAND Unknown command -176 GPG_ERR_NOT_OPERATIONAL Not operational -177 GPG_ERR_NO_PASSPHRASE No passphrase given -178 GPG_ERR_NO_PIN No PIN given -179 GPG_ERR_NOT_ENABLED Not enabled -180 GPG_ERR_NO_ENGINE No crypto engine -181 GPG_ERR_MISSING_KEY Missing key -182 GPG_ERR_TOO_MANY Too many objects -183 GPG_ERR_LIMIT_REACHED Limit reached -# 184 to 198 are free to be used. - -199 GPG_ERR_UNFINISHED Operation not yet finished -200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short - -# Error codes pertaining to S-expressions. - -201 GPG_ERR_SEXP_INV_LEN_SPEC Invalid length specifier in S-expression -202 GPG_ERR_SEXP_STRING_TOO_LONG String too long in S-expression -203 GPG_ERR_SEXP_UNMATCHED_PAREN Unmatched parentheses in S-expression -204 GPG_ERR_SEXP_NOT_CANONICAL S-expression not canonical -205 GPG_ERR_SEXP_BAD_CHARACTER Bad character in S-expression -206 GPG_ERR_SEXP_BAD_QUOTATION Bad quotation in S-expression -207 GPG_ERR_SEXP_ZERO_PREFIX Zero prefix in S-expression -208 GPG_ERR_SEXP_NESTED_DH Nested display hints in S-expression -209 GPG_ERR_SEXP_UNMATCHED_DH Unmatched display hints -210 GPG_ERR_SEXP_UNEXPECTED_PUNC Unexpected reserved punctuation in S-expression -211 GPG_ERR_SEXP_BAD_HEX_CHAR Bad hexadecimal character in S-expression -212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression -213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression - -# 214 to 254 are free to be used. 255 and 256 are RFU. - -# Error codes pertaining to the Assuan IPC interface -257 GPG_ERR_ASS_GENERAL General IPC error -258 GPG_ERR_ASS_ACCEPT_FAILED IPC accept call failed -259 GPG_ERR_ASS_CONNECT_FAILED IPC connect call failed -260 GPG_ERR_ASS_INV_RESPONSE Invalid IPC response -261 GPG_ERR_ASS_INV_VALUE Invalid value passed to IPC -262 GPG_ERR_ASS_INCOMPLETE_LINE Incomplete line passed to IPC -263 GPG_ERR_ASS_LINE_TOO_LONG Line passed to IPC too long -264 GPG_ERR_ASS_NESTED_COMMANDS Nested IPC commands -265 GPG_ERR_ASS_NO_DATA_CB No data callback in IPC -266 GPG_ERR_ASS_NO_INQUIRE_CB No inquire callback in IPC -267 GPG_ERR_ASS_NOT_A_SERVER Not an IPC server -268 GPG_ERR_ASS_NOT_A_CLIENT Not an IPC client -269 GPG_ERR_ASS_SERVER_START Problem starting IPC server -270 GPG_ERR_ASS_READ_ERROR IPC read error -271 GPG_ERR_ASS_WRITE_ERROR IPC write error -# reserved -273 GPG_ERR_ASS_TOO_MUCH_DATA Too much data for IPC layer -274 GPG_ERR_ASS_UNEXPECTED_CMD Unexpected IPC command -275 GPG_ERR_ASS_UNKNOWN_CMD Unknown IPC command -276 GPG_ERR_ASS_SYNTAX IPC syntax error -277 GPG_ERR_ASS_CANCELED IPC call has been cancelled -278 GPG_ERR_ASS_NO_INPUT No input source for IPC -279 GPG_ERR_ASS_NO_OUTPUT No output source for IPC -280 GPG_ERR_ASS_PARAMETER IPC parameter error -281 GPG_ERR_ASS_UNKNOWN_INQUIRE Unknown IPC inquire - -# 282 to 299 are reserved for future assuan codes. - -# 300 to 1023 are free to be used. - -# For free use by non-GnuPG components. -1024 GPG_ERR_USER_1 User defined error code 1 -1025 GPG_ERR_USER_2 User defined error code 2 -1026 GPG_ERR_USER_3 User defined error code 3 -1027 GPG_ERR_USER_4 User defined error code 4 -1028 GPG_ERR_USER_5 User defined error code 5 -1029 GPG_ERR_USER_6 User defined error code 6 -1030 GPG_ERR_USER_7 User defined error code 7 -1031 GPG_ERR_USER_8 User defined error code 8 -1032 GPG_ERR_USER_9 User defined error code 9 -1033 GPG_ERR_USER_10 User defined error code 10 -1034 GPG_ERR_USER_11 User defined error code 11 -1035 GPG_ERR_USER_12 User defined error code 12 -1036 GPG_ERR_USER_13 User defined error code 13 -1037 GPG_ERR_USER_14 User defined error code 14 -1038 GPG_ERR_USER_15 User defined error code 15 -1039 GPG_ERR_USER_16 User defined error code 16 - -# 1040 to 16380 are free to be used. - -16381 GPG_ERR_MISSING_ERRNO System error w/o errno -16382 GPG_ERR_UNKNOWN_ERRNO Unknown system error -16383 GPG_ERR_EOF End of file - -# 16384 - 32767 are reserved for future extensions. - -# GPG_SYSTEM_ERROR | (141 to 32767) are to be used for system errors. - - GPG_ERR_CODE_DIM Unknown error code diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources-sym.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources-sym.h deleted file mode 100644 index 62b8cb1618..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources-sym.h +++ /dev/null @@ -1,82 +0,0 @@ -/* Output of mkstrtable.awk. DO NOT EDIT. */ - -/* err-sources.h - List of error sources and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - -/* The purpose of this complex string table is to produce - optimal code with a minimum of relocations. */ - -static const char msgstr[] = - "GPG_ERR_SOURCE_UNKNOWN" "\0" - "GPG_ERR_SOURCE_GCRYPT" "\0" - "GPG_ERR_SOURCE_GPG" "\0" - "GPG_ERR_SOURCE_GPGSM" "\0" - "GPG_ERR_SOURCE_GPGAGENT" "\0" - "GPG_ERR_SOURCE_PINENTRY" "\0" - "GPG_ERR_SOURCE_SCD" "\0" - "GPG_ERR_SOURCE_GPGME" "\0" - "GPG_ERR_SOURCE_KEYBOX" "\0" - "GPG_ERR_SOURCE_KSBA" "\0" - "GPG_ERR_SOURCE_DIRMNGR" "\0" - "GPG_ERR_SOURCE_GSTI" "\0" - "GPG_ERR_SOURCE_GPA" "\0" - "GPG_ERR_SOURCE_KLEO" "\0" - "GPG_ERR_SOURCE_G13" "\0" - "GPG_ERR_SOURCE_ANY" "\0" - "GPG_ERR_SOURCE_USER_1" "\0" - "GPG_ERR_SOURCE_USER_2" "\0" - "GPG_ERR_SOURCE_USER_3" "\0" - "GPG_ERR_SOURCE_USER_4" "\0" - "GPG_ERR_SOURCE_DIM"; - -static const int msgidx[] = - { - 0, - 23, - 45, - 64, - 85, - 109, - 133, - 152, - 173, - 195, - 215, - 238, - 258, - 277, - 297, - 316, - 335, - 357, - 379, - 401, - 423 - }; - -static inline int -msgidxof (int code) -{ - return (0 ? 0 - : ((code >= 0) && (code <= 14)) ? (code - 0) - : ((code >= 31) && (code <= 35)) ? (code - 16) - : 36 - 16); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h deleted file mode 100644 index 0fcc551e2c..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h +++ /dev/null @@ -1,82 +0,0 @@ -/* Output of mkstrtable.awk. DO NOT EDIT. */ - -/* err-sources.h - List of error sources and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - -/* The purpose of this complex string table is to produce - optimal code with a minimum of relocations. */ - -static const char msgstr[] = - gettext_noop ("Unspecified source") "\0" - gettext_noop ("gcrypt") "\0" - gettext_noop ("GnuPG") "\0" - gettext_noop ("GpgSM") "\0" - gettext_noop ("GPG Agent") "\0" - gettext_noop ("Pinentry") "\0" - gettext_noop ("SCD") "\0" - gettext_noop ("GPGME") "\0" - gettext_noop ("Keybox") "\0" - gettext_noop ("KSBA") "\0" - gettext_noop ("Dirmngr") "\0" - gettext_noop ("GSTI") "\0" - gettext_noop ("GPA") "\0" - gettext_noop ("Kleopatra") "\0" - gettext_noop ("G13") "\0" - gettext_noop ("Any source") "\0" - gettext_noop ("User defined source 1") "\0" - gettext_noop ("User defined source 2") "\0" - gettext_noop ("User defined source 3") "\0" - gettext_noop ("User defined source 4") "\0" - gettext_noop ("Unknown source"); - -static const int msgidx[] = - { - 0, - 19, - 26, - 32, - 38, - 48, - 57, - 61, - 67, - 74, - 79, - 87, - 92, - 96, - 106, - 110, - 121, - 143, - 165, - 187, - 209 - }; - -static inline int -msgidxof (int code) -{ - return (0 ? 0 - : ((code >= 0) && (code <= 14)) ? (code - 0) - : ((code >= 31) && (code <= 35)) ? (code - 16) - : 36 - 16); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h.in deleted file mode 100644 index d200fc6c31..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/err-sources.h.in +++ /dev/null @@ -1,58 +0,0 @@ -# err-sources.h.in - List of error sources and their description input file. -/* err-sources.h - List of error sources and their description. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -# Everything up to the first line that starts with a number in the -# first column is copied into the output verbatim. Then, empty lines -# are ignored. Other lines must have an error source number, followed -# by one or more <tab> characters, followed by the error source -# symbol, followed by one or more <tab> characters, followed by the -# error source name. Trailing whitespace is removed. The error -# sources should be sorted. The last line should not have a number, -# but only a <tab>, followed by a description for error sources that -# are not in the list. - -0 GPG_ERR_SOURCE_UNKNOWN Unspecified source -1 GPG_ERR_SOURCE_GCRYPT gcrypt -2 GPG_ERR_SOURCE_GPG GnuPG -3 GPG_ERR_SOURCE_GPGSM GpgSM -4 GPG_ERR_SOURCE_GPGAGENT GPG Agent -5 GPG_ERR_SOURCE_PINENTRY Pinentry -6 GPG_ERR_SOURCE_SCD SCD -7 GPG_ERR_SOURCE_GPGME GPGME -8 GPG_ERR_SOURCE_KEYBOX Keybox -9 GPG_ERR_SOURCE_KSBA KSBA -10 GPG_ERR_SOURCE_DIRMNGR Dirmngr -11 GPG_ERR_SOURCE_GSTI GSTI -12 GPG_ERR_SOURCE_GPA GPA -13 GPG_ERR_SOURCE_KLEO Kleopatra -14 GPG_ERR_SOURCE_G13 G13 - -# 15 to 30 are free to be used. - -31 GPG_ERR_SOURCE_ANY Any source -32 GPG_ERR_SOURCE_USER_1 User defined source 1 -33 GPG_ERR_SOURCE_USER_2 User defined source 2 -34 GPG_ERR_SOURCE_USER_3 User defined source 3 -35 GPG_ERR_SOURCE_USER_4 User defined source 4 - -# 36 to 255 are free to be used. - - GPG_ERR_SOURCE_DIM Unknown source diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos-sym.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos-sym.h deleted file mode 100644 index 8bcb8ed946..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos-sym.h +++ /dev/null @@ -1,323 +0,0 @@ -/* Output of mkstrtable.awk. DO NOT EDIT. */ - -/* errnos.h - List of system error values. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - - - -/* The purpose of this complex string table is to produce - optimal code with a minimum of relocations. */ - -static const char errnos_msgstr[] = - "GPG_ERR_E2BIG" "\0" - "GPG_ERR_EACCES" "\0" - "GPG_ERR_EADDRINUSE" "\0" - "GPG_ERR_EADDRNOTAVAIL" "\0" - "GPG_ERR_EADV" "\0" - "GPG_ERR_EAFNOSUPPORT" "\0" - "GPG_ERR_EAGAIN" "\0" - "GPG_ERR_EALREADY" "\0" - "GPG_ERR_EAUTH" "\0" - "GPG_ERR_EBACKGROUND" "\0" - "GPG_ERR_EBADE" "\0" - "GPG_ERR_EBADF" "\0" - "GPG_ERR_EBADFD" "\0" - "GPG_ERR_EBADMSG" "\0" - "GPG_ERR_EBADR" "\0" - "GPG_ERR_EBADRPC" "\0" - "GPG_ERR_EBADRQC" "\0" - "GPG_ERR_EBADSLT" "\0" - "GPG_ERR_EBFONT" "\0" - "GPG_ERR_EBUSY" "\0" - "GPG_ERR_ECANCELED" "\0" - "GPG_ERR_ECHILD" "\0" - "GPG_ERR_ECHRNG" "\0" - "GPG_ERR_ECOMM" "\0" - "GPG_ERR_ECONNABORTED" "\0" - "GPG_ERR_ECONNREFUSED" "\0" - "GPG_ERR_ECONNRESET" "\0" - "GPG_ERR_ED" "\0" - "GPG_ERR_EDEADLK" "\0" - "GPG_ERR_EDEADLOCK" "\0" - "GPG_ERR_EDESTADDRREQ" "\0" - "GPG_ERR_EDIED" "\0" - "GPG_ERR_EDOM" "\0" - "GPG_ERR_EDOTDOT" "\0" - "GPG_ERR_EDQUOT" "\0" - "GPG_ERR_EEXIST" "\0" - "GPG_ERR_EFAULT" "\0" - "GPG_ERR_EFBIG" "\0" - "GPG_ERR_EFTYPE" "\0" - "GPG_ERR_EGRATUITOUS" "\0" - "GPG_ERR_EGREGIOUS" "\0" - "GPG_ERR_EHOSTDOWN" "\0" - "GPG_ERR_EHOSTUNREACH" "\0" - "GPG_ERR_EIDRM" "\0" - "GPG_ERR_EIEIO" "\0" - "GPG_ERR_EILSEQ" "\0" - "GPG_ERR_EINPROGRESS" "\0" - "GPG_ERR_EINTR" "\0" - "GPG_ERR_EINVAL" "\0" - "GPG_ERR_EIO" "\0" - "GPG_ERR_EISCONN" "\0" - "GPG_ERR_EISDIR" "\0" - "GPG_ERR_EISNAM" "\0" - "GPG_ERR_EL2HLT" "\0" - "GPG_ERR_EL2NSYNC" "\0" - "GPG_ERR_EL3HLT" "\0" - "GPG_ERR_EL3RST" "\0" - "GPG_ERR_ELIBACC" "\0" - "GPG_ERR_ELIBBAD" "\0" - "GPG_ERR_ELIBEXEC" "\0" - "GPG_ERR_ELIBMAX" "\0" - "GPG_ERR_ELIBSCN" "\0" - "GPG_ERR_ELNRNG" "\0" - "GPG_ERR_ELOOP" "\0" - "GPG_ERR_EMEDIUMTYPE" "\0" - "GPG_ERR_EMFILE" "\0" - "GPG_ERR_EMLINK" "\0" - "GPG_ERR_EMSGSIZE" "\0" - "GPG_ERR_EMULTIHOP" "\0" - "GPG_ERR_ENAMETOOLONG" "\0" - "GPG_ERR_ENAVAIL" "\0" - "GPG_ERR_ENEEDAUTH" "\0" - "GPG_ERR_ENETDOWN" "\0" - "GPG_ERR_ENETRESET" "\0" - "GPG_ERR_ENETUNREACH" "\0" - "GPG_ERR_ENFILE" "\0" - "GPG_ERR_ENOANO" "\0" - "GPG_ERR_ENOBUFS" "\0" - "GPG_ERR_ENOCSI" "\0" - "GPG_ERR_ENODATA" "\0" - "GPG_ERR_ENODEV" "\0" - "GPG_ERR_ENOENT" "\0" - "GPG_ERR_ENOEXEC" "\0" - "GPG_ERR_ENOLCK" "\0" - "GPG_ERR_ENOLINK" "\0" - "GPG_ERR_ENOMEDIUM" "\0" - "GPG_ERR_ENOMEM" "\0" - "GPG_ERR_ENOMSG" "\0" - "GPG_ERR_ENONET" "\0" - "GPG_ERR_ENOPKG" "\0" - "GPG_ERR_ENOPROTOOPT" "\0" - "GPG_ERR_ENOSPC" "\0" - "GPG_ERR_ENOSR" "\0" - "GPG_ERR_ENOSTR" "\0" - "GPG_ERR_ENOSYS" "\0" - "GPG_ERR_ENOTBLK" "\0" - "GPG_ERR_ENOTCONN" "\0" - "GPG_ERR_ENOTDIR" "\0" - "GPG_ERR_ENOTEMPTY" "\0" - "GPG_ERR_ENOTNAM" "\0" - "GPG_ERR_ENOTSOCK" "\0" - "GPG_ERR_ENOTSUP" "\0" - "GPG_ERR_ENOTTY" "\0" - "GPG_ERR_ENOTUNIQ" "\0" - "GPG_ERR_ENXIO" "\0" - "GPG_ERR_EOPNOTSUPP" "\0" - "GPG_ERR_EOVERFLOW" "\0" - "GPG_ERR_EPERM" "\0" - "GPG_ERR_EPFNOSUPPORT" "\0" - "GPG_ERR_EPIPE" "\0" - "GPG_ERR_EPROCLIM" "\0" - "GPG_ERR_EPROCUNAVAIL" "\0" - "GPG_ERR_EPROGMISMATCH" "\0" - "GPG_ERR_EPROGUNAVAIL" "\0" - "GPG_ERR_EPROTO" "\0" - "GPG_ERR_EPROTONOSUPPORT" "\0" - "GPG_ERR_EPROTOTYPE" "\0" - "GPG_ERR_ERANGE" "\0" - "GPG_ERR_EREMCHG" "\0" - "GPG_ERR_EREMOTE" "\0" - "GPG_ERR_EREMOTEIO" "\0" - "GPG_ERR_ERESTART" "\0" - "GPG_ERR_EROFS" "\0" - "GPG_ERR_ERPCMISMATCH" "\0" - "GPG_ERR_ESHUTDOWN" "\0" - "GPG_ERR_ESOCKTNOSUPPORT" "\0" - "GPG_ERR_ESPIPE" "\0" - "GPG_ERR_ESRCH" "\0" - "GPG_ERR_ESRMNT" "\0" - "GPG_ERR_ESTALE" "\0" - "GPG_ERR_ESTRPIPE" "\0" - "GPG_ERR_ETIME" "\0" - "GPG_ERR_ETIMEDOUT" "\0" - "GPG_ERR_ETOOMANYREFS" "\0" - "GPG_ERR_ETXTBSY" "\0" - "GPG_ERR_EUCLEAN" "\0" - "GPG_ERR_EUNATCH" "\0" - "GPG_ERR_EUSERS" "\0" - "GPG_ERR_EWOULDBLOCK" "\0" - "GPG_ERR_EXDEV" "\0" - "GPG_ERR_EXFULL"; - -static const int errnos_msgidx[] = - { - 0, - 14, - 29, - 48, - 70, - 83, - 104, - 119, - 136, - 150, - 170, - 184, - 198, - 213, - 229, - 243, - 259, - 275, - 291, - 306, - 320, - 338, - 353, - 368, - 382, - 403, - 424, - 443, - 454, - 470, - 488, - 509, - 523, - 536, - 552, - 567, - 582, - 597, - 611, - 626, - 646, - 664, - 682, - 703, - 717, - 731, - 746, - 766, - 780, - 795, - 807, - 823, - 838, - 853, - 868, - 885, - 900, - 915, - 931, - 947, - 964, - 980, - 996, - 1011, - 1025, - 1045, - 1060, - 1075, - 1092, - 1110, - 1131, - 1147, - 1165, - 1182, - 1200, - 1220, - 1235, - 1250, - 1266, - 1281, - 1297, - 1312, - 1327, - 1343, - 1358, - 1374, - 1392, - 1407, - 1422, - 1437, - 1452, - 1472, - 1487, - 1501, - 1516, - 1531, - 1547, - 1564, - 1580, - 1598, - 1614, - 1631, - 1647, - 1662, - 1679, - 1693, - 1712, - 1730, - 1744, - 1765, - 1779, - 1796, - 1817, - 1839, - 1860, - 1875, - 1899, - 1918, - 1933, - 1949, - 1965, - 1983, - 2000, - 2014, - 2035, - 2053, - 2077, - 2092, - 2106, - 2121, - 2136, - 2153, - 2167, - 2185, - 2206, - 2222, - 2238, - 2254, - 2269, - 2289, - 2303, - - }; - -static inline int -errnos_msgidxof (int code) -{ - return (0 ? 0 - : ((code >= 0) && (code <= 140)) ? (code - 0) - : -1); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos.in deleted file mode 100644 index 0688047681..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/errnos.in +++ /dev/null @@ -1,172 +0,0 @@ -# errnos.h.in - List of system error values input file. -/* errnos.h - List of system error values. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -# Everything up to the first line that starts with a number in the -# first column is copied into the output verbatim. Then, empty lines -# are ignored. Other lines must have an error code number, followed -# by one or more <tab> characters, followed by the error name. -# -# IMPORTANT: For now, the numbering must be consecutive. Some of the -# scripts (notably mkerrnos.h) do not deal correctly with a numbering -# that is out of order or has gaps. - - -0 E2BIG -1 EACCES -2 EADDRINUSE -3 EADDRNOTAVAIL -4 EADV -5 EAFNOSUPPORT -6 EAGAIN -7 EALREADY -8 EAUTH -9 EBACKGROUND -10 EBADE -11 EBADF -12 EBADFD -13 EBADMSG -14 EBADR -15 EBADRPC -16 EBADRQC -17 EBADSLT -18 EBFONT -19 EBUSY -20 ECANCELED -21 ECHILD -22 ECHRNG -23 ECOMM -24 ECONNABORTED -25 ECONNREFUSED -26 ECONNRESET -27 ED -28 EDEADLK -29 EDEADLOCK -30 EDESTADDRREQ -31 EDIED -32 EDOM -33 EDOTDOT -34 EDQUOT -35 EEXIST -36 EFAULT -37 EFBIG -38 EFTYPE -39 EGRATUITOUS -40 EGREGIOUS -41 EHOSTDOWN -42 EHOSTUNREACH -43 EIDRM -44 EIEIO -45 EILSEQ -46 EINPROGRESS -47 EINTR -48 EINVAL -49 EIO -50 EISCONN -51 EISDIR -52 EISNAM -53 EL2HLT -54 EL2NSYNC -55 EL3HLT -56 EL3RST -57 ELIBACC -58 ELIBBAD -59 ELIBEXEC -60 ELIBMAX -61 ELIBSCN -62 ELNRNG -63 ELOOP -64 EMEDIUMTYPE -65 EMFILE -66 EMLINK -67 EMSGSIZE -68 EMULTIHOP -69 ENAMETOOLONG -70 ENAVAIL -71 ENEEDAUTH -72 ENETDOWN -73 ENETRESET -74 ENETUNREACH -75 ENFILE -76 ENOANO -77 ENOBUFS -78 ENOCSI -79 ENODATA -80 ENODEV -81 ENOENT -82 ENOEXEC -83 ENOLCK -84 ENOLINK -85 ENOMEDIUM -86 ENOMEM -87 ENOMSG -88 ENONET -89 ENOPKG -90 ENOPROTOOPT -91 ENOSPC -92 ENOSR -93 ENOSTR -94 ENOSYS -95 ENOTBLK -96 ENOTCONN -97 ENOTDIR -98 ENOTEMPTY -99 ENOTNAM -100 ENOTSOCK -101 ENOTSUP -102 ENOTTY -103 ENOTUNIQ -104 ENXIO -105 EOPNOTSUPP -106 EOVERFLOW -107 EPERM -108 EPFNOSUPPORT -109 EPIPE -110 EPROCLIM -111 EPROCUNAVAIL -112 EPROGMISMATCH -113 EPROGUNAVAIL -114 EPROTO -115 EPROTONOSUPPORT -116 EPROTOTYPE -117 ERANGE -118 EREMCHG -119 EREMOTE -120 EREMOTEIO -121 ERESTART -122 EROFS -123 ERPCMISMATCH -124 ESHUTDOWN -125 ESOCKTNOSUPPORT -126 ESPIPE -127 ESRCH -128 ESRMNT -129 ESTALE -130 ESTRPIPE -131 ETIME -132 ETIMEDOUT -133 ETOOMANYREFS -134 ETXTBSY -135 EUCLEAN -136 EUNATCH -137 EUSERS -138 EWOULDBLOCK -139 EXDEV -140 EXFULL
\ No newline at end of file diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/extra-h.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/extra-h.in deleted file mode 100644 index 197ee272f8..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/extra-h.in +++ /dev/null @@ -1,41 +0,0 @@ -## w32-add.h - Snippet to be be included into gpg-error.h. -## Comments are indicated by a double hash mark. Due to a -## peculiarity of the script the first used line must not -## start with a hash mark. - -/* Decide whether to use the format_arg attribute. */ -#if _GPG_ERR_GCC_VERSION > 20800 -# define _GPG_ERR_ATTR_FORMAT_ARG(a) __attribute__ ((__format_arg__ (a))) -#else -# define _GPG_ERR_ATTR_FORMAT_ARG(a) -#endif - -/* A lean gettext implementation based on GNU style mo files which are - required to be encoded in UTF-8. There is a limit on 65534 entries - to save some RAM. Only Germanic plural rules are supported. */ -const char *_gpg_w32_bindtextdomain (const char *domainname, - const char *dirname); -const char *_gpg_w32_textdomain (const char *domainname); -const char *_gpg_w32_gettext (const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (1); -const char *_gpg_w32_dgettext (const char *domainname, const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (2); -const char *_gpg_w32_dngettext (const char *domainname, const char *msgid1, - const char *msgid2, unsigned long int n) - _GPG_ERR_ATTR_FORMAT_ARG (2) _GPG_ERR_ATTR_FORMAT_ARG (3); -const char *_gpg_w32_gettext_localename (void); -int _gpg_w32_gettext_use_utf8 (int value); - -#ifdef GPG_ERR_ENABLE_GETTEXT_MACROS -# define bindtextdomain(a,b) _gpg_w32_bindtextdomain ((a), (b)) -# define textdomain(a) _gpg_w32_textdomain ((a)) -# define gettext(a) _gpg_w32_gettext ((a)) -# define dgettext(a,b) _gpg_w32_dgettext ((a), (b)) -# define ngettext(a,b,c) _gpg_w32_dngettext (NULL, (a), (b), (c)) -# define dngettext(a,b,c,d) _gpg_w32_dngettext ((a), (b), (c), (d)) -# define gettext_localename() _gpg_w32_gettext_localename () -# define gettext_use_utf8(a) _gpg_w32_gettext_use_utf8 (a) -#endif /*GPG_ERR_ENABLE_GETTEXT_MACROS*/ - - -EOF diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gettext.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gettext.h deleted file mode 100644 index aba29db6dd..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gettext.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Convenience header for conditional use of GNU <libintl.h>. - Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, - USA. */ - -#ifndef _LIBGETTEXT_H -#define _LIBGETTEXT_H 1 - -/* NLS can be disabled through the configure --disable-nls option. */ -#if ENABLE_NLS - -#if HAVE_W32_SYSTEM - /* We have a gettext implementation in gpg-error.h which get - included anyway. */ -#else /*!HAVE_W32_SYSTEM*/ - /* Get declarations of GNU message catalog functions. */ -# include <libintl.h> -#endif /*!HAVE_W32_SYSTEM*/ - -#else /*!ENABLE_NLS*/ - -/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which - chokes if dcgettext is defined as a macro. So include it now, to make - later inclusions of <locale.h> a NOP. We don't include <libintl.h> - as well because people using "gettext.h" will not include <libintl.h>, - and also including <libintl.h> would fail on SunOS 4, whereas <locale.h> - is OK. */ -#if defined(__sun) -# include <locale.h> -#endif - -/* Disabled NLS. - The casts to 'const char *' serve the purpose of producing warnings - for invalid uses of the value returned from these functions. - On pre-ANSI systems without 'const', the config.h file is supposed to - contain "#define const". */ -# define gettext(Msgid) ((const char *) (Msgid)) -# define dgettext(Domainname, Msgid) ((const char *) (Msgid)) -# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid)) -# define ngettext(Msgid1, Msgid2, N) \ - ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) -# define dngettext(Domainname, Msgid1, Msgid2, N) \ - ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) -# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ - ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) -# define textdomain(Domainname) ((const char *) (Domainname)) -# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) -# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) - -#endif /*!ENABLE_NLS*/ - -/* A pseudo function call that serves as a marker for the automated - extraction of messages, but does not call gettext(). The run-time - translation is done at a different place in the code. - The argument, String, should be a literal string. Concatenated strings - and other string expressions won't work. - The macro's expansion is not parenthesized, so that it is suitable as - initializer for static 'char[]' or 'const char[]' variables. */ -#define gettext_noop(String) String - - - -#endif /* _LIBGETTEXT_H */ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config deleted file mode 100644 index d4f88b22f5..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh -# Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc. -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This file is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -prefix=/usr/local -exec_prefix=${prefix} -includedir=${prefix}/include -libdir=${exec_prefix}/lib -isubdirafter="" - -output="" - -usage() -{ - cat <<EOF -Usage: gpg-error-config [OPTIONS] -Options: - [--prefix] - [--exec-prefix] - [--version] - [--libs] - [--cflags] -EOF - exit $1 -} - -if test $# -eq 0; then - usage 1 1>&2 -fi - -while test $# -gt 0; do - case "$1" in - -*=*) - optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` - ;; - *) - optarg= - ;; - esac - - case $1 in - --prefix) - output="$output $prefix" - ;; - --exec-prefix) - output="$output $exec_prefix" - ;; - --version) - echo "1.9" - exit 0 - ;; - --cflags) - if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then - output="$output -I$includedir" - fi - # Note: -idirafter is a gcc extension. It is only used on - # systems where gcc is the only compiler we support. - for i in $isubdirafter; do - output="$output -idirafter ${includedir}/${i}" - done - output="$output " - ;; - --libs) - if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then - output="$output -L$libdir" - fi - output="$output -lgpg-error" - ;; - *) - usage 1 1>&2 - ;; - esac - shift -done - -echo $output diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config.in deleted file mode 100644 index 4be034328a..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error-config.in +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh -# Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc. -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This file is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -includedir=@includedir@ -libdir=@libdir@ -isubdirafter="@GPG_ERROR_CONFIG_ISUBDIRAFTER@" - -output="" - -usage() -{ - cat <<EOF -Usage: gpg-error-config [OPTIONS] -Options: - [--prefix] - [--exec-prefix] - [--version] - [--libs] - [--cflags] -EOF - exit $1 -} - -if test $# -eq 0; then - usage 1 1>&2 -fi - -while test $# -gt 0; do - case "$1" in - -*=*) - optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` - ;; - *) - optarg= - ;; - esac - - case $1 in - --prefix) - output="$output $prefix" - ;; - --exec-prefix) - output="$output $exec_prefix" - ;; - --version) - echo "@VERSION@" - exit 0 - ;; - --cflags) - if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then - output="$output -I$includedir" - fi - # Note: -idirafter is a gcc extension. It is only used on - # systems where gcc is the only compiler we support. - for i in $isubdirafter; do - output="$output -idirafter ${includedir}/${i}" - done - output="$output @GPG_ERROR_CONFIG_CFLAGS@" - ;; - --libs) - if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then - output="$output -L$libdir" - fi - output="$output @GPG_ERROR_CONFIG_LIBS@" - ;; - *) - usage 1 1>&2 - ;; - esac - shift -done - -echo $output diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.c deleted file mode 100644 index bed784994d..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.c +++ /dev/null @@ -1,448 +0,0 @@ -/* gpg-error.c - Determining gpg-error error codes. - Copyright (C) 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stddef.h> -#include <stdlib.h> -#include <string.h> -#include <errno.h> -#include <limits.h> -#include <stdio.h> - -#ifdef HAVE_LOCALE_H -# include <locale.h> -#endif -#ifdef ENABLE_NLS -#ifdef HAVE_W32_SYSTEM -# include "gettext.h" -#else -# include <libintl.h> -#endif -# define _(a) gettext (a) -# ifdef gettext_noop -# define N_(a) gettext_noop (a) -# else -# define N_(a) (a) -# endif -#else -# define _(a) (a) -# define N_(a) (a) -#endif - -#include <gpg-error.h> - - -#if HAVE_W32_SYSTEM -/* The implementation follows below. */ -static char *get_locale_dir (void); -static void drop_locale_dir (char *locale_dir); -#else -#define get_locale_dir() LOCALEDIR -#define drop_locale_dir(dir) -#endif - -static void -i18n_init (void) -{ -#ifdef ENABLE_NLS - char *locale_dir; - -#ifdef HAVE_LC_MESSAGES - setlocale (LC_TIME, ""); - setlocale (LC_MESSAGES, ""); -#else -# ifndef HAVE_W32_SYSTEM - setlocale (LC_ALL, "" ); -# endif -#endif - - /* Note that for this program we would only need the textdomain call - because libgpg-error already initializes itself to its locale dir - (via gpg_err_init or a constructor). However this is only done - for the static standard locale and thus if the above setlocale - calls select a different locale the bindtext below will do - something else. */ - - locale_dir = get_locale_dir (); - if (locale_dir) - { - bindtextdomain (PACKAGE, locale_dir); - drop_locale_dir (locale_dir); - } - textdomain (PACKAGE); -#endif -} - - -#ifdef HAVE_W32_SYSTEM - -#include <windows.h> - - -static char * -get_locale_dir (void) -{ - static wchar_t moddir[MAX_PATH+5]; - char *result, *p; - int nbytes; - - if (!GetModuleFileNameW (NULL, moddir, MAX_PATH)) - *moddir = 0; - -#define SLDIR "\\share\\locale" - if (*moddir) - { - nbytes = WideCharToMultiByte (CP_UTF8, 0, moddir, -1, NULL, 0, NULL, NULL); - if (nbytes < 0) - return NULL; - - result = malloc (nbytes + strlen (SLDIR) + 1); - if (result) - { - nbytes = WideCharToMultiByte (CP_UTF8, 0, moddir, -1, - result, nbytes, NULL, NULL); - if (nbytes < 0) - { - free (result); - result = NULL; - } - else - { - p = strrchr (result, '\\'); - if (p) - *p = 0; - strcat (result, SLDIR); - } - } - } - else /* Use the old default value. */ - { - result = malloc (10 + strlen (SLDIR) + 1); - if (result) - { - strcpy (result, "c:\\gnupg"); - strcat (result, SLDIR); - } - } -#undef SLDIR - return result; -} - - -static void -drop_locale_dir (char *locale_dir) -{ - free (locale_dir); -} - -#endif /* HAVE_W32_SYSTEM */ - - -const char *gpg_strerror_sym (gpg_error_t err); -const char *gpg_strsource_sym (gpg_error_t err); - - -static int -get_err_from_number (char *str, gpg_error_t *err) -{ - unsigned long nr; - char *tail; - - gpg_err_set_errno (0); - nr = strtoul (str, &tail, 0); - if (errno) - return 0; - - if (nr > UINT_MAX) - return 0; - - if (*tail) - { - unsigned long cnr = strtoul (tail + 1, &tail, 0); - if (errno || *tail) - return 0; - - if (nr >= GPG_ERR_SOURCE_DIM || cnr >= GPG_ERR_CODE_DIM) - return 0; - - nr = gpg_err_make (nr, cnr); - } - - *err = (unsigned int) nr; - return 1; -} - - -static int -get_err_from_symbol_one (char *str, gpg_error_t *err, - int *have_source, int *have_code) -{ - static const char src_prefix[] = "GPG_ERR_SOURCE_"; - static const char code_prefix[] = "GPG_ERR_"; - - if (!strncasecmp (src_prefix, str, sizeof (src_prefix) - 1)) - { - gpg_err_source_t src; - - if (*have_source) - return 0; - *have_source = 1; - str += sizeof (src_prefix) - 1; - - for (src = 0; src < GPG_ERR_SOURCE_DIM; src++) - { - const char *src_sym; - - src_sym = gpg_strsource_sym (src << GPG_ERR_SOURCE_SHIFT); - if (src_sym && !strcasecmp (str, src_sym + sizeof (src_prefix) - 1)) - { - *err |= src << GPG_ERR_SOURCE_SHIFT; - return 1; - } - } - } - else if (!strncasecmp (code_prefix, str, sizeof (code_prefix) - 1)) - { - gpg_err_code_t code; - - if (*have_code) - return 0; - *have_code = 1; - str += sizeof (code_prefix) - 1; - - for (code = 0; code < GPG_ERR_CODE_DIM; code++) - { - const char *code_sym = gpg_strerror_sym (code); - if (code_sym - && !strcasecmp (str, code_sym + sizeof (code_prefix) - 1)) - { - *err |= code; - return 1; - } - } - } - return 0; -} - - -static int -get_err_from_symbol (char *str, gpg_error_t *err) -{ - char *str2 = str; - int have_source = 0; - int have_code = 0; - int ret; - char *saved_pos = NULL; - char saved_char; - - *err = 0; - while (*str2 && ((*str2 >= 'A' && *str2 <= 'Z') - || (*str2 >= '0' && *str2 <= '9') - || *str2 == '_')) - str2++; - if (*str2) - { - saved_pos = str2; - saved_char = *str2; - *str2 = '\0'; - str2++; - } - else - str2 = NULL; - - ret = get_err_from_symbol_one (str, err, &have_source, &have_code); - if (ret && str2) - ret = get_err_from_symbol_one (str2, err, &have_source, &have_code); - - if (saved_pos) - *saved_pos = saved_char; - return ret; -} - - -static int -get_err_from_str_one (char *str, gpg_error_t *err, - int *have_source, int *have_code) -{ - gpg_err_source_t src; - gpg_err_code_t code; - - for (src = 0; src < GPG_ERR_SOURCE_DIM; src++) - { - const char *src_str = gpg_strsource (src << GPG_ERR_SOURCE_SHIFT); - if (src_str && !strcasecmp (str, src_str)) - { - if (*have_source) - return 0; - - *have_source = 1; - *err |= src << GPG_ERR_SOURCE_SHIFT; - return 1; - } - } - - for (code = 0; code < GPG_ERR_CODE_DIM; code++) - { - const char *code_str = gpg_strerror (code); - if (code_str && !strcasecmp (str, code_str)) - { - if (*have_code) - return 0; - - *have_code = 1; - *err |= code; - return 1; - } - } - - return 0; -} - - -static int -get_err_from_str (char *str, gpg_error_t *err) -{ - char *str2 = str; - int have_source = 0; - int have_code = 0; - int ret; - char *saved_pos = NULL; - char saved_char; - - *err = 0; - ret = get_err_from_str_one (str, err, &have_source, &have_code); - if (ret) - return ret; - - while (*str2 && ((*str2 >= 'A' && *str2 <= 'Z') - || (*str2 >= 'a' && *str2 <= 'z') - || (*str2 >= '0' && *str2 <= '9') - || *str2 == '_')) - str2++; - if (*str2) - { - saved_pos = str2; - saved_char = *str2; - *((char *) str2) = '\0'; - str2++; - while (*str2 && !((*str2 >= 'A' && *str2 <= 'Z') - || (*str2 >= 'a' && *str2 <= 'z') - || (*str2 >= '0' && *str2 <= '9') - || *str2 == '_')) - str2++; - } - else - str2 = NULL; - - ret = get_err_from_str_one (str, err, &have_source, &have_code); - if (ret && str2) - ret = get_err_from_str_one (str2, err, &have_source, &have_code); - - if (saved_pos) - *saved_pos = saved_char; - return ret; -} - - - -int -main (int argc, char *argv[]) -{ - int i = 1; - int listmode = 0; - const char *source_sym; - const char *error_sym; - gpg_error_t err; - -#ifndef GPG_ERR_INITIALIZED - gpg_err_init (); -#endif - - i18n_init (); - - - if (argc == 1) - { - fprintf (stderr, _("Usage: %s GPG-ERROR [...]\n"), - strrchr (argv[0],'/')? (strrchr (argv[0], '/')+1): argv[0]); - exit (1); - } - else if (argc == 2 && !strcmp (argv[1], "--version")) - { - fputs ( ("gpg-error ("PACKAGE_NAME") "PACKAGE_VERSION"\n") , stdout); - exit (0); - } - else if (argc == 2 && !strcmp (argv[1], "--list")) - { - listmode = 1; - } - - - if (listmode) - { - for (i=0; i < GPG_ERR_SOURCE_DIM; i++) - { - /* We use error code 1 because gpg_err_make requires a - non-zero error code. */ - err = gpg_err_make (i, 1); - err -= 1; - source_sym = gpg_strsource_sym (err); - if (source_sym) - printf ("%u = (%u, -) = (%s, -) = (%s, -)\n", - err, gpg_err_source (err), - source_sym, gpg_strsource (err)); - } - for (i=0; i < GPG_ERR_CODE_DIM; i++) - { - err = gpg_err_make (GPG_ERR_SOURCE_UNKNOWN, i); - error_sym = gpg_strerror_sym (err); - if (error_sym) - printf ("%u = (-, %u) = (-, %s) = (-, %s)\n", - err, gpg_err_code (err), - error_sym, gpg_strerror (err)); - } - - i = argc; /* Don't run the usual stuff. */ - } - while (i < argc) - { - if (get_err_from_number (argv[i], &err) - || get_err_from_symbol (argv[i], &err) - || get_err_from_str (argv[i], &err)) - { - source_sym = gpg_strsource_sym (err); - error_sym = gpg_strerror_sym (err); - - printf ("%u = (%u, %u) = (%s, %s) = (%s, %s)\n", - err, gpg_err_source (err), gpg_err_code (err), - source_sym ? source_sym : "-", error_sym ? error_sym : "-", - gpg_strsource (err), gpg_strerror (err)); - } - else - fprintf (stderr, _("%s: warning: could not recognize %s\n"), - argv[0], argv[i]); - i++; - } - - exit (0); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def deleted file mode 100644 index 0e8c946ee6..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -EXPORTS - gpg_strerror @1 - gpg_strerror_r @2 - gpg_strsource @3 - gpg_err_code_from_errno @4 - gpg_err_code_to_errno @5 - gpg_err_init @6 - gpg_err_code_from_syserror @7 - gpg_err_set_errno @8 - - - - - - _gpg_w32_bindtextdomain @11 - _gpg_w32_textdomain @12 - _gpg_w32_gettext @13 - _gpg_w32_dgettext @14 - _gpg_w32_dngettext @15 - _gpg_w32_gettext_localename @16 - _gpg_w32_gettext_use_utf8 @17 - - gpg_err_deinit @18 diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def.in deleted file mode 100644 index cbabd57053..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.def.in +++ /dev/null @@ -1,29 +0,0 @@ -/* gpg-error.def.in - Exported symbols - * Needs to be processed by CPP. - */ - -#include <config.h> - -EXPORTS - gpg_strerror @1 - gpg_strerror_r @2 - gpg_strsource @3 - gpg_err_code_from_errno @4 - gpg_err_code_to_errno @5 - gpg_err_init @6 - gpg_err_code_from_syserror @7 - gpg_err_set_errno @8 -#ifdef HAVE_W32CE_SYSTEM - _gpg_w32ce_get_errno @9 - _gpg_w32ce_strerror @10 -#endif -#ifdef HAVE_W32_SYSTEM - _gpg_w32_bindtextdomain @11 - _gpg_w32_textdomain @12 - _gpg_w32_gettext @13 - _gpg_w32_dgettext @14 - _gpg_w32_dngettext @15 - _gpg_w32_gettext_localename @16 - _gpg_w32_gettext_use_utf8 @17 -#endif - gpg_err_deinit @18 diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.exe b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.exe Binary files differdeleted file mode 100644 index 63968b7840..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.exe +++ /dev/null diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h deleted file mode 100644 index c9e0346b4e..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h +++ /dev/null @@ -1,710 +0,0 @@ -/* Output of mkheader.awk. DO NOT EDIT. -*- buffer-read-only: t -*- */ - -/* gpg-error.h - Public interface to libgpg-error. - Copyright (C) 2003, 2004, 2010 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - - -#ifndef GPG_ERROR_H -#define GPG_ERROR_H 1 - -#include <stddef.h> - -#ifdef __GNUC__ -#define GPG_ERR_INLINE __inline__ -#elif __STDC_VERSION__ >= 199901L -#define GPG_ERR_INLINE inline -#else -#ifndef GPG_ERR_INLINE -#define GPG_ERR_INLINE -#endif -#endif - - -#ifdef __cplusplus -extern "C" { -#if 0 /* just to make Emacs auto-indent happy */ -} -#endif -#endif /* __cplusplus */ - -/* The GnuPG project consists of many components. Error codes are - exchanged between all components. The common error codes and their - user-presentable descriptions are kept into a shared library to - allow adding new error codes and components without recompiling any - of the other components. The interface will not change in a - backward incompatible way. - - An error code together with an error source build up an error - value. As the error value is been passed from one component to - another, it preserver the information about the source and nature - of the error. - - A component of the GnuPG project can define the following macros to - tune the behaviour of the library: - - GPG_ERR_SOURCE_DEFAULT: Define to an error source of type - gpg_err_source_t to make that source the default for gpg_error(). - Otherwise GPG_ERR_SOURCE_UNKNOWN is used as default. - - GPG_ERR_ENABLE_GETTEXT_MACROS: Define to provide macros to map the - internal gettext API to standard names. This has only an effect on - Windows platforms. */ - - -/* The error source type gpg_err_source_t. - - Where as the Poo out of a welle small - Taketh his firste springing and his sours. - --Chaucer. */ - -/* Only use free slots, never change or reorder the existing - entries. */ -typedef enum - { - GPG_ERR_SOURCE_UNKNOWN = 0, - GPG_ERR_SOURCE_GCRYPT = 1, - GPG_ERR_SOURCE_GPG = 2, - GPG_ERR_SOURCE_GPGSM = 3, - GPG_ERR_SOURCE_GPGAGENT = 4, - GPG_ERR_SOURCE_PINENTRY = 5, - GPG_ERR_SOURCE_SCD = 6, - GPG_ERR_SOURCE_GPGME = 7, - GPG_ERR_SOURCE_KEYBOX = 8, - GPG_ERR_SOURCE_KSBA = 9, - GPG_ERR_SOURCE_DIRMNGR = 10, - GPG_ERR_SOURCE_GSTI = 11, - GPG_ERR_SOURCE_GPA = 12, - GPG_ERR_SOURCE_KLEO = 13, - GPG_ERR_SOURCE_G13 = 14, - GPG_ERR_SOURCE_ANY = 31, - GPG_ERR_SOURCE_USER_1 = 32, - GPG_ERR_SOURCE_USER_2 = 33, - GPG_ERR_SOURCE_USER_3 = 34, - GPG_ERR_SOURCE_USER_4 = 35, - - /* This is one more than the largest allowed entry. */ - GPG_ERR_SOURCE_DIM = 128 - } gpg_err_source_t; - - -/* The error code type gpg_err_code_t. */ - -/* Only use free slots, never change or reorder the existing - entries. */ -typedef enum - { - GPG_ERR_NO_ERROR = 0, - GPG_ERR_GENERAL = 1, - GPG_ERR_UNKNOWN_PACKET = 2, - GPG_ERR_UNKNOWN_VERSION = 3, - GPG_ERR_PUBKEY_ALGO = 4, - GPG_ERR_DIGEST_ALGO = 5, - GPG_ERR_BAD_PUBKEY = 6, - GPG_ERR_BAD_SECKEY = 7, - GPG_ERR_BAD_SIGNATURE = 8, - GPG_ERR_NO_PUBKEY = 9, - GPG_ERR_CHECKSUM = 10, - GPG_ERR_BAD_PASSPHRASE = 11, - GPG_ERR_CIPHER_ALGO = 12, - GPG_ERR_KEYRING_OPEN = 13, - GPG_ERR_INV_PACKET = 14, - GPG_ERR_INV_ARMOR = 15, - GPG_ERR_NO_USER_ID = 16, - GPG_ERR_NO_SECKEY = 17, - GPG_ERR_WRONG_SECKEY = 18, - GPG_ERR_BAD_KEY = 19, - GPG_ERR_COMPR_ALGO = 20, - GPG_ERR_NO_PRIME = 21, - GPG_ERR_NO_ENCODING_METHOD = 22, - GPG_ERR_NO_ENCRYPTION_SCHEME = 23, - GPG_ERR_NO_SIGNATURE_SCHEME = 24, - GPG_ERR_INV_ATTR = 25, - GPG_ERR_NO_VALUE = 26, - GPG_ERR_NOT_FOUND = 27, - GPG_ERR_VALUE_NOT_FOUND = 28, - GPG_ERR_SYNTAX = 29, - GPG_ERR_BAD_MPI = 30, - GPG_ERR_INV_PASSPHRASE = 31, - GPG_ERR_SIG_CLASS = 32, - GPG_ERR_RESOURCE_LIMIT = 33, - GPG_ERR_INV_KEYRING = 34, - GPG_ERR_TRUSTDB = 35, - GPG_ERR_BAD_CERT = 36, - GPG_ERR_INV_USER_ID = 37, - GPG_ERR_UNEXPECTED = 38, - GPG_ERR_TIME_CONFLICT = 39, - GPG_ERR_KEYSERVER = 40, - GPG_ERR_WRONG_PUBKEY_ALGO = 41, - GPG_ERR_TRIBUTE_TO_D_A = 42, - GPG_ERR_WEAK_KEY = 43, - GPG_ERR_INV_KEYLEN = 44, - GPG_ERR_INV_ARG = 45, - GPG_ERR_BAD_URI = 46, - GPG_ERR_INV_URI = 47, - GPG_ERR_NETWORK = 48, - GPG_ERR_UNKNOWN_HOST = 49, - GPG_ERR_SELFTEST_FAILED = 50, - GPG_ERR_NOT_ENCRYPTED = 51, - GPG_ERR_NOT_PROCESSED = 52, - GPG_ERR_UNUSABLE_PUBKEY = 53, - GPG_ERR_UNUSABLE_SECKEY = 54, - GPG_ERR_INV_VALUE = 55, - GPG_ERR_BAD_CERT_CHAIN = 56, - GPG_ERR_MISSING_CERT = 57, - GPG_ERR_NO_DATA = 58, - GPG_ERR_BUG = 59, - GPG_ERR_NOT_SUPPORTED = 60, - GPG_ERR_INV_OP = 61, - GPG_ERR_TIMEOUT = 62, - GPG_ERR_INTERNAL = 63, - GPG_ERR_EOF_GCRYPT = 64, - GPG_ERR_INV_OBJ = 65, - GPG_ERR_TOO_SHORT = 66, - GPG_ERR_TOO_LARGE = 67, - GPG_ERR_NO_OBJ = 68, - GPG_ERR_NOT_IMPLEMENTED = 69, - GPG_ERR_CONFLICT = 70, - GPG_ERR_INV_CIPHER_MODE = 71, - GPG_ERR_INV_FLAG = 72, - GPG_ERR_INV_HANDLE = 73, - GPG_ERR_TRUNCATED = 74, - GPG_ERR_INCOMPLETE_LINE = 75, - GPG_ERR_INV_RESPONSE = 76, - GPG_ERR_NO_AGENT = 77, - GPG_ERR_AGENT = 78, - GPG_ERR_INV_DATA = 79, - GPG_ERR_ASSUAN_SERVER_FAULT = 80, - GPG_ERR_ASSUAN = 81, - GPG_ERR_INV_SESSION_KEY = 82, - GPG_ERR_INV_SEXP = 83, - GPG_ERR_UNSUPPORTED_ALGORITHM = 84, - GPG_ERR_NO_PIN_ENTRY = 85, - GPG_ERR_PIN_ENTRY = 86, - GPG_ERR_BAD_PIN = 87, - GPG_ERR_INV_NAME = 88, - GPG_ERR_BAD_DATA = 89, - GPG_ERR_INV_PARAMETER = 90, - GPG_ERR_WRONG_CARD = 91, - GPG_ERR_NO_DIRMNGR = 92, - GPG_ERR_DIRMNGR = 93, - GPG_ERR_CERT_REVOKED = 94, - GPG_ERR_NO_CRL_KNOWN = 95, - GPG_ERR_CRL_TOO_OLD = 96, - GPG_ERR_LINE_TOO_LONG = 97, - GPG_ERR_NOT_TRUSTED = 98, - GPG_ERR_CANCELED = 99, - GPG_ERR_BAD_CA_CERT = 100, - GPG_ERR_CERT_EXPIRED = 101, - GPG_ERR_CERT_TOO_YOUNG = 102, - GPG_ERR_UNSUPPORTED_CERT = 103, - GPG_ERR_UNKNOWN_SEXP = 104, - GPG_ERR_UNSUPPORTED_PROTECTION = 105, - GPG_ERR_CORRUPTED_PROTECTION = 106, - GPG_ERR_AMBIGUOUS_NAME = 107, - GPG_ERR_CARD = 108, - GPG_ERR_CARD_RESET = 109, - GPG_ERR_CARD_REMOVED = 110, - GPG_ERR_INV_CARD = 111, - GPG_ERR_CARD_NOT_PRESENT = 112, - GPG_ERR_NO_PKCS15_APP = 113, - GPG_ERR_NOT_CONFIRMED = 114, - GPG_ERR_CONFIGURATION = 115, - GPG_ERR_NO_POLICY_MATCH = 116, - GPG_ERR_INV_INDEX = 117, - GPG_ERR_INV_ID = 118, - GPG_ERR_NO_SCDAEMON = 119, - GPG_ERR_SCDAEMON = 120, - GPG_ERR_UNSUPPORTED_PROTOCOL = 121, - GPG_ERR_BAD_PIN_METHOD = 122, - GPG_ERR_CARD_NOT_INITIALIZED = 123, - GPG_ERR_UNSUPPORTED_OPERATION = 124, - GPG_ERR_WRONG_KEY_USAGE = 125, - GPG_ERR_NOTHING_FOUND = 126, - GPG_ERR_WRONG_BLOB_TYPE = 127, - GPG_ERR_MISSING_VALUE = 128, - GPG_ERR_HARDWARE = 129, - GPG_ERR_PIN_BLOCKED = 130, - GPG_ERR_USE_CONDITIONS = 131, - GPG_ERR_PIN_NOT_SYNCED = 132, - GPG_ERR_INV_CRL = 133, - GPG_ERR_BAD_BER = 134, - GPG_ERR_INV_BER = 135, - GPG_ERR_ELEMENT_NOT_FOUND = 136, - GPG_ERR_IDENTIFIER_NOT_FOUND = 137, - GPG_ERR_INV_TAG = 138, - GPG_ERR_INV_LENGTH = 139, - GPG_ERR_INV_KEYINFO = 140, - GPG_ERR_UNEXPECTED_TAG = 141, - GPG_ERR_NOT_DER_ENCODED = 142, - GPG_ERR_NO_CMS_OBJ = 143, - GPG_ERR_INV_CMS_OBJ = 144, - GPG_ERR_UNKNOWN_CMS_OBJ = 145, - GPG_ERR_UNSUPPORTED_CMS_OBJ = 146, - GPG_ERR_UNSUPPORTED_ENCODING = 147, - GPG_ERR_UNSUPPORTED_CMS_VERSION = 148, - GPG_ERR_UNKNOWN_ALGORITHM = 149, - GPG_ERR_INV_ENGINE = 150, - GPG_ERR_PUBKEY_NOT_TRUSTED = 151, - GPG_ERR_DECRYPT_FAILED = 152, - GPG_ERR_KEY_EXPIRED = 153, - GPG_ERR_SIG_EXPIRED = 154, - GPG_ERR_ENCODING_PROBLEM = 155, - GPG_ERR_INV_STATE = 156, - GPG_ERR_DUP_VALUE = 157, - GPG_ERR_MISSING_ACTION = 158, - GPG_ERR_MODULE_NOT_FOUND = 159, - GPG_ERR_INV_OID_STRING = 160, - GPG_ERR_INV_TIME = 161, - GPG_ERR_INV_CRL_OBJ = 162, - GPG_ERR_UNSUPPORTED_CRL_VERSION = 163, - GPG_ERR_INV_CERT_OBJ = 164, - GPG_ERR_UNKNOWN_NAME = 165, - GPG_ERR_LOCALE_PROBLEM = 166, - GPG_ERR_NOT_LOCKED = 167, - GPG_ERR_PROTOCOL_VIOLATION = 168, - GPG_ERR_INV_MAC = 169, - GPG_ERR_INV_REQUEST = 170, - GPG_ERR_UNKNOWN_EXTN = 171, - GPG_ERR_UNKNOWN_CRIT_EXTN = 172, - GPG_ERR_LOCKED = 173, - GPG_ERR_UNKNOWN_OPTION = 174, - GPG_ERR_UNKNOWN_COMMAND = 175, - GPG_ERR_NOT_OPERATIONAL = 176, - GPG_ERR_NO_PASSPHRASE = 177, - GPG_ERR_NO_PIN = 178, - GPG_ERR_NOT_ENABLED = 179, - GPG_ERR_NO_ENGINE = 180, - GPG_ERR_MISSING_KEY = 181, - GPG_ERR_TOO_MANY = 182, - GPG_ERR_LIMIT_REACHED = 183, - GPG_ERR_UNFINISHED = 199, - GPG_ERR_BUFFER_TOO_SHORT = 200, - GPG_ERR_SEXP_INV_LEN_SPEC = 201, - GPG_ERR_SEXP_STRING_TOO_LONG = 202, - GPG_ERR_SEXP_UNMATCHED_PAREN = 203, - GPG_ERR_SEXP_NOT_CANONICAL = 204, - GPG_ERR_SEXP_BAD_CHARACTER = 205, - GPG_ERR_SEXP_BAD_QUOTATION = 206, - GPG_ERR_SEXP_ZERO_PREFIX = 207, - GPG_ERR_SEXP_NESTED_DH = 208, - GPG_ERR_SEXP_UNMATCHED_DH = 209, - GPG_ERR_SEXP_UNEXPECTED_PUNC = 210, - GPG_ERR_SEXP_BAD_HEX_CHAR = 211, - GPG_ERR_SEXP_ODD_HEX_NUMBERS = 212, - GPG_ERR_SEXP_BAD_OCT_CHAR = 213, - GPG_ERR_ASS_GENERAL = 257, - GPG_ERR_ASS_ACCEPT_FAILED = 258, - GPG_ERR_ASS_CONNECT_FAILED = 259, - GPG_ERR_ASS_INV_RESPONSE = 260, - GPG_ERR_ASS_INV_VALUE = 261, - GPG_ERR_ASS_INCOMPLETE_LINE = 262, - GPG_ERR_ASS_LINE_TOO_LONG = 263, - GPG_ERR_ASS_NESTED_COMMANDS = 264, - GPG_ERR_ASS_NO_DATA_CB = 265, - GPG_ERR_ASS_NO_INQUIRE_CB = 266, - GPG_ERR_ASS_NOT_A_SERVER = 267, - GPG_ERR_ASS_NOT_A_CLIENT = 268, - GPG_ERR_ASS_SERVER_START = 269, - GPG_ERR_ASS_READ_ERROR = 270, - GPG_ERR_ASS_WRITE_ERROR = 271, - GPG_ERR_ASS_TOO_MUCH_DATA = 273, - GPG_ERR_ASS_UNEXPECTED_CMD = 274, - GPG_ERR_ASS_UNKNOWN_CMD = 275, - GPG_ERR_ASS_SYNTAX = 276, - GPG_ERR_ASS_CANCELED = 277, - GPG_ERR_ASS_NO_INPUT = 278, - GPG_ERR_ASS_NO_OUTPUT = 279, - GPG_ERR_ASS_PARAMETER = 280, - GPG_ERR_ASS_UNKNOWN_INQUIRE = 281, - GPG_ERR_USER_1 = 1024, - GPG_ERR_USER_2 = 1025, - GPG_ERR_USER_3 = 1026, - GPG_ERR_USER_4 = 1027, - GPG_ERR_USER_5 = 1028, - GPG_ERR_USER_6 = 1029, - GPG_ERR_USER_7 = 1030, - GPG_ERR_USER_8 = 1031, - GPG_ERR_USER_9 = 1032, - GPG_ERR_USER_10 = 1033, - GPG_ERR_USER_11 = 1034, - GPG_ERR_USER_12 = 1035, - GPG_ERR_USER_13 = 1036, - GPG_ERR_USER_14 = 1037, - GPG_ERR_USER_15 = 1038, - GPG_ERR_USER_16 = 1039, - GPG_ERR_MISSING_ERRNO = 16381, - GPG_ERR_UNKNOWN_ERRNO = 16382, - GPG_ERR_EOF = 16383, - - /* The following error codes are used to map system errors. */ -#define GPG_ERR_SYSTEM_ERROR (1 << 15) - GPG_ERR_E2BIG = GPG_ERR_SYSTEM_ERROR | 0, - GPG_ERR_EACCES = GPG_ERR_SYSTEM_ERROR | 1, - GPG_ERR_EADDRINUSE = GPG_ERR_SYSTEM_ERROR | 2, - GPG_ERR_EADDRNOTAVAIL = GPG_ERR_SYSTEM_ERROR | 3, - GPG_ERR_EADV = GPG_ERR_SYSTEM_ERROR | 4, - GPG_ERR_EAFNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 5, - GPG_ERR_EAGAIN = GPG_ERR_SYSTEM_ERROR | 6, - GPG_ERR_EALREADY = GPG_ERR_SYSTEM_ERROR | 7, - GPG_ERR_EAUTH = GPG_ERR_SYSTEM_ERROR | 8, - GPG_ERR_EBACKGROUND = GPG_ERR_SYSTEM_ERROR | 9, - GPG_ERR_EBADE = GPG_ERR_SYSTEM_ERROR | 10, - GPG_ERR_EBADF = GPG_ERR_SYSTEM_ERROR | 11, - GPG_ERR_EBADFD = GPG_ERR_SYSTEM_ERROR | 12, - GPG_ERR_EBADMSG = GPG_ERR_SYSTEM_ERROR | 13, - GPG_ERR_EBADR = GPG_ERR_SYSTEM_ERROR | 14, - GPG_ERR_EBADRPC = GPG_ERR_SYSTEM_ERROR | 15, - GPG_ERR_EBADRQC = GPG_ERR_SYSTEM_ERROR | 16, - GPG_ERR_EBADSLT = GPG_ERR_SYSTEM_ERROR | 17, - GPG_ERR_EBFONT = GPG_ERR_SYSTEM_ERROR | 18, - GPG_ERR_EBUSY = GPG_ERR_SYSTEM_ERROR | 19, - GPG_ERR_ECANCELED = GPG_ERR_SYSTEM_ERROR | 20, - GPG_ERR_ECHILD = GPG_ERR_SYSTEM_ERROR | 21, - GPG_ERR_ECHRNG = GPG_ERR_SYSTEM_ERROR | 22, - GPG_ERR_ECOMM = GPG_ERR_SYSTEM_ERROR | 23, - GPG_ERR_ECONNABORTED = GPG_ERR_SYSTEM_ERROR | 24, - GPG_ERR_ECONNREFUSED = GPG_ERR_SYSTEM_ERROR | 25, - GPG_ERR_ECONNRESET = GPG_ERR_SYSTEM_ERROR | 26, - GPG_ERR_ED = GPG_ERR_SYSTEM_ERROR | 27, - GPG_ERR_EDEADLK = GPG_ERR_SYSTEM_ERROR | 28, - GPG_ERR_EDEADLOCK = GPG_ERR_SYSTEM_ERROR | 29, - GPG_ERR_EDESTADDRREQ = GPG_ERR_SYSTEM_ERROR | 30, - GPG_ERR_EDIED = GPG_ERR_SYSTEM_ERROR | 31, - GPG_ERR_EDOM = GPG_ERR_SYSTEM_ERROR | 32, - GPG_ERR_EDOTDOT = GPG_ERR_SYSTEM_ERROR | 33, - GPG_ERR_EDQUOT = GPG_ERR_SYSTEM_ERROR | 34, - GPG_ERR_EEXIST = GPG_ERR_SYSTEM_ERROR | 35, - GPG_ERR_EFAULT = GPG_ERR_SYSTEM_ERROR | 36, - GPG_ERR_EFBIG = GPG_ERR_SYSTEM_ERROR | 37, - GPG_ERR_EFTYPE = GPG_ERR_SYSTEM_ERROR | 38, - GPG_ERR_EGRATUITOUS = GPG_ERR_SYSTEM_ERROR | 39, - GPG_ERR_EGREGIOUS = GPG_ERR_SYSTEM_ERROR | 40, - GPG_ERR_EHOSTDOWN = GPG_ERR_SYSTEM_ERROR | 41, - GPG_ERR_EHOSTUNREACH = GPG_ERR_SYSTEM_ERROR | 42, - GPG_ERR_EIDRM = GPG_ERR_SYSTEM_ERROR | 43, - GPG_ERR_EIEIO = GPG_ERR_SYSTEM_ERROR | 44, - GPG_ERR_EILSEQ = GPG_ERR_SYSTEM_ERROR | 45, - GPG_ERR_EINPROGRESS = GPG_ERR_SYSTEM_ERROR | 46, - GPG_ERR_EINTR = GPG_ERR_SYSTEM_ERROR | 47, - GPG_ERR_EINVAL = GPG_ERR_SYSTEM_ERROR | 48, - GPG_ERR_EIO = GPG_ERR_SYSTEM_ERROR | 49, - GPG_ERR_EISCONN = GPG_ERR_SYSTEM_ERROR | 50, - GPG_ERR_EISDIR = GPG_ERR_SYSTEM_ERROR | 51, - GPG_ERR_EISNAM = GPG_ERR_SYSTEM_ERROR | 52, - GPG_ERR_EL2HLT = GPG_ERR_SYSTEM_ERROR | 53, - GPG_ERR_EL2NSYNC = GPG_ERR_SYSTEM_ERROR | 54, - GPG_ERR_EL3HLT = GPG_ERR_SYSTEM_ERROR | 55, - GPG_ERR_EL3RST = GPG_ERR_SYSTEM_ERROR | 56, - GPG_ERR_ELIBACC = GPG_ERR_SYSTEM_ERROR | 57, - GPG_ERR_ELIBBAD = GPG_ERR_SYSTEM_ERROR | 58, - GPG_ERR_ELIBEXEC = GPG_ERR_SYSTEM_ERROR | 59, - GPG_ERR_ELIBMAX = GPG_ERR_SYSTEM_ERROR | 60, - GPG_ERR_ELIBSCN = GPG_ERR_SYSTEM_ERROR | 61, - GPG_ERR_ELNRNG = GPG_ERR_SYSTEM_ERROR | 62, - GPG_ERR_ELOOP = GPG_ERR_SYSTEM_ERROR | 63, - GPG_ERR_EMEDIUMTYPE = GPG_ERR_SYSTEM_ERROR | 64, - GPG_ERR_EMFILE = GPG_ERR_SYSTEM_ERROR | 65, - GPG_ERR_EMLINK = GPG_ERR_SYSTEM_ERROR | 66, - GPG_ERR_EMSGSIZE = GPG_ERR_SYSTEM_ERROR | 67, - GPG_ERR_EMULTIHOP = GPG_ERR_SYSTEM_ERROR | 68, - GPG_ERR_ENAMETOOLONG = GPG_ERR_SYSTEM_ERROR | 69, - GPG_ERR_ENAVAIL = GPG_ERR_SYSTEM_ERROR | 70, - GPG_ERR_ENEEDAUTH = GPG_ERR_SYSTEM_ERROR | 71, - GPG_ERR_ENETDOWN = GPG_ERR_SYSTEM_ERROR | 72, - GPG_ERR_ENETRESET = GPG_ERR_SYSTEM_ERROR | 73, - GPG_ERR_ENETUNREACH = GPG_ERR_SYSTEM_ERROR | 74, - GPG_ERR_ENFILE = GPG_ERR_SYSTEM_ERROR | 75, - GPG_ERR_ENOANO = GPG_ERR_SYSTEM_ERROR | 76, - GPG_ERR_ENOBUFS = GPG_ERR_SYSTEM_ERROR | 77, - GPG_ERR_ENOCSI = GPG_ERR_SYSTEM_ERROR | 78, - GPG_ERR_ENODATA = GPG_ERR_SYSTEM_ERROR | 79, - GPG_ERR_ENODEV = GPG_ERR_SYSTEM_ERROR | 80, - GPG_ERR_ENOENT = GPG_ERR_SYSTEM_ERROR | 81, - GPG_ERR_ENOEXEC = GPG_ERR_SYSTEM_ERROR | 82, - GPG_ERR_ENOLCK = GPG_ERR_SYSTEM_ERROR | 83, - GPG_ERR_ENOLINK = GPG_ERR_SYSTEM_ERROR | 84, - GPG_ERR_ENOMEDIUM = GPG_ERR_SYSTEM_ERROR | 85, - GPG_ERR_ENOMEM = GPG_ERR_SYSTEM_ERROR | 86, - GPG_ERR_ENOMSG = GPG_ERR_SYSTEM_ERROR | 87, - GPG_ERR_ENONET = GPG_ERR_SYSTEM_ERROR | 88, - GPG_ERR_ENOPKG = GPG_ERR_SYSTEM_ERROR | 89, - GPG_ERR_ENOPROTOOPT = GPG_ERR_SYSTEM_ERROR | 90, - GPG_ERR_ENOSPC = GPG_ERR_SYSTEM_ERROR | 91, - GPG_ERR_ENOSR = GPG_ERR_SYSTEM_ERROR | 92, - GPG_ERR_ENOSTR = GPG_ERR_SYSTEM_ERROR | 93, - GPG_ERR_ENOSYS = GPG_ERR_SYSTEM_ERROR | 94, - GPG_ERR_ENOTBLK = GPG_ERR_SYSTEM_ERROR | 95, - GPG_ERR_ENOTCONN = GPG_ERR_SYSTEM_ERROR | 96, - GPG_ERR_ENOTDIR = GPG_ERR_SYSTEM_ERROR | 97, - GPG_ERR_ENOTEMPTY = GPG_ERR_SYSTEM_ERROR | 98, - GPG_ERR_ENOTNAM = GPG_ERR_SYSTEM_ERROR | 99, - GPG_ERR_ENOTSOCK = GPG_ERR_SYSTEM_ERROR | 100, - GPG_ERR_ENOTSUP = GPG_ERR_SYSTEM_ERROR | 101, - GPG_ERR_ENOTTY = GPG_ERR_SYSTEM_ERROR | 102, - GPG_ERR_ENOTUNIQ = GPG_ERR_SYSTEM_ERROR | 103, - GPG_ERR_ENXIO = GPG_ERR_SYSTEM_ERROR | 104, - GPG_ERR_EOPNOTSUPP = GPG_ERR_SYSTEM_ERROR | 105, - GPG_ERR_EOVERFLOW = GPG_ERR_SYSTEM_ERROR | 106, - GPG_ERR_EPERM = GPG_ERR_SYSTEM_ERROR | 107, - GPG_ERR_EPFNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 108, - GPG_ERR_EPIPE = GPG_ERR_SYSTEM_ERROR | 109, - GPG_ERR_EPROCLIM = GPG_ERR_SYSTEM_ERROR | 110, - GPG_ERR_EPROCUNAVAIL = GPG_ERR_SYSTEM_ERROR | 111, - GPG_ERR_EPROGMISMATCH = GPG_ERR_SYSTEM_ERROR | 112, - GPG_ERR_EPROGUNAVAIL = GPG_ERR_SYSTEM_ERROR | 113, - GPG_ERR_EPROTO = GPG_ERR_SYSTEM_ERROR | 114, - GPG_ERR_EPROTONOSUPPORT = GPG_ERR_SYSTEM_ERROR | 115, - GPG_ERR_EPROTOTYPE = GPG_ERR_SYSTEM_ERROR | 116, - GPG_ERR_ERANGE = GPG_ERR_SYSTEM_ERROR | 117, - GPG_ERR_EREMCHG = GPG_ERR_SYSTEM_ERROR | 118, - GPG_ERR_EREMOTE = GPG_ERR_SYSTEM_ERROR | 119, - GPG_ERR_EREMOTEIO = GPG_ERR_SYSTEM_ERROR | 120, - GPG_ERR_ERESTART = GPG_ERR_SYSTEM_ERROR | 121, - GPG_ERR_EROFS = GPG_ERR_SYSTEM_ERROR | 122, - GPG_ERR_ERPCMISMATCH = GPG_ERR_SYSTEM_ERROR | 123, - GPG_ERR_ESHUTDOWN = GPG_ERR_SYSTEM_ERROR | 124, - GPG_ERR_ESOCKTNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 125, - GPG_ERR_ESPIPE = GPG_ERR_SYSTEM_ERROR | 126, - GPG_ERR_ESRCH = GPG_ERR_SYSTEM_ERROR | 127, - GPG_ERR_ESRMNT = GPG_ERR_SYSTEM_ERROR | 128, - GPG_ERR_ESTALE = GPG_ERR_SYSTEM_ERROR | 129, - GPG_ERR_ESTRPIPE = GPG_ERR_SYSTEM_ERROR | 130, - GPG_ERR_ETIME = GPG_ERR_SYSTEM_ERROR | 131, - GPG_ERR_ETIMEDOUT = GPG_ERR_SYSTEM_ERROR | 132, - GPG_ERR_ETOOMANYREFS = GPG_ERR_SYSTEM_ERROR | 133, - GPG_ERR_ETXTBSY = GPG_ERR_SYSTEM_ERROR | 134, - GPG_ERR_EUCLEAN = GPG_ERR_SYSTEM_ERROR | 135, - GPG_ERR_EUNATCH = GPG_ERR_SYSTEM_ERROR | 136, - GPG_ERR_EUSERS = GPG_ERR_SYSTEM_ERROR | 137, - GPG_ERR_EWOULDBLOCK = GPG_ERR_SYSTEM_ERROR | 138, - GPG_ERR_EXDEV = GPG_ERR_SYSTEM_ERROR | 139, - GPG_ERR_EXFULL = GPG_ERR_SYSTEM_ERROR | 140, - - /* This is one more than the largest allowed entry. */ - GPG_ERR_CODE_DIM = 65536 - } gpg_err_code_t; - - -/* The error value type gpg_error_t. */ - -/* We would really like to use bit-fields in a struct, but using - structs as return values can cause binary compatibility issues, in - particular if you want to do it effeciently (also see - -freg-struct-return option to GCC). */ -typedef unsigned int gpg_error_t; - -/* We use the lowest 16 bits of gpg_error_t for error codes. The 16th - bit indicates system errors. */ -#define GPG_ERR_CODE_MASK (GPG_ERR_CODE_DIM - 1) - -/* Bits 17 to 24 are reserved. */ - -/* We use the upper 7 bits of gpg_error_t for error sources. */ -#define GPG_ERR_SOURCE_MASK (GPG_ERR_SOURCE_DIM - 1) -#define GPG_ERR_SOURCE_SHIFT 24 - -/* The highest bit is reserved. It shouldn't be used to prevent - potential negative numbers when transmitting error values as - text. */ - - -/* GCC feature test. */ -#undef _GPG_ERR_HAVE_CONSTRUCTOR -#if __GNUC__ -#define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \ - + __GNUC_MINOR__ * 100 \ - + __GNUC_PATCHLEVEL__) - -#if _GPG_ERR_GCC_VERSION > 30100 -#define _GPG_ERR_CONSTRUCTOR __attribute__ ((__constructor__)) -#define _GPG_ERR_HAVE_CONSTRUCTOR -#endif -#endif - -#ifndef _GPG_ERR_CONSTRUCTOR -#define _GPG_ERR_CONSTRUCTOR -#endif - - -/* Initialization function. */ - -/* Initialize the library. This function should be run early. */ -gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR; - -/* If this is defined, the library is already initialized by the - constructor and does not need to be initialized explicitely. */ -#undef GPG_ERR_INITIALIZED -#ifdef _GPG_ERR_HAVE_CONSTRUCTOR -#define GPG_ERR_INITIALIZED 1 -#endif - -/* See the source on how to use the deinit function; it is usually not - required. */ -void gpg_err_deinit (int mode); - - -/* Constructor and accessor functions. */ - -/* Construct an error value from an error code and source. Within a - subsystem, use gpg_error. */ -static GPG_ERR_INLINE gpg_error_t -gpg_err_make (gpg_err_source_t source, gpg_err_code_t code) -{ - return code == GPG_ERR_NO_ERROR ? GPG_ERR_NO_ERROR - : (((source & GPG_ERR_SOURCE_MASK) << GPG_ERR_SOURCE_SHIFT) - | (code & GPG_ERR_CODE_MASK)); -} - - -/* The user should define GPG_ERR_SOURCE_DEFAULT before including this - file to specify a default source for gpg_error. */ -#ifndef GPG_ERR_SOURCE_DEFAULT -#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_UNKNOWN -#endif - -static GPG_ERR_INLINE gpg_error_t -gpg_error (gpg_err_code_t code) -{ - return gpg_err_make (GPG_ERR_SOURCE_DEFAULT, code); -} - - -/* Retrieve the error code from an error value. */ -static GPG_ERR_INLINE gpg_err_code_t -gpg_err_code (gpg_error_t err) -{ - return (gpg_err_code_t) (err & GPG_ERR_CODE_MASK); -} - - -/* Retrieve the error source from an error value. */ -static GPG_ERR_INLINE gpg_err_source_t -gpg_err_source (gpg_error_t err) -{ - return (gpg_err_source_t) ((err >> GPG_ERR_SOURCE_SHIFT) - & GPG_ERR_SOURCE_MASK); -} - - -/* String functions. */ - -/* Return a pointer to a string containing a description of the error - code in the error value ERR. This function is not thread-safe. */ -const char *gpg_strerror (gpg_error_t err); - -/* Return the error string for ERR in the user-supplied buffer BUF of - size BUFLEN. This function is, in contrast to gpg_strerror, - thread-safe if a thread-safe strerror_r() function is provided by - the system. If the function succeeds, 0 is returned and BUF - contains the string describing the error. If the buffer was not - large enough, ERANGE is returned and BUF contains as much of the - beginning of the error string as fits into the buffer. */ -int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen); - -/* Return a pointer to a string containing a description of the error - source in the error value ERR. */ -const char *gpg_strsource (gpg_error_t err); - - -/* Mapping of system errors (errno). */ - -/* Retrieve the error code for the system error ERR. This returns - GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report - this). */ -gpg_err_code_t gpg_err_code_from_errno (int err); - - -/* Retrieve the system error for the error code CODE. This returns 0 - if CODE is not a system error code. */ -int gpg_err_code_to_errno (gpg_err_code_t code); - - -/* Retrieve the error code directly from the ERRNO variable. This - returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped - (report this) and GPG_ERR_MISSING_ERRNO if ERRNO has the value 0. */ -gpg_err_code_t gpg_err_code_from_syserror (void); - - -/* Set the ERRNO variable. This function is the preferred way to set - ERRNO due to peculiarities on WindowsCE. */ -void gpg_err_set_errno (int err); - -/* Decide whether to use the format_arg attribute. */ -#if _GPG_ERR_GCC_VERSION > 20800 -# define _GPG_ERR_ATTR_FORMAT_ARG(a) __attribute__ ((__format_arg__ (a))) -#else -# define _GPG_ERR_ATTR_FORMAT_ARG(a) -#endif - -/* A lean gettext implementation based on GNU style mo files which are - required to be encoded in UTF-8. There is a limit on 65534 entries - to save some RAM. Only Germanic plural rules are supported. */ -const char *_gpg_w32_bindtextdomain (const char *domainname, - const char *dirname); -const char *_gpg_w32_textdomain (const char *domainname); -const char *_gpg_w32_gettext (const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (1); -const char *_gpg_w32_dgettext (const char *domainname, const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (2); -const char *_gpg_w32_dngettext (const char *domainname, const char *msgid1, - const char *msgid2, unsigned long int n) - _GPG_ERR_ATTR_FORMAT_ARG (2) _GPG_ERR_ATTR_FORMAT_ARG (3); -const char *_gpg_w32_gettext_localename (void); -int _gpg_w32_gettext_use_utf8 (int value); - -#ifdef GPG_ERR_ENABLE_GETTEXT_MACROS -# define bindtextdomain(a,b) _gpg_w32_bindtextdomain ((a), (b)) -# define textdomain(a) _gpg_w32_textdomain ((a)) -# define gettext(a) _gpg_w32_gettext ((a)) -# define dgettext(a,b) _gpg_w32_dgettext ((a), (b)) -# define ngettext(a,b,c) _gpg_w32_dngettext (NULL, (a), (b), (c)) -# define dngettext(a,b,c,d) _gpg_w32_dngettext ((a), (b), (c), (d)) -# define gettext_localename() _gpg_w32_gettext_localename () -# define gettext_use_utf8(a) _gpg_w32_gettext_use_utf8 (a) -#endif /*GPG_ERR_ENABLE_GETTEXT_MACROS*/ - - - -/* Self-documenting convenience functions. */ - -static GPG_ERR_INLINE gpg_error_t -gpg_err_make_from_errno (gpg_err_source_t source, int err) -{ - return gpg_err_make (source, gpg_err_code_from_errno (err)); -} - - -static GPG_ERR_INLINE gpg_error_t -gpg_error_from_errno (int err) -{ - return gpg_error (gpg_err_code_from_errno (err)); -} - -static GPG_ERR_INLINE gpg_error_t -gpg_error_from_syserror (void) -{ - return gpg_error (gpg_err_code_from_syserror ()); -} - -#ifdef __cplusplus -} -#endif - - -#endif /* GPG_ERROR_H */ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h.in deleted file mode 100644 index ae1be21818..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.h.in +++ /dev/null @@ -1,274 +0,0 @@ -/* gpg-error.h - Public interface to libgpg-error. - Copyright (C) 2003, 2004, 2010 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - - -#ifndef GPG_ERROR_H -#define GPG_ERROR_H 1 - -#include <stddef.h> - -#ifdef __GNUC__ -#define GPG_ERR_INLINE __inline__ -#elif __STDC_VERSION__ >= 199901L -#define GPG_ERR_INLINE inline -#else -#ifndef GPG_ERR_INLINE -#define GPG_ERR_INLINE -#endif -#endif - - -#ifdef __cplusplus -extern "C" { -#if 0 /* just to make Emacs auto-indent happy */ -} -#endif -#endif /* __cplusplus */ - -/* The GnuPG project consists of many components. Error codes are - exchanged between all components. The common error codes and their - user-presentable descriptions are kept into a shared library to - allow adding new error codes and components without recompiling any - of the other components. The interface will not change in a - backward incompatible way. - - An error code together with an error source build up an error - value. As the error value is been passed from one component to - another, it preserver the information about the source and nature - of the error. - - A component of the GnuPG project can define the following macros to - tune the behaviour of the library: - - GPG_ERR_SOURCE_DEFAULT: Define to an error source of type - gpg_err_source_t to make that source the default for gpg_error(). - Otherwise GPG_ERR_SOURCE_UNKNOWN is used as default. - - GPG_ERR_ENABLE_GETTEXT_MACROS: Define to provide macros to map the - internal gettext API to standard names. This has only an effect on - Windows platforms. */ - - -/* The error source type gpg_err_source_t. - - Where as the Poo out of a welle small - Taketh his firste springing and his sours. - --Chaucer. */ - -/* Only use free slots, never change or reorder the existing - entries. */ -typedef enum - { -@include err-sources.h.in - - /* This is one more than the largest allowed entry. */ - GPG_ERR_SOURCE_DIM = 128 - } gpg_err_source_t; - - -/* The error code type gpg_err_code_t. */ - -/* Only use free slots, never change or reorder the existing - entries. */ -typedef enum - { -@include err-codes.h.in - - /* The following error codes are used to map system errors. */ -#define GPG_ERR_SYSTEM_ERROR (1 << 15) -@include errnos.in - - /* This is one more than the largest allowed entry. */ - GPG_ERR_CODE_DIM = 65536 - } gpg_err_code_t; - - -/* The error value type gpg_error_t. */ - -/* We would really like to use bit-fields in a struct, but using - structs as return values can cause binary compatibility issues, in - particular if you want to do it effeciently (also see - -freg-struct-return option to GCC). */ -typedef unsigned int gpg_error_t; - -/* We use the lowest 16 bits of gpg_error_t for error codes. The 16th - bit indicates system errors. */ -#define GPG_ERR_CODE_MASK (GPG_ERR_CODE_DIM - 1) - -/* Bits 17 to 24 are reserved. */ - -/* We use the upper 7 bits of gpg_error_t for error sources. */ -#define GPG_ERR_SOURCE_MASK (GPG_ERR_SOURCE_DIM - 1) -#define GPG_ERR_SOURCE_SHIFT 24 - -/* The highest bit is reserved. It shouldn't be used to prevent - potential negative numbers when transmitting error values as - text. */ - - -/* GCC feature test. */ -#undef _GPG_ERR_HAVE_CONSTRUCTOR -#if __GNUC__ -#define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \ - + __GNUC_MINOR__ * 100 \ - + __GNUC_PATCHLEVEL__) - -#if _GPG_ERR_GCC_VERSION > 30100 -#define _GPG_ERR_CONSTRUCTOR __attribute__ ((__constructor__)) -#define _GPG_ERR_HAVE_CONSTRUCTOR -#endif -#endif - -#ifndef _GPG_ERR_CONSTRUCTOR -#define _GPG_ERR_CONSTRUCTOR -#endif - - -/* Initialization function. */ - -/* Initialize the library. This function should be run early. */ -gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR; - -/* If this is defined, the library is already initialized by the - constructor and does not need to be initialized explicitely. */ -#undef GPG_ERR_INITIALIZED -#ifdef _GPG_ERR_HAVE_CONSTRUCTOR -#define GPG_ERR_INITIALIZED 1 -#endif - -/* See the source on how to use the deinit function; it is usually not - required. */ -void gpg_err_deinit (int mode); - - -/* Constructor and accessor functions. */ - -/* Construct an error value from an error code and source. Within a - subsystem, use gpg_error. */ -static GPG_ERR_INLINE gpg_error_t -gpg_err_make (gpg_err_source_t source, gpg_err_code_t code) -{ - return code == GPG_ERR_NO_ERROR ? GPG_ERR_NO_ERROR - : (((source & GPG_ERR_SOURCE_MASK) << GPG_ERR_SOURCE_SHIFT) - | (code & GPG_ERR_CODE_MASK)); -} - - -/* The user should define GPG_ERR_SOURCE_DEFAULT before including this - file to specify a default source for gpg_error. */ -#ifndef GPG_ERR_SOURCE_DEFAULT -#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_UNKNOWN -#endif - -static GPG_ERR_INLINE gpg_error_t -gpg_error (gpg_err_code_t code) -{ - return gpg_err_make (GPG_ERR_SOURCE_DEFAULT, code); -} - - -/* Retrieve the error code from an error value. */ -static GPG_ERR_INLINE gpg_err_code_t -gpg_err_code (gpg_error_t err) -{ - return (gpg_err_code_t) (err & GPG_ERR_CODE_MASK); -} - - -/* Retrieve the error source from an error value. */ -static GPG_ERR_INLINE gpg_err_source_t -gpg_err_source (gpg_error_t err) -{ - return (gpg_err_source_t) ((err >> GPG_ERR_SOURCE_SHIFT) - & GPG_ERR_SOURCE_MASK); -} - - -/* String functions. */ - -/* Return a pointer to a string containing a description of the error - code in the error value ERR. This function is not thread-safe. */ -const char *gpg_strerror (gpg_error_t err); - -/* Return the error string for ERR in the user-supplied buffer BUF of - size BUFLEN. This function is, in contrast to gpg_strerror, - thread-safe if a thread-safe strerror_r() function is provided by - the system. If the function succeeds, 0 is returned and BUF - contains the string describing the error. If the buffer was not - large enough, ERANGE is returned and BUF contains as much of the - beginning of the error string as fits into the buffer. */ -int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen); - -/* Return a pointer to a string containing a description of the error - source in the error value ERR. */ -const char *gpg_strsource (gpg_error_t err); - - -/* Mapping of system errors (errno). */ - -/* Retrieve the error code for the system error ERR. This returns - GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report - this). */ -gpg_err_code_t gpg_err_code_from_errno (int err); - - -/* Retrieve the system error for the error code CODE. This returns 0 - if CODE is not a system error code. */ -int gpg_err_code_to_errno (gpg_err_code_t code); - - -/* Retrieve the error code directly from the ERRNO variable. This - returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped - (report this) and GPG_ERR_MISSING_ERRNO if ERRNO has the value 0. */ -gpg_err_code_t gpg_err_code_from_syserror (void); - - -/* Set the ERRNO variable. This function is the preferred way to set - ERRNO due to peculiarities on WindowsCE. */ -void gpg_err_set_errno (int err); - -@include extra-h.in - -/* Self-documenting convenience functions. */ - -static GPG_ERR_INLINE gpg_error_t -gpg_err_make_from_errno (gpg_err_source_t source, int err) -{ - return gpg_err_make (source, gpg_err_code_from_errno (err)); -} - - -static GPG_ERR_INLINE gpg_error_t -gpg_error_from_errno (int err) -{ - return gpg_error (gpg_err_code_from_errno (err)); -} - -static GPG_ERR_INLINE gpg_error_t -gpg_error_from_syserror (void) -{ - return gpg_error (gpg_err_code_from_syserror ()); -} - -#ifdef __cplusplus -} -#endif - - -#endif /* GPG_ERROR_H */ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.m4 b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.m4 deleted file mode 100644 index 9d96d1675c..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/gpg-error.m4 +++ /dev/null @@ -1,65 +0,0 @@ -# gpg-error.m4 - autoconf macro to detect libgpg-error. -# Copyright (C) 2002, 2003, 2004 g10 Code GmbH -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This file is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION, -dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) -dnl Test for libgpg-error and define GPG_ERROR_CFLAGS and GPG_ERROR_LIBS -dnl -AC_DEFUN([AM_PATH_GPG_ERROR], -[ AC_ARG_WITH(gpg-error-prefix, - AC_HELP_STRING([--with-gpg-error-prefix=PFX], - [prefix where GPG Error is installed (optional)]), - gpg_error_config_prefix="$withval", gpg_error_config_prefix="") - if test x$gpg_error_config_prefix != x ; then - if test x${GPG_ERROR_CONFIG+set} != xset ; then - GPG_ERROR_CONFIG=$gpg_error_config_prefix/bin/gpg-error-config - fi - fi - - AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no) - min_gpg_error_version=ifelse([$1], ,0.0,$1) - AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) - ok=no - if test "$GPG_ERROR_CONFIG" != "no" ; then - req_major=`echo $min_gpg_error_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` - req_minor=`echo $min_gpg_error_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` - gpg_error_config_version=`$GPG_ERROR_CONFIG $gpg_error_config_args --version` - major=`echo $gpg_error_config_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` - minor=`echo $gpg_error_config_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` - if test "$major" -gt "$req_major"; then - ok=yes - else - if test "$major" -eq "$req_major"; then - if test "$minor" -ge "$req_minor"; then - ok=yes - fi - fi - fi - fi - if test $ok = yes; then - GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags` - GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs` - AC_MSG_RESULT([yes ($gpg_error_config_version)]) - ifelse([$2], , :, [$2]) - else - GPG_ERROR_CFLAGS="" - GPG_ERROR_LIBS="" - AC_MSG_RESULT(no) - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GPG_ERROR_CFLAGS) - AC_SUBST(GPG_ERROR_LIBS) -]) - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.c deleted file mode 100644 index d30435a2ce..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.c +++ /dev/null @@ -1,399 +0,0 @@ -/* init.c - Initialize the GnuPG error library. - Copyright (C) 2005, 2010 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <errno.h> - -#include <gpg-error.h> - -#include "gettext.h" -#include "init.h" - -#ifdef HAVE_W32CE_SYSTEM -# include "mkw32errmap.map.c" /* Generated map_w32codes () */ -#endif - - -/* Locale directory support. */ - -#if HAVE_W32_SYSTEM - -#include <windows.h> - -static int tls_index = TLS_OUT_OF_INDEXES; /* Index for the TLS functions. */ - -static char *get_locale_dir (void); -static void drop_locale_dir (char *locale_dir); - -#else /*!HAVE_W32_SYSTEM*/ - -#define get_locale_dir() LOCALEDIR -#define drop_locale_dir(dir) - -#endif /*!HAVE_W32_SYSTEM*/ - - -static void -real_init (void) -{ -#ifdef ENABLE_NLS - char *locale_dir; - - /* We only have to bind our locale directory to our text domain. */ - locale_dir = get_locale_dir (); - if (locale_dir) - { - bindtextdomain (PACKAGE, locale_dir); - drop_locale_dir (locale_dir); - } -#endif -} - -/* Initialize the library. This function should be run early. */ -gpg_error_t -gpg_err_init (void) -{ -#ifdef HAVE_W32_SYSTEM -# ifdef DLL_EXPORT - /* We always have a constructor and thus this function is called - automatically. Due to the way the C init code of mingw works, - the constructors are called before our DllMain function is - called. The problem with that is that the TLS has not been setup - and w32-gettext.c requires TLS. To solve this we do nothing here - but call the actual init code from our DllMain. */ -# else /*!DLL_EXPORT*/ - /* Note that if the TLS is actually used, we can't release the TLS - as there is no way to know when a thread terminates (i.e. no - thread-specific-atexit). You are really better off to use the - DLL! */ - if (tls_index == TLS_OUT_OF_INDEXES) - { - tls_index = TlsAlloc (); - if (tls_index == TLS_OUT_OF_INDEXES) - { - /* No way to continue - commit suicide. */ - abort (); - } - real_init (); - } -# endif /*!DLL_EXPORT*/ -#else - real_init (); -#endif - return 0; -} - - -/* Deinitialize libgpg-error. This function is only used in special - circumstances. No gpg-error function should be used after this - function has been called. A value of 0 passed for MODE - deinitializes the entire libgpg-error, a value of 1 releases - resources allocated for the current thread and only that thread may - not anymore access libgpg-error after such a call. Under Windows - this function may be called from the DllMain function of a DLL - which statically links to libgpg-error. */ -void -gpg_err_deinit (int mode) -{ -#if defined (HAVE_W32_SYSTEM) && !defined(DLL_EXPORT) - struct tls_space_s *tls; - - tls = TlsGetValue (tls_index); - if (tls) - { - TlsSetValue (tls_index, NULL); - LocalFree (tls); - } - - if (mode == 0) - { - TlsFree (tls_index); - tls_index = TLS_OUT_OF_INDEXES; - } -#else - (void)mode; -#endif -} - - - -#ifdef HAVE_W32_SYSTEM - -/* Return a malloced string encoded in UTF-8 from the wide char input - string STRING. Caller must free this value. Returns NULL on - failure. Caller may use GetLastError to get the actual error - number. The result of calling this function with STRING set to - NULL is not defined. */ -static char * -wchar_to_utf8 (const wchar_t *string) -{ - int n; - char *result; - - /* Note, that CP_UTF8 is not defined in Windows versions earlier - than NT. */ - n = WideCharToMultiByte (CP_UTF8, 0, string, -1, NULL, 0, NULL, NULL); - if (n < 0) - return NULL; - - result = malloc (n+1); - if (result) - { - n = WideCharToMultiByte (CP_UTF8, 0, string, -1, result, n, NULL, NULL); - if (n < 0) - { - free (result); - result = NULL; - } - } - return result; -} - - -/* Return a malloced wide char string from an UTF-8 encoded input - string STRING. Caller must free this value. Returns NULL on - failure. Caller may use GetLastError to get the actual error - number. The result of calling this function with STRING set to - NULL is not defined. */ -static wchar_t * -utf8_to_wchar (const char *string) -{ - int n; - wchar_t *result; - - n = MultiByteToWideChar (CP_UTF8, 0, string, -1, NULL, 0); - if (n < 0) - return NULL; - - result = malloc ((n+1) * sizeof *result); - if (result) - { - n = MultiByteToWideChar (CP_UTF8, 0, string, -1, result, n); - if (n < 0) - { - free (result); - result = NULL; - } - return NULL; - } - return result; -} - - -static char * -get_locale_dir (void) -{ - static wchar_t moddir[MAX_PATH+5]; - char *result, *p; - int nbytes; - - if (!GetModuleFileNameW (NULL, moddir, MAX_PATH)) - *moddir = 0; - -#define SLDIR "\\share\\locale" - if (*moddir) - { - nbytes = WideCharToMultiByte (CP_UTF8, 0, moddir, -1, NULL, 0, NULL, NULL); - if (nbytes < 0) - return NULL; - - result = malloc (nbytes + strlen (SLDIR) + 1); - if (result) - { - nbytes = WideCharToMultiByte (CP_UTF8, 0, moddir, -1, - result, nbytes, NULL, NULL); - if (nbytes < 0) - { - free (result); - result = NULL; - } - else - { - p = strrchr (result, '\\'); - if (p) - *p = 0; - strcat (result, SLDIR); - } - } - } - else /* Use the old default value. */ - { - result = malloc (10 + strlen (SLDIR) + 1); - if (result) - { - strcpy (result, "c:\\gnupg"); - strcat (result, SLDIR); - } - } -#undef SLDIR - return result; -} - - -static void -drop_locale_dir (char *locale_dir) -{ - free (locale_dir); -} - - -/* Return the tls object. This function is guaranteed to return a - valid non-NULL object. */ -struct tls_space_s * -get_tls (void) -{ - struct tls_space_s *tls; - - tls = TlsGetValue (tls_index); - if (!tls) - { - /* Called by a thread which existed before this DLL was loaded. - Allocate the space. */ - tls = LocalAlloc (LPTR, sizeof *tls); - if (!tls) - { - /* No way to continue - commit suicide. */ - abort (); - } - tls->gt_use_utf8 = 0; - TlsSetValue (tls_index, tls); - } - - return tls; -} - - -/* Return the value of the ERRNO variable. This needs to be a - function so that we can have a per-thread ERRNO. This is used only - on WindowsCE because that OS misses an errno. */ -#ifdef HAVE_W32CE_SYSTEM -int -_gpg_w32ce_get_errno (void) -{ - return map_w32codes ( GetLastError () ); -} -#endif /*HAVE_W32CE_SYSTEM*/ - - -/* Replacement strerror function for WindowsCE. */ -#ifdef HAVE_W32CE_SYSTEM -char * -_gpg_w32ce_strerror (int err) -{ - struct tls_space_s *tls = get_tls (); - wchar_t tmpbuf[STRBUFFER_SIZE]; - int n; - - if (err == -1) - err = _gpg_w32ce_get_errno (); - if (FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, - MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT), - tmpbuf, STRBUFFER_SIZE -1, - NULL)) - { - n = WideCharToMultiByte (CP_UTF8, 0, tmpbuf, -1, - tls->strerror_buffer, - sizeof tls->strerror_buffer -1, - NULL, NULL); - } - else - n = -1; - - if (n < 0) - snprintf (tls->strerror_buffer, sizeof tls->strerror_buffer -1, - "[w32err=%d]", err); - return tls->strerror_buffer; -} -#endif /*HAVE_W32CE_SYSTEM*/ - - -void -gpg_err_set_errno (int err) -{ -#ifdef HAVE_W32CE_SYSTEM - SetLastError (err); -#else /*!HAVE_W32CE_SYSTEM*/ - errno = err; -#endif /*!HAVE_W32CE_SYSTEM*/ -} - - -/* Entry point called by the DLL loader. */ -#ifdef DLL_EXPORT -int WINAPI -DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved) -{ - struct tls_space_s *tls; - (void)reserved; - - switch (reason) - { - case DLL_PROCESS_ATTACH: - tls_index = TlsAlloc (); - if (tls_index == TLS_OUT_OF_INDEXES) - return FALSE; - /* falltru. */ - case DLL_THREAD_ATTACH: - tls = LocalAlloc (LPTR, sizeof *tls); - if (!tls) - return FALSE; - tls->gt_use_utf8 = 0; - TlsSetValue (tls_index, tls); - if (reason == DLL_PROCESS_ATTACH) - { - real_init (); - } - break; - - case DLL_THREAD_DETACH: - tls = TlsGetValue (tls_index); - if (tls) - LocalFree (tls); - break; - - case DLL_PROCESS_DETACH: - tls = TlsGetValue (tls_index); - if (tls) - LocalFree (tls); - TlsFree (tls_index); - break; - - default: - break; - } - - return TRUE; -} -#endif /*DLL_EXPORT*/ - -#else /*!HAVE_W32_SYSTEM*/ - -void -gpg_err_set_errno (int err) -{ - errno = err; -} - -#endif /*!HAVE_W32_SYSTEM*/ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.h deleted file mode 100644 index 0fa27be4d2..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/init.h +++ /dev/null @@ -1,65 +0,0 @@ -/* init.h - Declarations for init.c - Copyright (C) 2010 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef INIT_H -#define INIT_H - -#if HAVE_W32_SYSTEM - -/* Forward declaration - defined in w32-gettext.c. */ -struct loaded_domain; - -/* An item for a linked list of loaded domains. */ -struct domainlist_s -{ - struct domainlist_s *next; - char *dname; /* Directory name for the mo file. */ - char *fname; /* File name for the MO file. */ - int load_failed; /* True if loading the domain failed. */ - struct loaded_domain *domain; /* NULL if not loaded. Never changed - once set to non-NULL. */ - char name[1]; /* Name of the domain. Never changed - once set. */ -}; - - - -/* 119 bytes for an error message should be enough. With this size we - can assume that the allocation does not take up more than 128 bytes - per thread. Note that this is only used for W32CE. */ -#define STRBUFFER_SIZE 120 - -/* The TLS space definition. */ -struct tls_space_s -{ - /* Flag used by w32-gettext. */ - int gt_use_utf8; - -#ifdef HAVE_W32CE_SYSTEM - char strerror_buffer[STRBUFFER_SIZE]; -#endif -}; - -/* Return the TLS. */ -struct tls_space_s *get_tls (void); - - -#endif /*HAVE_W32_SYSTEM*/ - -#endif /*INIT_H*/ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.awk deleted file mode 100644 index 46d436c6b0..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.awk +++ /dev/null @@ -1,99 +0,0 @@ -# mkerrcodes.awk -# Copyright (C) 2004, 2005 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkerrcodes.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkerrcodes.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkerrcodes.awk program. -# -# Certain portions of the mkerrcodes.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkerrcodes.awk. We call these the "data" portions. The rest of the -# mkerrcodes.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkerrcodes.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkerrcodes.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkerrcodes.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script outputs an intermediate file that contains the following output: -# static struct -# { -# int err; -# const char *err_sym; -# } err_table[] = -# { -# { 7, "GPG_ERR_E2BIG" }, -# [...] -# }; -# -# The input file is a list of possible system errors, followed by a GPG_ERR_* name: -# -# 7 GPG_ERR_E2BIG -# -# Comments (starting with # and ending at the end of the line) are removed, -# as is trailing whitespace. - -BEGIN { - FS="[ \t]+GPG_ERR_"; - print "/* Output of mkerrcodes.awk. DO NOT EDIT. */"; - print ""; - header = 1; -} - -/^#/ { next; } - -header { - if (! /^[ \t]*$/) - { - header = 0; - - print "static struct"; - print " {"; - print " int err;"; - print " const char *err_sym;"; - print " } err_table[] = "; - print "{"; - } - else - print; -} - -!header { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - print " { " $1 ", \"GPG_ERR_" $2 "\" },"; -} - -END { - print "};"; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.c deleted file mode 100644 index 29c1cc270b..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.c +++ /dev/null @@ -1,78 +0,0 @@ -/* mkerrcodes.c - Generate list of system error values. - Copyright (C) 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -/* This file must not include config.h, as that is for the host - system, while this file will be run on the build system. */ - -#include <stdio.h> - -#include "mkerrcodes.h" - -static const char header[] = -"/* errnos.h - List of system error values.\n" -" Copyright (C) 2004 g10 Code GmbH\n" -" This file is part of libgpg-error.\n" -"\n" -" libgpg-error is free software; you can redistribute it and/or\n" -" modify it under the terms of the GNU Lesser General Public License\n" -" as published by the Free Software Foundation; either version 2.1 of\n" -" the License, or (at your option) any later version.\n" -"\n" -" libgpg-error is distributed in the hope that it will be useful, but\n" -" WITHOUT ANY WARRANTY; without even the implied warranty of\n" -" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n" -" Lesser General Public License for more details.\n" -"\n" -" You should have received a copy of the GNU Lesser General Public\n" -" License along with libgpg-error; if not, write to the Free\n" -" Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n" -" 02111-1307, USA. */\n" -"\n"; - -int -main (int argc, char **argv) -{ - int sorted; - int i; - - printf ("%s", header); - do - { - sorted = 1; - for (i = 0; i < sizeof (err_table) / sizeof (err_table[0]) - 1; i++) - if (err_table[i].err > err_table[i + 1].err) - { - int err = err_table[i].err; - const char *err_sym = err_table[i].err_sym; - - err_table[i].err = err_table[i + 1].err; - err_table[i].err_sym = err_table[i + 1].err_sym; - err_table[i + 1].err = err; - err_table[i + 1].err_sym = err_sym; - sorted = 0; - } - } - while (!sorted); - - for (i = 0; i < sizeof (err_table) / sizeof (err_table[0]); i++) - printf ("%i\t%s\n", err_table[i].err, err_table[i].err_sym); - - return 0; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.exe b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.exe Binary files differdeleted file mode 100644 index e8ea336f01..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.exe +++ /dev/null diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.h deleted file mode 100644 index b9bc07bbc5..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes.h +++ /dev/null @@ -1,91 +0,0 @@ -/* Output of mkerrcodes.awk. DO NOT EDIT. */ - -static struct - { - int err; - const char *err_sym; - } err_table[] = -{ - { 7, "GPG_ERR_E2BIG" }, - { 13, "GPG_ERR_EACCES" }, - { 10013L, "GPG_ERR_EACCES" }, - { 10048L, "GPG_ERR_EADDRINUSE" }, - { 10049L, "GPG_ERR_EADDRNOTAVAIL" }, - { 10047L, "GPG_ERR_EAFNOSUPPORT" }, - { 11, "GPG_ERR_EAGAIN" }, - { 10037L, "GPG_ERR_EALREADY" }, - { 9, "GPG_ERR_EBADF" }, - { 10009L, "GPG_ERR_EBADF" }, - { 16, "GPG_ERR_EBUSY" }, - { 10, "GPG_ERR_ECHILD" }, - { 10053L, "GPG_ERR_ECONNABORTED" }, - { 10061L, "GPG_ERR_ECONNREFUSED" }, - { 10054L, "GPG_ERR_ECONNRESET" }, - { 36, "GPG_ERR_EDEADLK" }, - { 36, "GPG_ERR_EDEADLOCK" }, - { 10039L, "GPG_ERR_EDESTADDRREQ" }, - { 33, "GPG_ERR_EDOM" }, - { 10069L, "GPG_ERR_EDQUOT" }, - { 17, "GPG_ERR_EEXIST" }, - { 14, "GPG_ERR_EFAULT" }, - { 10014L, "GPG_ERR_EFAULT" }, - { 27, "GPG_ERR_EFBIG" }, - { 10064L, "GPG_ERR_EHOSTDOWN" }, - { 10065L, "GPG_ERR_EHOSTUNREACH" }, - { 42, "GPG_ERR_EILSEQ" }, - { 10036L, "GPG_ERR_EINPROGRESS" }, - { 4, "GPG_ERR_EINTR" }, - { 10004L, "GPG_ERR_EINTR" }, - { 22, "GPG_ERR_EINVAL" }, - { 10022L, "GPG_ERR_EINVAL" }, - { 5, "GPG_ERR_EIO" }, - { 10056L, "GPG_ERR_EISCONN" }, - { 21, "GPG_ERR_EISDIR" }, - { 10062L, "GPG_ERR_ELOOP" }, - { 24, "GPG_ERR_EMFILE" }, - { 10024L, "GPG_ERR_EMFILE" }, - { 31, "GPG_ERR_EMLINK" }, - { 10040L, "GPG_ERR_EMSGSIZE" }, - { 38, "GPG_ERR_ENAMETOOLONG" }, - { 10063L, "GPG_ERR_ENAMETOOLONG" }, - { 10050L, "GPG_ERR_ENETDOWN" }, - { 10052L, "GPG_ERR_ENETRESET" }, - { 10051L, "GPG_ERR_ENETUNREACH" }, - { 23, "GPG_ERR_ENFILE" }, - { 10055L, "GPG_ERR_ENOBUFS" }, - { 19, "GPG_ERR_ENODEV" }, - { 2, "GPG_ERR_ENOENT" }, - { 8, "GPG_ERR_ENOEXEC" }, - { 39, "GPG_ERR_ENOLCK" }, - { 12, "GPG_ERR_ENOMEM" }, - { 10042L, "GPG_ERR_ENOPROTOOPT" }, - { 28, "GPG_ERR_ENOSPC" }, - { 40, "GPG_ERR_ENOSYS" }, - { 10057L, "GPG_ERR_ENOTCONN" }, - { 20, "GPG_ERR_ENOTDIR" }, - { 41, "GPG_ERR_ENOTEMPTY" }, - { 10066L, "GPG_ERR_ENOTEMPTY" }, - { 10038L, "GPG_ERR_ENOTSOCK" }, - { 25, "GPG_ERR_ENOTTY" }, - { 6, "GPG_ERR_ENXIO" }, - { 10045L, "GPG_ERR_EOPNOTSUPP" }, - { 1, "GPG_ERR_EPERM" }, - { 10046L, "GPG_ERR_EPFNOSUPPORT" }, - { 32, "GPG_ERR_EPIPE" }, - { 10067L, "GPG_ERR_EPROCLIM" }, - { 10043L, "GPG_ERR_EPROTONOSUPPORT" }, - { 10041L, "GPG_ERR_EPROTOTYPE" }, - { 34, "GPG_ERR_ERANGE" }, - { 10071L, "GPG_ERR_EREMOTE" }, - { 30, "GPG_ERR_EROFS" }, - { 10058L, "GPG_ERR_ESHUTDOWN" }, - { 10044L, "GPG_ERR_ESOCKTNOSUPPORT" }, - { 29, "GPG_ERR_ESPIPE" }, - { 3, "GPG_ERR_ESRCH" }, - { 10070L, "GPG_ERR_ESTALE" }, - { 10060L, "GPG_ERR_ETIMEDOUT" }, - { 10059L, "GPG_ERR_ETOOMANYREFS" }, - { 10068L, "GPG_ERR_EUSERS" }, - { 10035L, "GPG_ERR_EWOULDBLOCK" }, - { 18, "GPG_ERR_EXDEV" }, -}; diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes1.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes1.awk deleted file mode 100644 index a771a73602..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes1.awk +++ /dev/null @@ -1,96 +0,0 @@ -# mkerrcodes.awk -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkerrcodes.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkerrcodes.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkerrcodes.awk program. -# -# Certain portions of the mkerrcodes.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkerrcodes.awk. We call these the "data" portions. The rest of the -# mkerrcodes.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkerrcodes.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkerrcodes.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkerrcodes.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script outputs an intermediate file that contains the following block -# for each error value symbol in the input file (example for EINVAL): -# -# #ifdef EINVAL -# EINVAL GPG_ERR_EINVAL -# #endif -# -# The input file is a list of possible system errors in the column errnoidx -# (defaults to 2). -# -# Comments (starting with # and ending at the end of the line) are removed, -# as is trailing whitespace. - -BEGIN { - FS="[\t]+"; - header = 1; - if (errnoidx == 0) - errnoidx = 2; - - print "/* Output of mkerrcodes.awk. DO NOT EDIT. */"; - print ""; -} - -/^#/ { next; } - -header { - if ($1 ~ /^[0-9]/) - { - print "#include <errno.h>"; - print "#ifdef _WIN32"; - print "#include <winsock2.h>"; - print "#endif"; - print ""; - header = 0; - } - else - print; -} - -!header { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - print "#ifdef " $errnoidx; - print $errnoidx "\tGPG_ERR_" $errnoidx; - print "#endif"; - print "#ifdef WSA" $errnoidx; - print "WSA" $errnoidx "\tGPG_ERR_" $errnoidx; - print "#endif"; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes2.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes2.awk deleted file mode 100644 index ea5850341c..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrcodes2.awk +++ /dev/null @@ -1,134 +0,0 @@ -# mkstrtable.awk -# Copyright (C) 2003 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkerrcodes2.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkerrcodes2.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkerrcodes2.awk program. -# -# Certain portions of the mkerrcodes2.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkerrcodes2.awk. We call these the "data" portions. The rest of the -# mkerrcodes2.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkstrtable.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkerrcodes2.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkerrcodes2.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script outputs a source file that does define the following -# symbols: -# -# static const char msgstr[]; -# A string containing all messages in the list. -# -# static const int msgidx[]; -# A list of index numbers, one for each message, that points to the -# beginning of the string in msgstr. -# -# msgidxof (code); -# A macro that maps code numbers to idx numbers. If a DEFAULT MESSAGE -# is provided (see below), its index will be returned for unknown codes. -# Otherwise -1 is returned for codes that do not appear in the list. -# You can lookup the message with code CODE with: -# msgstr + msgidx[msgidxof (code)]. -# -# The input file has the following format: -# CODE1 MESSAGE1 (Code number, <tab>, message string) -# CODE2 MESSAGE2 (Code number, <tab>, message string) -# ... -# CODEn MESSAGEn (Code number, <tab>, message string) -# DEFAULT MESSAGE (<tab>, fall-back message string) -# -# Comments (starting with # and ending at the end of the line) are removed, -# as is trailing whitespace. The last line is optional; if no DEFAULT -# MESSAGE is given, msgidxof will return the number -1 for unknown -# index numbers. - -BEGIN { -# msg holds the number of messages. - msg = 0; - print "/* Output of mkerrcodes2.awk. DO NOT EDIT. */"; - print ""; - header = 1; -} - -/^#/ { next; } - -header { - if ($1 ~ /^[0123456789]+$/) - { - print "static const int err_code_from_index[] = {"; - header = 0; - } - else - print; -} - -!header { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - -# Print the string msgstr line by line. We delay output by one line to be able -# to treat the last line differently (see END). - print " " $2 ","; - -# Remember the error value and index of each error code. - code[msg] = $1; - pos[msg] = $2; - msg++; -} -END { - print "};"; - print ""; - print "#define errno_to_idx(code) (0 ? -1 \\"; - -# Gather the ranges. - skip = code[0]; - start = code[0]; - stop = code[0]; - for (i = 1; i < msg; i++) - { - if (code[i] == stop + 1) - stop++; - else - { - print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \ - skip ") \\"; - skip += code[i] - stop - 1; - start = code[i]; - stop = code[i]; - } - } - print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \ - skip ") \\"; - print " : -1)"; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrnos.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrnos.awk deleted file mode 100644 index f79df6613a..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkerrnos.awk +++ /dev/null @@ -1,104 +0,0 @@ -# mkerrnos.awk -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkerrnos.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkerrnos.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkerrnos.awk program. -# -# Certain portions of the mkerrnos.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkerrnos.awk. We call these the "data" portions. The rest of the -# mkerrnos.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkerrnos.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkerrnos.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkerrnos.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script outputs a source file that does define the following -# symbols: -# -# static const int err_code_to_errno[]; -# A mapping of gpg_err_code_t numbers to system errno. The index of an -# error code in the table can be obtained after removing the system error -# code indication bit. -# -# The input file is a list of possible system errors in the column errnoidx -# (defaults to 2). -# -# Comments (starting with # and ending at the end of the line) are removed, -# as is trailing whitespace. - -BEGIN { - FS="[\t]+"; - header = 1; - if (errnoidx == 0) - errnoidx = 2; - - print "/* Output of mkerrnos.awk. DO NOT EDIT. */"; - print ""; -} - -/^#/ { next; } - -header { - if ($1 ~ /^[0-9]/) - { - print "#include <errno.h>"; - print "#ifdef _WIN32"; - print "#include <winsock2.h>"; - print "#endif"; - print ""; - print "static const int err_code_to_errno [] = {"; - header = 0; - } - else - print; -} - -!header { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - print "#ifdef " $errnoidx; - print " " $errnoidx ","; - print "#else"; - print "#ifdef WSA" $errnoidx; - print " WSA" $errnoidx ","; - print "#else"; - print " 0,"; - print "#endif"; - print "#endif"; -} -END { - print "};"; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkheader.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkheader.awk deleted file mode 100644 index 0ff08f98eb..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkheader.awk +++ /dev/null @@ -1,218 +0,0 @@ -# mkheader.awk -# Copyright (C) 2003, 2004 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkheader.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkheader.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkheader.awk program. -# -# Certain portions of the mkheader.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkheader.awk. We call these the "data" portions. The rest of the -# mkheader.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkheader.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkheader.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkheader.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script processes gpg-error.h.in in an awful way. -# Its input is, one after another, the content of the err-sources.h.in file, -# the err-codes.h.in file, the errnos.in file, and then gpg-error.h.in. -# There is nothing fancy about this. -# -# An alternative would be to use getline to get the content of the first three files, -# but then we need to pre-process gpg-error.h.in with configure to get -# at the full path of the files in @srcdir@. - -BEGIN { - FS = "[\t]+"; -# sources_nr holds the number of error sources. - sources_nr = 0; -# codes_nr holds the number of error codes. - codes_nr = 0; -# errnos_nr holds the number of system errors. - errnos_nr = 0; -# extra_nr holds the number of extra lines to be included. - extra_nr = 0 - -# These variables walk us through our input. - sources_header = 1; - sources_body = 0; - between_sources_and_codes = 0; - codes_body = 0; - between_codes_and_errnos = 0; - errnos_body = 0; - extra_body = 0; - gpg_error_h = 0; - - print "/* Output of mkheader.awk. DO NOT EDIT. -*- buffer-read-only: t -*- */"; - print ""; - -} - - -sources_header { - if ($1 ~ /^[0123456789]+$/) - { - sources_header = 0; - sources_body = 1; - } -} - -sources_body { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - if ($1 == "") - { - sources_body = 0; - between_sources_and_codes = 1; - } - else - { -# Remember the error source number and symbol of each error source. - sources_idx[sources_nr] = $1; - sources_sym[sources_nr] = $2; - sources_nr++; - } -} - -between_sources_and_codes { - if ($1 ~ /^[0123456789]+$/) - { - between_sources_and_codes = 0; - codes_body = 1; - } -} - -codes_body { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - if ($1 == "") - { - codes_body = 0; - between_codes_and_errnos = 1; - } - else - { -# Remember the error code number and symbol of each error source. - codes_idx[codes_nr] = $1; - codes_sym[codes_nr] = $2; - codes_nr++; - } -} - -between_codes_and_errnos { - if ($1 ~ /^[0-9]/) - { - between_codes_and_errnos = 0; - errnos_body = 1; - } -} - -errnos_body { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - - if ($1 !~ /^[0-9]/) - { -# Note that this assumes that extra_body.in doesn't start with a digit. - errnos_body = 0; - extra_body = 1; - } - else - { - errnos_idx[errnos_nr] = "GPG_ERR_SYSTEM_ERROR | " $1; - errnos_sym[errnos_nr] = "GPG_ERR_" $2; - errnos_nr++; - } -} - -extra_body { - if (/^##/) - next - - if (/^EOF/) - { - extra_body = 0; - gpg_error_h = 1; - next; - } - else - { - extra_line[extra_nr] = $0; - extra_nr++; - } -} - -gpg_error_h { - if ($0 ~ /^@include err-sources/) - { - for (i = 0; i < sources_nr; i++) - { - print " " sources_sym[i] " = " sources_idx[i] ","; -# print "#define " sources_sym[i] " (" sources_idx[i] ")"; - } - } - else if ($0 ~ /^@include err-codes/) - { - for (i = 0; i < codes_nr; i++) - { - print " " codes_sym[i] " = " codes_idx[i] ","; -# print "#define " codes_sym[i] " (" codes_idx[i] ")"; - } - } - else if ($0 ~ /^@include errnos/) - { - for (i = 0; i < errnos_nr; i++) - { - print " " errnos_sym[i] " = " errnos_idx[i] ","; -# print "#define " errnos_sym[i] " (" errnos_idx[i] ")"; - } - } - else if ($0 ~ /^@include extra-h.in/) - { - for (i = 0; i < extra_nr; i++) - { - print extra_line[i]; - } - } - else - print; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkstrtable.awk b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkstrtable.awk deleted file mode 100644 index d97e150489..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkstrtable.awk +++ /dev/null @@ -1,189 +0,0 @@ -# mkstrtable.awk -# Copyright (C) 2003, 2004, 2008 g10 Code GmbH -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# -# As a special exception, g10 Code GmbH gives unlimited permission to -# copy, distribute and modify the C source files that are the output -# of mkstrtable.awk. You need not follow the terms of the GNU General -# Public License when using or distributing such scripts, even though -# portions of the text of mkstrtable.awk appear in them. The GNU -# General Public License (GPL) does govern all other use of the material -# that constitutes the mkstrtable.awk program. -# -# Certain portions of the mkstrtable.awk source text are designed to be -# copied (in certain cases, depending on the input) into the output of -# mkstrtable.awk. We call these the "data" portions. The rest of the -# mkstrtable.awk source text consists of comments plus executable code -# that decides which of the data portions to output in any given case. -# We call these comments and executable code the "non-data" portions. -# mkstrtable.h never copies any of the non-data portions into its output. -# -# This special exception to the GPL applies to versions of mkstrtable.awk -# released by g10 Code GmbH. When you make and distribute a modified version -# of mkstrtable.awk, you may extend this special exception to the GPL to -# apply to your modified version as well, *unless* your modified version -# has the potential to copy into its output some of the text that was the -# non-data portion of the version that you started with. (In other words, -# unless your change moves or copies text from the non-data portions to the -# data portions.) If your modification has such potential, you must delete -# any notice of this special exception to the GPL from your modified version. - -# This script outputs a source file that does define the following -# symbols: -# -# static const char msgstr[]; -# A string containing all messages in the list. -# -# static const int msgidx[]; -# A list of index numbers, one for each message, that points to the -# beginning of the string in msgstr. -# -# msgidxof (code); -# A macro that maps code numbers to idx numbers. If a DEFAULT MESSAGE -# is provided (see below), its index will be returned for unknown codes. -# Otherwise -1 is returned for codes that do not appear in the list. -# You can lookup the message with code CODE with: -# msgstr + msgidx[msgidxof (code)]. -# -# The input file has the following format: -# CODE1 ... MESSAGE1 (code nr, <tab>, something, <tab>, msg) -# CODE2 ... MESSAGE2 (code nr, <tab>, something, <tab>, msg) -# ... -# CODEn ... MESSAGEn (code nr, <tab>, something, <tab>, msg) -# ... DEFAULT-MESSAGE (<tab>, something, <tab>, fall-back msg) -# -# Comments (starting with # and ending at the end of the line) are removed, -# as is trailing whitespace. The last line is optional; if no DEFAULT -# MESSAGE is given, msgidxof will return the number -1 for unknown -# index numbers. -# -# The field to be used is specified with the variable "textidx" on -# the command line. It defaults to 2. -# -# The variable nogettext can be set to 1 to suppress gettext markers. -# -# The variable prefix can be used to prepend a string to each message. -# -# The variable namespace can be used to prepend a string to each -# variable and macro name. - -BEGIN { - FS = "[\t]+"; -# cpos holds the current position in the message string. - cpos = 0; -# msg holds the number of messages. - msg = 0; - print "/* Output of mkstrtable.awk. DO NOT EDIT. */"; - print ""; - header = 1; - if (textidx == 0) - textidx = 2; -# nogettext can be set to 1 to suppress gettext noop markers. -} - -/^#/ { next; } - -header { - if ($1 ~ /^[0123456789]+$/) - { - print "/* The purpose of this complex string table is to produce"; - print " optimal code with a minimum of relocations. */"; - print ""; - print "static const char " namespace "msgstr[] = "; - header = 0; - } - else - print; -} - -!header { - sub (/\#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) - next; - -# Print the string msgstr line by line. We delay output by one line to be able -# to treat the last line differently (see END). - if (last_msgstr) - { - if (nogettext) - print " \"" last_msgstr "\" \"\\0\""; - else - print " gettext_noop (\"" last_msgstr "\") \"\\0\""; - } - last_msgstr = prefix $textidx; - -# Remember the error code and msgidx of each error message. - code[msg] = $1; - pos[msg] = cpos; - cpos += length (last_msgstr) + 1; - msg++; - - if ($1 == "") - { - has_default = 1; - exit; - } -} -END { - if (has_default) - coded_msgs = msg - 1; - else - coded_msgs = msg; - - if (nogettext) - print " \"" last_msgstr "\";"; - else - print " gettext_noop (\"" last_msgstr "\");"; - print ""; - print "static const int " namespace "msgidx[] ="; - print " {"; - for (i = 0; i < coded_msgs; i++) - print " " pos[i] ","; - print " " pos[coded_msgs]; - print " };"; - print ""; - print "static inline int"; - print namespace "msgidxof (int code)"; - print "{"; - print " return (0 ? 0"; - -# Gather the ranges. - skip = code[0]; - start = code[0]; - stop = code[0]; - for (i = 1; i < coded_msgs; i++) - { - if (code[i] == stop + 1) - stop++; - else - { - print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \ - skip ")"; - skip += code[i] - stop - 1; - start = code[i]; - stop = code[i]; - } - } - print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \ - skip ")"; - if (has_default) - print " : " stop + 1 " - " skip ");"; - else - print " : -1);"; - print "}"; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.c deleted file mode 100644 index 68d0f05de7..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.c +++ /dev/null @@ -1,178 +0,0 @@ -/* mkw32errmap.c - Generate mapping sources for Windows. - Copyright (C) 2010 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#ifdef RESOLVE_MACROS -# include <winerror.h> -#endif -#include <stdio.h> -#include <stdlib.h> - -static const char header_gpg_extra_errno_h[] = - "/* errno.h - WindowsCE errno.h substitute\n" - " Copyright (C) 2010 g10 Code GmbH\n" - "\n" - " This file is free software; as a special exception the author gives\n" - " unlimited permission to copy and/or distribute it, with or without\n" - " modifications, as long as this notice is preserved.\n" - "\n" - " This file is distributed in the hope that it will be useful, but\n" - " WITHOUT ANY WARRANTY, to the extent permitted by law; without even\n" - " the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n" - " PURPOSE.\n" - "\n" - " +++ Do not edit! File has been generated by mkw32errmap.c +++\n" - "\n" - " This file is intended to be used with ming32ce-gcc to implement an\n" - " errno substitute under WindowsCE. It must be included via gcc's\n" - " -idirafter option. The gpg-error-config script emits the\n" - " appropriate option snippet. The actual implementation of the errno\n" - " related functions are part of libgpg-error. A separate header file\n" - " is required because errno.h is often included before gpg-error.h.\n" - " */\n" - "\n" - "#ifndef _GPG_ERROR_EXTRA_ERRNO_H\n" - "#define _GPG_ERROR_EXTRA_ERRNO_H\n" - "\n" - "/* Due to peculiarities in W32 we can't implement ERRNO as an\n" - " writable lvalue. This also allows us to easily find places\n" - " where ERRNO is being written to. See also gpg_err_set_errno. */\n" - "int _gpg_w32ce_get_errno (void);\n" - "#define errno (_gpg_w32ce_get_errno ())\n" - "\n"; -static const char footer_gpg_extra_errno_h[] = - "\n" - "#endif /*_GPG_ERROR_EXTRA_ERRNO_H*/\n"; - - -/* The table below is used in two modes. First we run the host - preprocessor over it to generate a new include file. This include - file has the same content but the Windows error macros are - resolved. This is so that we don't need to include winerror.h into - the generated errno.h. The mkw32errmap_marker variable is only - here to have something to grep for after preprocessing. */ -static int mkw32errmap_marker; -struct table_s -{ - int *dummy; - const char *name; - int w32code; - int w32code2; -}; - -struct table_s table[] = - { -#ifdef RESOLVE_MACROS -#define X(a,b,c) \ - {&mkw32errmap_marker, (a), (b), (c)} - X( "EPERM", ERROR_CANNOT_MAKE , 0 ), - X( "ENOENT", ERROR_FILE_NOT_FOUND , ERROR_PATH_NOT_FOUND ), - X( "EINTR", ERROR_INVALID_AT_INTERRUPT_TIME , 0 ), - X( "EIO", ERROR_IO_DEVICE , 0 ), - X( "ENXIO", ERROR_FILE_INVALID , 0 ), - X( "EBADF", ERROR_INVALID_HANDLE , 0 ), - X( "EAGAIN", ERROR_MORE_DATA , WSAEWOULDBLOCK ), - - X( "ENOMEM", ERROR_NOT_ENOUGH_MEMORY , 0 ), - X( "EACCES", ERROR_ACCESS_DENIED , 0 ), - X( "EFAULT", ERROR_PROCESS_ABORTED , 0 ), - X( "EBUSY", ERROR_BUSY , 0 ), - X( "EEXIST", ERROR_FILE_EXISTS , WSAEADDRINUSE ), - - X( "EXDEV", ERROR_NOT_SAME_DEVICE , 0 ), - X( "ENODEV", ERROR_BAD_DEVICE , ERROR_DEV_NOT_EXIST ), - - X( "ENOTDIR",ERROR_DIRECTORY , 0 ), - X( "EINVAL", ERROR_INVALID_PARAMETER , 0 ), - X( "ENFILE", ERROR_NO_MORE_FILES , 0 ), - X( "EMFILE", ERROR_TOO_MANY_OPEN_FILES , 0 ), - X( "ENOSPC", ERROR_DISK_FULL , 0 ), - X( "EROFS", ERROR_WRITE_PROTECT , 0 ), - X( "EPIPE", ERROR_BROKEN_PIPE , 0 ), - X( "ERANGE", ERROR_ARITHMETIC_OVERFLOW , 0 ), - X( "EDEADLOCK",ERROR_POSSIBLE_DEADLOCK , 0 ), - X( "ENAMETOOLONG", ERROR_FILENAME_EXCED_RANGE, 0 ), - X( "ENOLCK", ERROR_SHARING_BUFFER_EXCEEDED , 0 ), - X( "ENOSYS", ERROR_NOT_SUPPORTED , 0 ), - X( "ENOTEMPTY",ERROR_DIR_NOT_EMPTY , 0 ), - X( "ESPIPE", ERROR_SEEK_ON_DEVICE , 0 ), -#if 0 /* FIXME: Find appropriate mappings. */ - X( "EILSEQ", ), - X( "EDOM", ), - X( "EMLINK", ), - X( "ESRCH", ), /* No such process */ - X( "E2BIG", ), /* Arg list too long */ - X( "ENOEXEC", ), /* Exec format error */ - X( "ECHILD", ), /* No child processes */ - X( "EISDIR", ), /* Is a directory */ - X( "ENOTTY", ), /* Inappropriate I/O control operation */ - X( "EFBIG", ), /* File too large */ -#endif -#undef X -#else /*!RESOLVE_MACROS*/ -# include "mkw32errmap.tab.h" -#endif /*!RESOLVE_MACROS*/ - { NULL, 0 } - }; - - - -static int -compare_table (const void *a_v, const void *b_v) -{ - const struct table_s *a = a_v; - const struct table_s *b = b_v; - - return (a->w32code - b->w32code); -} - - -int -main (int argc, char **argv) -{ - int idx; - - for (idx=0; table[idx].name; idx++) - ; - qsort (table, idx, sizeof *table, compare_table); - - if (argc == 2 && !strcmp (argv[1], "--map")) - { - fputs ("static int\n" - "map_w32codes (int err)\n" - "{\n" - " switch (err)\n" - " {\n", stdout ); - for (idx=0; table[idx].name; idx++) - if (table[idx].w32code2) - printf (" case %d: return %d;\n", - table[idx].w32code2, table[idx].w32code); - fputs (" default: return err;\n" - " }\n" - "}\n", stdout); - } - else - { - fputs (header_gpg_extra_errno_h, stdout); - for (idx=0; table[idx].name; idx++) - printf ("#define %-12s %5d\n", table[idx].name, table[idx].w32code); - fputs (footer_gpg_extra_errno_h, stdout); - } - - return 0; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.map.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.map.c deleted file mode 100644 index c65491e927..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/mkw32errmap.map.c +++ /dev/null @@ -1 +0,0 @@ -/*dummy*/ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror-sym.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror-sym.c deleted file mode 100644 index 3d79f40bb5..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror-sym.c +++ /dev/null @@ -1,56 +0,0 @@ -/* strerror-sym.c - Describing an error code with its symbol name. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stddef.h> - -#include <gpg-error.h> - -#include "err-codes-sym.h" -#include "errnos-sym.h" - -/* Return a pointer to a string containing the name of the symbol of - the error code in the error value ERR. Returns NULL if the error - code is not known. */ -const char * -gpg_strerror_sym (gpg_error_t err) -{ - gpg_err_code_t code = gpg_err_code (err); - - if (code & GPG_ERR_SYSTEM_ERROR) - { - int idx; - - code &= ~GPG_ERR_SYSTEM_ERROR; - idx = errnos_msgidxof (code); - if (idx >= 0) - return errnos_msgstr + errnos_msgidx[idx]; - else - return NULL; - } - - if (msgidxof (code) == msgidxof (GPG_ERR_CODE_DIM)) - return NULL; - - return msgstr + msgidx[msgidxof (code)]; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror.c deleted file mode 100644 index dc56040262..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strerror.c +++ /dev/null @@ -1,169 +0,0 @@ -/* strerror.c - Describing an error code. - Copyright (C) 2003 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <errno.h> - -#include <gpg-error.h> - -#include "gettext.h" -#include "err-codes.h" - -/* Return a pointer to a string containing a description of the error - code in the error value ERR. This function is not thread-safe. */ -const char * -gpg_strerror (gpg_error_t err) -{ - gpg_err_code_t code = gpg_err_code (err); - - if (code & GPG_ERR_SYSTEM_ERROR) - { - int no = gpg_err_code_to_errno (code); - if (no) - return strerror (no); - else - code = GPG_ERR_UNKNOWN_ERRNO; - } - return dgettext (PACKAGE, msgstr + msgidx[msgidxof (code)]); -} - - -#ifdef HAVE_STRERROR_R -#ifdef STRERROR_R_CHAR_P -/* The GNU C library and probably some other systems have this weird - variant of strerror_r. */ - -/* Return a dynamically allocated string in *STR describing the system - error NO. If this call succeeds, return 1. If this call fails due - to a resource shortage, set *STR to NULL and return 1. If this - call fails because the error number is not valid, don't set *STR - and return 0. */ -static int -system_strerror_r (int no, char *buf, size_t buflen) -{ - char *errstr; - - errstr = strerror_r (no, buf, buflen); - if (errstr != buf) - { - size_t errstr_len = strlen (errstr) + 1; - size_t cpy_len = errstr_len < buflen ? errstr_len : buflen; - memcpy (buf, errstr, cpy_len); - - return cpy_len == errstr_len ? 0 : ERANGE; - } - else - { - /* We can not tell if the buffer was large enough, but we can - try to make a guess. */ - if (strlen (buf) + 1 >= buflen) - return ERANGE; - - return 0; - } -} - -#else /* STRERROR_R_CHAR_P */ -/* Now the POSIX version. */ - -static int -system_strerror_r (int no, char *buf, size_t buflen) -{ - return strerror_r (no, buf, buflen); -} - -#endif /* STRERROR_R_CHAR_P */ - -#else /* HAVE_STRERROR_H */ -/* Without strerror_r(), we can still provide a non-thread-safe - version. Maybe we are even lucky and the system's strerror() is - already thread-safe. */ - -static int -system_strerror_r (int no, char *buf, size_t buflen) -{ - char *errstr = strerror (no); - - if (!errstr) - { - int saved_errno = errno; - - if (saved_errno != EINVAL) - snprintf (buf, buflen, "strerror failed: %i\n", errno); - return saved_errno; - } - else - { - size_t errstr_len = strlen (errstr) + 1; - size_t cpy_len = errstr_len < buflen ? errstr_len : buflen; - memcpy (buf, errstr, cpy_len); - return cpy_len == errstr_len ? 0 : ERANGE; - } -} -#endif - - -/* Return the error string for ERR in the user-supplied buffer BUF of - size BUFLEN. This function is, in contrast to gpg_strerror, - thread-safe if a thread-safe strerror_r() function is provided by - the system. If the function succeeds, 0 is returned and BUF - contains the string describing the error. If the buffer was not - large enough, ERANGE is returned and BUF contains as much of the - beginning of the error string as fits into the buffer. */ -int -gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen) -{ - gpg_err_code_t code = gpg_err_code (err); - const char *errstr; - size_t errstr_len; - size_t cpy_len; - - if (code & GPG_ERR_SYSTEM_ERROR) - { - int no = gpg_err_code_to_errno (code); - if (no) - { - int system_err = system_strerror_r (no, buf, buflen); - - if (system_err != EINVAL) - { - if (buflen) - buf[buflen - 1] = '\0'; - return system_err; - } - } - code = GPG_ERR_UNKNOWN_ERRNO; - } - - errstr = dgettext (PACKAGE, msgstr + msgidx[msgidxof (code)]); - errstr_len = strlen (errstr) + 1; - cpy_len = errstr_len < buflen ? errstr_len : buflen; - memcpy (buf, errstr, cpy_len); - if (buflen) - buf[buflen - 1] = '\0'; - - return cpy_len == errstr_len ? 0 : ERANGE; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource-sym.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource-sym.c deleted file mode 100644 index a191310e95..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource-sym.c +++ /dev/null @@ -1,43 +0,0 @@ -/* strsource-sym.c - Describing an error source with its symbol name. - Copyright (C) 2003, 2004 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stddef.h> - -#include <gpg-error.h> - -#include "err-sources-sym.h" - -/* Return a pointer to a string containing the name of the symbol of - the error source in the error value ERR. Returns NULL if the error - code is not known. */ -const char * -gpg_strsource_sym (gpg_error_t err) -{ - gpg_err_source_t source = gpg_err_source (err); - - if (msgidxof (source) == msgidxof (GPG_ERR_SOURCE_DIM)) - return NULL; - - return msgstr + msgidx[msgidxof (source)]; -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource.c deleted file mode 100644 index 66d783c436..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/strsource.c +++ /dev/null @@ -1,37 +0,0 @@ -/* strsource.c - Describing an error source. - Copyright (C) 2003 g10 Code GmbH - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -#include <gpg-error.h> - -#include "gettext.h" -#include "err-sources.h" - -/* Return a pointer to a string containing a description of the error - source in the error value ERR. */ -const char * -gpg_strsource (gpg_error_t err) -{ - gpg_err_source_t source = gpg_err_source (err); - return dgettext (PACKAGE, msgstr + msgidx[msgidxof (source)]); -} diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc deleted file mode 100644 index 5a3b96bca1..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc +++ /dev/null @@ -1,52 +0,0 @@ -/* versioninfo.rc.in - for libgpg-error - * Copyright (C) 2005 g10 Code GmbH - * - * This file is free software; as a special exception the author gives - * unlimited permission to copy and/or distribute it, with or without - * modifications, as long as this notice is preserved. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/* This file is processed by configure to create versioninfo.rc */ - -#line __LINE__ "versioninfo.rc.in" - -#include <afxres.h> - - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,9,0,2 - PRODUCTVERSION 1,9,0,2 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x21L -#else - FILEFLAGS 0x20L -#endif - FILEOS 0x40004L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License.\0" - VALUE "CompanyName", "g10 Code GmbH\0" - VALUE "FileDescription", "libgpg-error - Common error codes\0" - VALUE "FileVersion", "1.9\0" - VALUE "InternalName", "libgpg-error\0" - VALUE "LegalCopyright", "Copyright © 2005 g10 Code GmbH\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "libgpg-error.dll\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "libgpg-error\0" - VALUE "ProductVersion", "1.9\0" - VALUE "SpecialBuild", "2010-08-12T17:56+0000\0" - END - END -END - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc.in b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc.in deleted file mode 100644 index 3384adc361..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/versioninfo.rc.in +++ /dev/null @@ -1,52 +0,0 @@ -/* versioninfo.rc.in - for libgpg-error - * Copyright (C) 2005 g10 Code GmbH - * - * This file is free software; as a special exception the author gives - * unlimited permission to copy and/or distribute it, with or without - * modifications, as long as this notice is preserved. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/* This file is processed by configure to create versioninfo.rc */ - -#line __LINE__ "versioninfo.rc.in" - -#include <afxres.h> - - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @BUILD_FILEVERSION@ - PRODUCTVERSION @BUILD_FILEVERSION@ - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x21L -#else - FILEFLAGS 0x20L -#endif - FILEOS 0x40004L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License.\0" - VALUE "CompanyName", "g10 Code GmbH\0" - VALUE "FileDescription", "libgpg-error - Common error codes\0" - VALUE "FileVersion", "@VERSION@\0" - VALUE "InternalName", "libgpg-error\0" - VALUE "LegalCopyright", "Copyright © 2005 g10 Code GmbH\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "libgpg-error.dll\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "libgpg-error\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "SpecialBuild", "@BUILD_TIMESTAMP@\0" - END - END -END - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-add.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-add.h deleted file mode 100644 index 02848acf73..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-add.h +++ /dev/null @@ -1,40 +0,0 @@ -## w32-add.h - Snippet to be be included into gpg-error.h. -## Comments are indicated by a double hash mark. Due to a -## peculiarity of the script the first used line must not -## start with a hash mark. - -/* Decide whether to use the format_arg attribute. */ -#if _GPG_ERR_GCC_VERSION > 20800 -# define _GPG_ERR_ATTR_FORMAT_ARG(a) __attribute__ ((__format_arg__ (a))) -#else -# define _GPG_ERR_ATTR_FORMAT_ARG(a) -#endif - -/* A lean gettext implementation based on GNU style mo files which are - required to be encoded in UTF-8. There is a limit on 65534 entries - to save some RAM. Only Germanic plural rules are supported. */ -const char *_gpg_w32_bindtextdomain (const char *domainname, - const char *dirname); -const char *_gpg_w32_textdomain (const char *domainname); -const char *_gpg_w32_gettext (const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (1); -const char *_gpg_w32_dgettext (const char *domainname, const char *msgid) - _GPG_ERR_ATTR_FORMAT_ARG (2); -const char *_gpg_w32_dngettext (const char *domainname, const char *msgid1, - const char *msgid2, unsigned long int n) - _GPG_ERR_ATTR_FORMAT_ARG (2) _GPG_ERR_ATTR_FORMAT_ARG (3); -const char *_gpg_w32_gettext_localename (void); -int _gpg_w32_gettext_use_utf8 (int value); - -#ifdef GPG_ERR_ENABLE_GETTEXT_MACROS -# define bindtextdomain(a,b) _gpg_w32_bindtextdomain ((a), (b)) -# define textdomain(a) _gpg_w32_textdomain ((a)) -# define gettext(a) _gpg_w32_gettext ((a)) -# define dgettext(a,b) _gpg_w32_dgettext ((a), (b)) -# define ngettext(a,b,c) _gpg_w32_dngettext (NULL, (a), (b), (c)) -# define dngettext(a,b,c,d) _gpg_w32_dngettext ((a), (b), (c), (d)) -# define gettext_localename() _gpg_w32_gettext_localename () -# define gettext_use_utf8(a) _gpg_w32_gettext_use_utf8 (a) -#endif /*GPG_ERR_ENABLE_GETTEXT_MACROS*/ - - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-gettext.c b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-gettext.c deleted file mode 100644 index da07a25695..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32-gettext.c +++ /dev/null @@ -1,1886 +0,0 @@ -/* w32-gettext.h - A simple gettext implementation for Windows targets. - Copyright (C) 1995, 1996, 1997, 1999, 2005, 2007, -2 2008, 2010 Free Software Foundation, Inc. - - This file is part of libgpg-error. - - libgpg-error is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - libgpg-error is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif -#if !defined (_WIN32) && !defined (__CYGWIN32__) -# error This module may only be build for Windows or Cygwin32 -#endif - -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <ctype.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <stdint.h> -#ifndef HAVE_W32CE_SYSTEM -# include <locale.h> -#endif /*HAVE_W32CE_SYSTEM*/ -#include <windows.h> - -#ifdef JNLIB_IN_JNLIB -#include "libjnlib-config.h" -#endif - -#ifndef jnlib_malloc -# define jnlib_malloc(a) malloc ((a)) -# define jnlib_calloc(a,b) calloc ((a), (b)) -# define jnlib_free(a) free ((a)) -# define jnlib_xstrdup(a) not_used -#endif /*!jnlib_malloc*/ - -#include "init.h" - - - -/* localname.c from gettext BEGIN. */ - -/* Determine the current selected locale. - Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, - USA. */ - -/* Written by Ulrich Drepper <drepper@gnu.org>, 1995. */ -/* Win32 code written by Tor Lillqvist <tml@iki.fi>. */ -/* Renamed _nl_locale_name, removed unsed args, removed include files, - non-W32 code and changed comments <wk@gnupg.org>. */ - -/* Mingw headers don't have latest language and sublanguage codes. */ -#ifndef LANG_AFRIKAANS -#define LANG_AFRIKAANS 0x36 -#endif -#ifndef LANG_ALBANIAN -#define LANG_ALBANIAN 0x1c -#endif -#ifndef LANG_AMHARIC -#define LANG_AMHARIC 0x5e -#endif -#ifndef LANG_ARABIC -#define LANG_ARABIC 0x01 -#endif -#ifndef LANG_ARMENIAN -#define LANG_ARMENIAN 0x2b -#endif -#ifndef LANG_ASSAMESE -#define LANG_ASSAMESE 0x4d -#endif -#ifndef LANG_AZERI -#define LANG_AZERI 0x2c -#endif -#ifndef LANG_BASQUE -#define LANG_BASQUE 0x2d -#endif -#ifndef LANG_BELARUSIAN -#define LANG_BELARUSIAN 0x23 -#endif -#ifndef LANG_BENGALI -#define LANG_BENGALI 0x45 -#endif -#ifndef LANG_BURMESE -#define LANG_BURMESE 0x55 -#endif -#ifndef LANG_CAMBODIAN -#define LANG_CAMBODIAN 0x53 -#endif -#ifndef LANG_CATALAN -#define LANG_CATALAN 0x03 -#endif -#ifndef LANG_CHEROKEE -#define LANG_CHEROKEE 0x5c -#endif -#ifndef LANG_DIVEHI -#define LANG_DIVEHI 0x65 -#endif -#ifndef LANG_EDO -#define LANG_EDO 0x66 -#endif -#ifndef LANG_ESTONIAN -#define LANG_ESTONIAN 0x25 -#endif -#ifndef LANG_FAEROESE -#define LANG_FAEROESE 0x38 -#endif -#ifndef LANG_FARSI -#define LANG_FARSI 0x29 -#endif -#ifndef LANG_FRISIAN -#define LANG_FRISIAN 0x62 -#endif -#ifndef LANG_FULFULDE -#define LANG_FULFULDE 0x67 -#endif -#ifndef LANG_GAELIC -#define LANG_GAELIC 0x3c -#endif -#ifndef LANG_GALICIAN -#define LANG_GALICIAN 0x56 -#endif -#ifndef LANG_GEORGIAN -#define LANG_GEORGIAN 0x37 -#endif -#ifndef LANG_GUARANI -#define LANG_GUARANI 0x74 -#endif -#ifndef LANG_GUJARATI -#define LANG_GUJARATI 0x47 -#endif -#ifndef LANG_HAUSA -#define LANG_HAUSA 0x68 -#endif -#ifndef LANG_HAWAIIAN -#define LANG_HAWAIIAN 0x75 -#endif -#ifndef LANG_HEBREW -#define LANG_HEBREW 0x0d -#endif -#ifndef LANG_HINDI -#define LANG_HINDI 0x39 -#endif -#ifndef LANG_IBIBIO -#define LANG_IBIBIO 0x69 -#endif -#ifndef LANG_IGBO -#define LANG_IGBO 0x70 -#endif -#ifndef LANG_INDONESIAN -#define LANG_INDONESIAN 0x21 -#endif -#ifndef LANG_INUKTITUT -#define LANG_INUKTITUT 0x5d -#endif -#ifndef LANG_KANNADA -#define LANG_KANNADA 0x4b -#endif -#ifndef LANG_KANURI -#define LANG_KANURI 0x71 -#endif -#ifndef LANG_KASHMIRI -#define LANG_KASHMIRI 0x60 -#endif -#ifndef LANG_KAZAK -#define LANG_KAZAK 0x3f -#endif -#ifndef LANG_KONKANI -#define LANG_KONKANI 0x57 -#endif -#ifndef LANG_KYRGYZ -#define LANG_KYRGYZ 0x40 -#endif -#ifndef LANG_LAO -#define LANG_LAO 0x54 -#endif -#ifndef LANG_LATIN -#define LANG_LATIN 0x76 -#endif -#ifndef LANG_LATVIAN -#define LANG_LATVIAN 0x26 -#endif -#ifndef LANG_LITHUANIAN -#define LANG_LITHUANIAN 0x27 -#endif -#ifndef LANG_MACEDONIAN -#define LANG_MACEDONIAN 0x2f -#endif -#ifndef LANG_MALAY -#define LANG_MALAY 0x3e -#endif -#ifndef LANG_MALAYALAM -#define LANG_MALAYALAM 0x4c -#endif -#ifndef LANG_MALTESE -#define LANG_MALTESE 0x3a -#endif -#ifndef LANG_MANIPURI -#define LANG_MANIPURI 0x58 -#endif -#ifndef LANG_MARATHI -#define LANG_MARATHI 0x4e -#endif -#ifndef LANG_MONGOLIAN -#define LANG_MONGOLIAN 0x50 -#endif -#ifndef LANG_NEPALI -#define LANG_NEPALI 0x61 -#endif -#ifndef LANG_ORIYA -#define LANG_ORIYA 0x48 -#endif -#ifndef LANG_OROMO -#define LANG_OROMO 0x72 -#endif -#ifndef LANG_PAPIAMENTU -#define LANG_PAPIAMENTU 0x79 -#endif -#ifndef LANG_PASHTO -#define LANG_PASHTO 0x63 -#endif -#ifndef LANG_PUNJABI -#define LANG_PUNJABI 0x46 -#endif -#ifndef LANG_RHAETO_ROMANCE -#define LANG_RHAETO_ROMANCE 0x17 -#endif -#ifndef LANG_SAAMI -#define LANG_SAAMI 0x3b -#endif -#ifndef LANG_SANSKRIT -#define LANG_SANSKRIT 0x4f -#endif -#ifndef LANG_SERBIAN -#define LANG_SERBIAN 0x1a -#endif -#ifndef LANG_SINDHI -#define LANG_SINDHI 0x59 -#endif -#ifndef LANG_SINHALESE -#define LANG_SINHALESE 0x5b -#endif -#ifndef LANG_SLOVAK -#define LANG_SLOVAK 0x1b -#endif -#ifndef LANG_SOMALI -#define LANG_SOMALI 0x77 -#endif -#ifndef LANG_SORBIAN -#define LANG_SORBIAN 0x2e -#endif -#ifndef LANG_SUTU -#define LANG_SUTU 0x30 -#endif -#ifndef LANG_SWAHILI -#define LANG_SWAHILI 0x41 -#endif -#ifndef LANG_SYRIAC -#define LANG_SYRIAC 0x5a -#endif -#ifndef LANG_TAGALOG -#define LANG_TAGALOG 0x64 -#endif -#ifndef LANG_TAJIK -#define LANG_TAJIK 0x28 -#endif -#ifndef LANG_TAMAZIGHT -#define LANG_TAMAZIGHT 0x5f -#endif -#ifndef LANG_TAMIL -#define LANG_TAMIL 0x49 -#endif -#ifndef LANG_TATAR -#define LANG_TATAR 0x44 -#endif -#ifndef LANG_TELUGU -#define LANG_TELUGU 0x4a -#endif -#ifndef LANG_THAI -#define LANG_THAI 0x1e -#endif -#ifndef LANG_TIBETAN -#define LANG_TIBETAN 0x51 -#endif -#ifndef LANG_TIGRINYA -#define LANG_TIGRINYA 0x73 -#endif -#ifndef LANG_TSONGA -#define LANG_TSONGA 0x31 -#endif -#ifndef LANG_TSWANA -#define LANG_TSWANA 0x32 -#endif -#ifndef LANG_TURKMEN -#define LANG_TURKMEN 0x42 -#endif -#ifndef LANG_UKRAINIAN -#define LANG_UKRAINIAN 0x22 -#endif -#ifndef LANG_URDU -#define LANG_URDU 0x20 -#endif -#ifndef LANG_UZBEK -#define LANG_UZBEK 0x43 -#endif -#ifndef LANG_VENDA -#define LANG_VENDA 0x33 -#endif -#ifndef LANG_VIETNAMESE -#define LANG_VIETNAMESE 0x2a -#endif -#ifndef LANG_WELSH -#define LANG_WELSH 0x52 -#endif -#ifndef LANG_XHOSA -#define LANG_XHOSA 0x34 -#endif -#ifndef LANG_YI -#define LANG_YI 0x78 -#endif -#ifndef LANG_YIDDISH -#define LANG_YIDDISH 0x3d -#endif -#ifndef LANG_YORUBA -#define LANG_YORUBA 0x6a -#endif -#ifndef LANG_ZULU -#define LANG_ZULU 0x35 -#endif -#ifndef SUBLANG_ARABIC_SAUDI_ARABIA -#define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 -#endif -#ifndef SUBLANG_ARABIC_IRAQ -#define SUBLANG_ARABIC_IRAQ 0x02 -#endif -#ifndef SUBLANG_ARABIC_EGYPT -#define SUBLANG_ARABIC_EGYPT 0x03 -#endif -#ifndef SUBLANG_ARABIC_LIBYA -#define SUBLANG_ARABIC_LIBYA 0x04 -#endif -#ifndef SUBLANG_ARABIC_ALGERIA -#define SUBLANG_ARABIC_ALGERIA 0x05 -#endif -#ifndef SUBLANG_ARABIC_MOROCCO -#define SUBLANG_ARABIC_MOROCCO 0x06 -#endif -#ifndef SUBLANG_ARABIC_TUNISIA -#define SUBLANG_ARABIC_TUNISIA 0x07 -#endif -#ifndef SUBLANG_ARABIC_OMAN -#define SUBLANG_ARABIC_OMAN 0x08 -#endif -#ifndef SUBLANG_ARABIC_YEMEN -#define SUBLANG_ARABIC_YEMEN 0x09 -#endif -#ifndef SUBLANG_ARABIC_SYRIA -#define SUBLANG_ARABIC_SYRIA 0x0a -#endif -#ifndef SUBLANG_ARABIC_JORDAN -#define SUBLANG_ARABIC_JORDAN 0x0b -#endif -#ifndef SUBLANG_ARABIC_LEBANON -#define SUBLANG_ARABIC_LEBANON 0x0c -#endif -#ifndef SUBLANG_ARABIC_KUWAIT -#define SUBLANG_ARABIC_KUWAIT 0x0d -#endif -#ifndef SUBLANG_ARABIC_UAE -#define SUBLANG_ARABIC_UAE 0x0e -#endif -#ifndef SUBLANG_ARABIC_BAHRAIN -#define SUBLANG_ARABIC_BAHRAIN 0x0f -#endif -#ifndef SUBLANG_ARABIC_QATAR -#define SUBLANG_ARABIC_QATAR 0x10 -#endif -#ifndef SUBLANG_AZERI_LATIN -#define SUBLANG_AZERI_LATIN 0x01 -#endif -#ifndef SUBLANG_AZERI_CYRILLIC -#define SUBLANG_AZERI_CYRILLIC 0x02 -#endif -#ifndef SUBLANG_BENGALI_INDIA -#define SUBLANG_BENGALI_INDIA 0x01 -#endif -#ifndef SUBLANG_BENGALI_BANGLADESH -#define SUBLANG_BENGALI_BANGLADESH 0x02 -#endif -#ifndef SUBLANG_CHINESE_MACAU -#define SUBLANG_CHINESE_MACAU 0x05 -#endif -#ifndef SUBLANG_ENGLISH_SOUTH_AFRICA -#define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 -#endif -#ifndef SUBLANG_ENGLISH_JAMAICA -#define SUBLANG_ENGLISH_JAMAICA 0x08 -#endif -#ifndef SUBLANG_ENGLISH_CARIBBEAN -#define SUBLANG_ENGLISH_CARIBBEAN 0x09 -#endif -#ifndef SUBLANG_ENGLISH_BELIZE -#define SUBLANG_ENGLISH_BELIZE 0x0a -#endif -#ifndef SUBLANG_ENGLISH_TRINIDAD -#define SUBLANG_ENGLISH_TRINIDAD 0x0b -#endif -#ifndef SUBLANG_ENGLISH_ZIMBABWE -#define SUBLANG_ENGLISH_ZIMBABWE 0x0c -#endif -#ifndef SUBLANG_ENGLISH_PHILIPPINES -#define SUBLANG_ENGLISH_PHILIPPINES 0x0d -#endif -#ifndef SUBLANG_ENGLISH_INDONESIA -#define SUBLANG_ENGLISH_INDONESIA 0x0e -#endif -#ifndef SUBLANG_ENGLISH_HONGKONG -#define SUBLANG_ENGLISH_HONGKONG 0x0f -#endif -#ifndef SUBLANG_ENGLISH_INDIA -#define SUBLANG_ENGLISH_INDIA 0x10 -#endif -#ifndef SUBLANG_ENGLISH_MALAYSIA -#define SUBLANG_ENGLISH_MALAYSIA 0x11 -#endif -#ifndef SUBLANG_ENGLISH_SINGAPORE -#define SUBLANG_ENGLISH_SINGAPORE 0x12 -#endif -#ifndef SUBLANG_FRENCH_LUXEMBOURG -#define SUBLANG_FRENCH_LUXEMBOURG 0x05 -#endif -#ifndef SUBLANG_FRENCH_MONACO -#define SUBLANG_FRENCH_MONACO 0x06 -#endif -#ifndef SUBLANG_FRENCH_WESTINDIES -#define SUBLANG_FRENCH_WESTINDIES 0x07 -#endif -#ifndef SUBLANG_FRENCH_REUNION -#define SUBLANG_FRENCH_REUNION 0x08 -#endif -#ifndef SUBLANG_FRENCH_CONGO -#define SUBLANG_FRENCH_CONGO 0x09 -#endif -#ifndef SUBLANG_FRENCH_SENEGAL -#define SUBLANG_FRENCH_SENEGAL 0x0a -#endif -#ifndef SUBLANG_FRENCH_CAMEROON -#define SUBLANG_FRENCH_CAMEROON 0x0b -#endif -#ifndef SUBLANG_FRENCH_COTEDIVOIRE -#define SUBLANG_FRENCH_COTEDIVOIRE 0x0c -#endif -#ifndef SUBLANG_FRENCH_MALI -#define SUBLANG_FRENCH_MALI 0x0d -#endif -#ifndef SUBLANG_FRENCH_MOROCCO -#define SUBLANG_FRENCH_MOROCCO 0x0e -#endif -#ifndef SUBLANG_FRENCH_HAITI -#define SUBLANG_FRENCH_HAITI 0x0f -#endif -#ifndef SUBLANG_GERMAN_LUXEMBOURG -#define SUBLANG_GERMAN_LUXEMBOURG 0x04 -#endif -#ifndef SUBLANG_GERMAN_LIECHTENSTEIN -#define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 -#endif -#ifndef SUBLANG_KASHMIRI_INDIA -#define SUBLANG_KASHMIRI_INDIA 0x02 -#endif -#ifndef SUBLANG_MALAY_MALAYSIA -#define SUBLANG_MALAY_MALAYSIA 0x01 -#endif -#ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM -#define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 -#endif -#ifndef SUBLANG_NEPALI_INDIA -#define SUBLANG_NEPALI_INDIA 0x02 -#endif -#ifndef SUBLANG_PUNJABI_INDIA -#define SUBLANG_PUNJABI_INDIA 0x01 -#endif -#ifndef SUBLANG_ROMANIAN_ROMANIA -#define SUBLANG_ROMANIAN_ROMANIA 0x01 -#endif -#ifndef SUBLANG_SERBIAN_LATIN -#define SUBLANG_SERBIAN_LATIN 0x02 -#endif -#ifndef SUBLANG_SERBIAN_CYRILLIC -#define SUBLANG_SERBIAN_CYRILLIC 0x03 -#endif -#ifndef SUBLANG_SINDHI_INDIA -#define SUBLANG_SINDHI_INDIA 0x00 -#endif -#ifndef SUBLANG_SINDHI_PAKISTAN -#define SUBLANG_SINDHI_PAKISTAN 0x01 -#endif -#ifndef SUBLANG_SPANISH_GUATEMALA -#define SUBLANG_SPANISH_GUATEMALA 0x04 -#endif -#ifndef SUBLANG_SPANISH_COSTA_RICA -#define SUBLANG_SPANISH_COSTA_RICA 0x05 -#endif -#ifndef SUBLANG_SPANISH_PANAMA -#define SUBLANG_SPANISH_PANAMA 0x06 -#endif -#ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC -#define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 -#endif -#ifndef SUBLANG_SPANISH_VENEZUELA -#define SUBLANG_SPANISH_VENEZUELA 0x08 -#endif -#ifndef SUBLANG_SPANISH_COLOMBIA -#define SUBLANG_SPANISH_COLOMBIA 0x09 -#endif -#ifndef SUBLANG_SPANISH_PERU -#define SUBLANG_SPANISH_PERU 0x0a -#endif -#ifndef SUBLANG_SPANISH_ARGENTINA -#define SUBLANG_SPANISH_ARGENTINA 0x0b -#endif -#ifndef SUBLANG_SPANISH_ECUADOR -#define SUBLANG_SPANISH_ECUADOR 0x0c -#endif -#ifndef SUBLANG_SPANISH_CHILE -#define SUBLANG_SPANISH_CHILE 0x0d -#endif -#ifndef SUBLANG_SPANISH_URUGUAY -#define SUBLANG_SPANISH_URUGUAY 0x0e -#endif -#ifndef SUBLANG_SPANISH_PARAGUAY -#define SUBLANG_SPANISH_PARAGUAY 0x0f -#endif -#ifndef SUBLANG_SPANISH_BOLIVIA -#define SUBLANG_SPANISH_BOLIVIA 0x10 -#endif -#ifndef SUBLANG_SPANISH_EL_SALVADOR -#define SUBLANG_SPANISH_EL_SALVADOR 0x11 -#endif -#ifndef SUBLANG_SPANISH_HONDURAS -#define SUBLANG_SPANISH_HONDURAS 0x12 -#endif -#ifndef SUBLANG_SPANISH_NICARAGUA -#define SUBLANG_SPANISH_NICARAGUA 0x13 -#endif -#ifndef SUBLANG_SPANISH_PUERTO_RICO -#define SUBLANG_SPANISH_PUERTO_RICO 0x14 -#endif -#ifndef SUBLANG_SWEDISH_FINLAND -#define SUBLANG_SWEDISH_FINLAND 0x02 -#endif -#ifndef SUBLANG_TAMAZIGHT_ARABIC -#define SUBLANG_TAMAZIGHT_ARABIC 0x01 -#endif -#ifndef SUBLANG_TAMAZIGHT_LATIN -#define SUBLANG_TAMAZIGHT_LATIN 0x02 -#endif -#ifndef SUBLANG_TIGRINYA_ETHIOPIA -#define SUBLANG_TIGRINYA_ETHIOPIA 0x00 -#endif -#ifndef SUBLANG_TIGRINYA_ERITREA -#define SUBLANG_TIGRINYA_ERITREA 0x01 -#endif -#ifndef SUBLANG_URDU_PAKISTAN -#define SUBLANG_URDU_PAKISTAN 0x01 -#endif -#ifndef SUBLANG_URDU_INDIA -#define SUBLANG_URDU_INDIA 0x02 -#endif -#ifndef SUBLANG_UZBEK_LATIN -#define SUBLANG_UZBEK_LATIN 0x01 -#endif -#ifndef SUBLANG_UZBEK_CYRILLIC -#define SUBLANG_UZBEK_CYRILLIC 0x02 -#endif - -/* Return an XPG style locale name - language[_territory[.codeset]][@modifier]. - Don't even bother determining the codeset; it's not useful in this - context, because message catalogs are not specific to a single - codeset. The result must not be freed; it is statically - allocated. */ -static const char * -my_nl_locale_name (const char *categoryname) -{ - const char *retval; - LCID lcid; - LANGID langid; - int primary, sub; - - /* Let the user override the system settings through environment - variables, as on POSIX systems. */ -#ifndef HAVE_W32CE_SYSTEM - retval = getenv ("LC_ALL"); - if (retval != NULL && retval[0] != '\0') - return retval; - retval = getenv (categoryname); - if (retval != NULL && retval[0] != '\0') - return retval; - retval = getenv ("LANG"); - if (retval != NULL && retval[0] != '\0') - return retval; -#endif /*!HAVE_W32CE_SYSTEM*/ - - /* Use native Win32 API locale ID. */ -#ifdef HAVE_W32CE_SYSTEM - lcid = GetSystemDefaultLCID (); -#else - lcid = GetThreadLocale (); -#endif - - /* Strip off the sorting rules, keep only the language part. */ - langid = LANGIDFROMLCID (lcid); - - /* Split into language and territory part. */ - primary = PRIMARYLANGID (langid); - sub = SUBLANGID (langid); - - /* Dispatch on language. - See also http://www.unicode.org/unicode/onlinedat/languages.html . - For details about languages, see http://www.ethnologue.com/ . */ - switch (primary) - { - case LANG_AFRIKAANS: return "af_ZA"; - case LANG_ALBANIAN: return "sq_AL"; - case LANG_AMHARIC: return "am_ET"; - case LANG_ARABIC: - switch (sub) - { - case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; - case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; - case SUBLANG_ARABIC_EGYPT: return "ar_EG"; - case SUBLANG_ARABIC_LIBYA: return "ar_LY"; - case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; - case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; - case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; - case SUBLANG_ARABIC_OMAN: return "ar_OM"; - case SUBLANG_ARABIC_YEMEN: return "ar_YE"; - case SUBLANG_ARABIC_SYRIA: return "ar_SY"; - case SUBLANG_ARABIC_JORDAN: return "ar_JO"; - case SUBLANG_ARABIC_LEBANON: return "ar_LB"; - case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; - case SUBLANG_ARABIC_UAE: return "ar_AE"; - case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; - case SUBLANG_ARABIC_QATAR: return "ar_QA"; - } - return "ar"; - case LANG_ARMENIAN: return "hy_AM"; - case LANG_ASSAMESE: return "as_IN"; - case LANG_AZERI: - switch (sub) - { - /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ - case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; - case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; - } - return "az"; - case LANG_BASQUE: - return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ - case LANG_BELARUSIAN: return "be_BY"; - case LANG_BENGALI: - switch (sub) - { - case SUBLANG_BENGALI_INDIA: return "bn_IN"; - case SUBLANG_BENGALI_BANGLADESH: return "bn_BD"; - } - return "bn"; - case LANG_BULGARIAN: return "bg_BG"; - case LANG_BURMESE: return "my_MM"; - case LANG_CAMBODIAN: return "km_KH"; - case LANG_CATALAN: return "ca_ES"; - case LANG_CHEROKEE: return "chr_US"; - case LANG_CHINESE: - switch (sub) - { - case SUBLANG_CHINESE_TRADITIONAL: return "zh_TW"; - case SUBLANG_CHINESE_SIMPLIFIED: return "zh_CN"; - case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; - case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; - case SUBLANG_CHINESE_MACAU: return "zh_MO"; - } - return "zh"; - case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN - * What used to be called Serbo-Croatian - * should really now be two separate - * languages because of political reasons. - * (Says tml, who knows nothing about Serbian - * or Croatian.) - * (I can feel those flames coming already.) - */ - switch (sub) - { - case SUBLANG_DEFAULT: return "hr_HR"; - case SUBLANG_SERBIAN_LATIN: return "sr_CS"; - case SUBLANG_SERBIAN_CYRILLIC: return "sr_CS@cyrillic"; - } - return "hr"; - case LANG_CZECH: return "cs_CZ"; - case LANG_DANISH: return "da_DK"; - case LANG_DIVEHI: return "div_MV"; - case LANG_DUTCH: - switch (sub) - { - case SUBLANG_DUTCH: return "nl_NL"; - case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; - } - return "nl"; - case LANG_EDO: return "bin_NG"; - case LANG_ENGLISH: - switch (sub) - { - /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought - * English was the language spoken in England. - * Oh well. - */ - case SUBLANG_ENGLISH_US: return "en_US"; - case SUBLANG_ENGLISH_UK: return "en_GB"; - case SUBLANG_ENGLISH_AUS: return "en_AU"; - case SUBLANG_ENGLISH_CAN: return "en_CA"; - case SUBLANG_ENGLISH_NZ: return "en_NZ"; - case SUBLANG_ENGLISH_EIRE: return "en_IE"; - case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; - case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; - case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ - case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; - case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; - case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; - case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; - case SUBLANG_ENGLISH_INDONESIA: return "en_ID"; - case SUBLANG_ENGLISH_HONGKONG: return "en_HK"; - case SUBLANG_ENGLISH_INDIA: return "en_IN"; - case SUBLANG_ENGLISH_MALAYSIA: return "en_MY"; - case SUBLANG_ENGLISH_SINGAPORE: return "en_SG"; - } - return "en"; - case LANG_ESTONIAN: return "et_EE"; - case LANG_FAEROESE: return "fo_FO"; - case LANG_FARSI: return "fa_IR"; - case LANG_FINNISH: return "fi_FI"; - case LANG_FRENCH: - switch (sub) - { - case SUBLANG_FRENCH: return "fr_FR"; - case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; - case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; - case SUBLANG_FRENCH_SWISS: return "fr_CH"; - case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; - case SUBLANG_FRENCH_MONACO: return "fr_MC"; - case SUBLANG_FRENCH_WESTINDIES: return "fr"; /* Caribbean? */ - case SUBLANG_FRENCH_REUNION: return "fr_RE"; - case SUBLANG_FRENCH_CONGO: return "fr_CG"; - case SUBLANG_FRENCH_SENEGAL: return "fr_SN"; - case SUBLANG_FRENCH_CAMEROON: return "fr_CM"; - case SUBLANG_FRENCH_COTEDIVOIRE: return "fr_CI"; - case SUBLANG_FRENCH_MALI: return "fr_ML"; - case SUBLANG_FRENCH_MOROCCO: return "fr_MA"; - case SUBLANG_FRENCH_HAITI: return "fr_HT"; - } - return "fr"; - case LANG_FRISIAN: return "fy_NL"; - case LANG_FULFULDE: return "ful_NG"; - case LANG_GAELIC: - switch (sub) - { - case 0x01: /* SCOTTISH */ return "gd_GB"; - case 0x02: /* IRISH */ return "ga_IE"; - } - return "C"; - case LANG_GALICIAN: return "gl_ES"; - case LANG_GEORGIAN: return "ka_GE"; - case LANG_GERMAN: - switch (sub) - { - case SUBLANG_GERMAN: return "de_DE"; - case SUBLANG_GERMAN_SWISS: return "de_CH"; - case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; - case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; - case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; - } - return "de"; - case LANG_GREEK: return "el_GR"; - case LANG_GUARANI: return "gn_PY"; - case LANG_GUJARATI: return "gu_IN"; - case LANG_HAUSA: return "ha_NG"; - case LANG_HAWAIIAN: - /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) - or Hawaii Creole English ("cpe_US", 600000 speakers)? */ - return "cpe_US"; - case LANG_HEBREW: return "he_IL"; - case LANG_HINDI: return "hi_IN"; - case LANG_HUNGARIAN: return "hu_HU"; - case LANG_IBIBIO: return "nic_NG"; - case LANG_ICELANDIC: return "is_IS"; - case LANG_IGBO: return "ibo_NG"; - case LANG_INDONESIAN: return "id_ID"; - case LANG_INUKTITUT: return "iu_CA"; - case LANG_ITALIAN: - switch (sub) - { - case SUBLANG_ITALIAN: return "it_IT"; - case SUBLANG_ITALIAN_SWISS: return "it_CH"; - } - return "it"; - case LANG_JAPANESE: return "ja_JP"; - case LANG_KANNADA: return "kn_IN"; - case LANG_KANURI: return "kau_NG"; - case LANG_KASHMIRI: - switch (sub) - { - case SUBLANG_DEFAULT: return "ks_PK"; - case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; - } - return "ks"; - case LANG_KAZAK: return "kk_KZ"; - case LANG_KONKANI: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "kok_IN"; - case LANG_KOREAN: return "ko_KR"; - case LANG_KYRGYZ: return "ky_KG"; - case LANG_LAO: return "lo_LA"; - case LANG_LATIN: return "la_VA"; - case LANG_LATVIAN: return "lv_LV"; - case LANG_LITHUANIAN: return "lt_LT"; - case LANG_MACEDONIAN: return "mk_MK"; - case LANG_MALAY: - switch (sub) - { - case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; - case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; - } - return "ms"; - case LANG_MALAYALAM: return "ml_IN"; - case LANG_MALTESE: return "mt_MT"; - case LANG_MANIPURI: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "mni_IN"; - case LANG_MARATHI: return "mr_IN"; - case LANG_MONGOLIAN: - return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ - case LANG_NEPALI: - switch (sub) - { - case SUBLANG_DEFAULT: return "ne_NP"; - case SUBLANG_NEPALI_INDIA: return "ne_IN"; - } - return "ne"; - case LANG_NORWEGIAN: - switch (sub) - { - case SUBLANG_NORWEGIAN_BOKMAL: return "no_NO"; - case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; - } - return "no"; - case LANG_ORIYA: return "or_IN"; - case LANG_OROMO: return "om_ET"; - case LANG_PAPIAMENTU: return "pap_AN"; - case LANG_PASHTO: - return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ - case LANG_POLISH: return "pl_PL"; - case LANG_PORTUGUESE: - switch (sub) - { - case SUBLANG_PORTUGUESE: return "pt_PT"; - /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. - Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ - case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; - } - return "pt"; - case LANG_PUNJABI: - switch (sub) - { - case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ - } - return "pa"; - case LANG_RHAETO_ROMANCE: return "rm_CH"; - case LANG_ROMANIAN: - switch (sub) - { - case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; - } - return "ro"; - case LANG_RUSSIAN: - return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ - case LANG_SAAMI: /* actually Northern Sami */ return "se_NO"; - case LANG_SANSKRIT: return "sa_IN"; - case LANG_SINDHI: - switch (sub) - { - case SUBLANG_SINDHI_INDIA: return "sd_IN"; - case SUBLANG_SINDHI_PAKISTAN: return "sd_PK"; - } - return "sd"; - case LANG_SINHALESE: return "si_LK"; - case LANG_SLOVAK: return "sk_SK"; - case LANG_SLOVENIAN: return "sl_SI"; - case LANG_SOMALI: return "so_SO"; - case LANG_SORBIAN: - /* FIXME: Adjust this when such locales appear on Unix. */ - return "wen_DE"; - case LANG_SPANISH: - switch (sub) - { - case SUBLANG_SPANISH: return "es_ES"; - case SUBLANG_SPANISH_MEXICAN: return "es_MX"; - case SUBLANG_SPANISH_MODERN: - return "es_ES@modern"; /* not seen on Unix */ - case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; - case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; - case SUBLANG_SPANISH_PANAMA: return "es_PA"; - case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; - case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; - case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; - case SUBLANG_SPANISH_PERU: return "es_PE"; - case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; - case SUBLANG_SPANISH_ECUADOR: return "es_EC"; - case SUBLANG_SPANISH_CHILE: return "es_CL"; - case SUBLANG_SPANISH_URUGUAY: return "es_UY"; - case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; - case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; - case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; - case SUBLANG_SPANISH_HONDURAS: return "es_HN"; - case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; - case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; - } - return "es"; - case LANG_SUTU: return "bnt_TZ"; /* or "st_LS" or "nso_ZA"? */ - case LANG_SWAHILI: return "sw_KE"; - case LANG_SWEDISH: - switch (sub) - { - case SUBLANG_DEFAULT: return "sv_SE"; - case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; - } - return "sv"; - case LANG_SYRIAC: return "syr_TR"; /* An extinct language. */ - case LANG_TAGALOG: return "tl_PH"; - case LANG_TAJIK: return "tg_TJ"; - case LANG_TAMAZIGHT: - switch (sub) - { - /* FIXME: Adjust this when Tamazight locales appear on Unix. */ - case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic"; - case SUBLANG_TAMAZIGHT_LATIN: return "ber_MA@latin"; - } - return "ber_MA"; - case LANG_TAMIL: - return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ - case LANG_TATAR: return "tt_RU"; - case LANG_TELUGU: return "te_IN"; - case LANG_THAI: return "th_TH"; - case LANG_TIBETAN: return "bo_CN"; - case LANG_TIGRINYA: - switch (sub) - { - case SUBLANG_TIGRINYA_ETHIOPIA: return "ti_ET"; - case SUBLANG_TIGRINYA_ERITREA: return "ti_ER"; - } - return "ti"; - case LANG_TSONGA: return "ts_ZA"; - case LANG_TSWANA: return "tn_BW"; - case LANG_TURKISH: return "tr_TR"; - case LANG_TURKMEN: return "tk_TM"; - case LANG_UKRAINIAN: return "uk_UA"; - case LANG_URDU: - switch (sub) - { - case SUBLANG_URDU_PAKISTAN: return "ur_PK"; - case SUBLANG_URDU_INDIA: return "ur_IN"; - } - return "ur"; - case LANG_UZBEK: - switch (sub) - { - case SUBLANG_UZBEK_LATIN: return "uz_UZ"; - case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; - } - return "uz"; - case LANG_VENDA: - /* FIXME: It's not clear whether Venda has the ISO 639-2 two-letter code - "ve" or not. - http://www.loc.gov/standards/iso639-2/englangn.html has it, but - http://lcweb.loc.gov/standards/iso639-2/codechanges.html doesn't, */ - return "ven_ZA"; /* or "ve_ZA"? */ - case LANG_VIETNAMESE: return "vi_VN"; - case LANG_WELSH: return "cy_GB"; - case LANG_XHOSA: return "xh_ZA"; - case LANG_YI: return "sit_CN"; - case LANG_YIDDISH: return "yi_IL"; - case LANG_YORUBA: return "yo_NG"; - case LANG_ZULU: return "zu_ZA"; - default: return "C"; - } -} - -/* localname.c from gettext END. */ - - - -/* Support functions. */ - -static __inline__ uint32_t -do_swap_u32 (uint32_t i) -{ - return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); -} - -#define SWAPIT(flag, data) ((flag) ? do_swap_u32(data) : (data)) - - -/* We assume to have `unsigned long int' value with at least 32 bits. */ -#define HASHWORDBITS 32 - -/* The so called `hashpjw' function by P.J. Weinberger - [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, - 1986, 1987 Bell Telephone Laboratories, Inc.] */ -static __inline__ unsigned long -hash_string( const char *str_param ) -{ - unsigned long int hval, g; - const char *str = str_param; - - hval = 0; - while (*str != '\0') - { - hval <<= 4; - hval += (unsigned long int) *str++; - g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); - if (g != 0) - { - hval ^= g >> (HASHWORDBITS - 8); - hval ^= g; - } - } - return hval; -} - - -/* Generic message catalog and gettext stuff. */ - -/* The magic number of the GNU message catalog format. */ -#define MAGIC 0x950412de -#define MAGIC_SWAPPED 0xde120495 - -/* Revision number of the currently used .mo (binary) file format. */ -#define MO_REVISION_NUMBER 0 - - -/* Header for binary .mo file format. */ -struct mo_file_header -{ - /* The magic number. */ - uint32_t magic; - /* The revision number of the file format. */ - uint32_t revision; - /* The number of strings pairs. */ - uint32_t nstrings; - /* Offset of table with start offsets of original strings. */ - uint32_t orig_tab_offset; - /* Offset of table with start offsets of translation strings. */ - uint32_t trans_tab_offset; - /* Size of hashing table. */ - uint32_t hash_tab_size; - /* Offset of first hashing entry. */ - uint32_t hash_tab_offset; -}; - - -struct string_desc -{ - /* Length of addressed string. */ - uint32_t length; - /* Offset of string in file. */ - uint32_t offset; -}; - - -struct overflow_space_s -{ - struct overflow_space_s *next; - uint32_t idx; - uint32_t length; - char d[1]; -}; - -struct loaded_domain -{ - char *data; - char *data_native; /* Data mapped to the native version of the - string. (Allocated along with DATA). */ - int must_swap; - uint16_t nstrings; /* Number of strings. */ - uint16_t *mapped; /* Array of mapping indicators: - 0 := Not mapped (original utf8). - 1 := Mapped to native encoding in overflow space. - >=2 := Mapped to native encoding. The value - gives the length of the mapped string. - Because the terminating nul is included - in the length and an empty string is - not allowed, values are always > 1. */ - struct overflow_space_s *overflow_space; - struct string_desc *orig_tab; - struct string_desc *trans_tab; - uint32_t hash_size; - uint32_t *hash_tab; -}; - - -/* The list of domains we we are aware of. This list is protected by - the criticla section DOMAINLIST_ACCESS_CS. */ -static struct domainlist_s *domainlist; - -/* A critical section to guard access to the domainlist. */ -static CRITICAL_SECTION domainlist_access_cs; - -/* The name of the current domain. This is a malloced string. This - is a gobal variable which is not thread-safe. */ -static char *current_domainname; - - - -/* Constructor for this module. Called from DllMain. */ -static void module_init (void) __attribute__ ((__constructor__)); -static void -module_init (void) -{ - InitializeCriticalSection (&domainlist_access_cs); -} - - -/* Free the domain data. */ -static void -free_domain (struct loaded_domain *domain) -{ - struct overflow_space_s *os, *os2; - - jnlib_free (domain->data); - jnlib_free (domain->mapped); - for (os = domain->overflow_space; os; os = os2) - { - os2 = os->next; - jnlib_free (os); - } - jnlib_free (domain); -} - - -static struct loaded_domain * -load_domain (const char *filename) -{ - FILE *fp; - size_t size; - struct stat st; - struct mo_file_header *data = NULL; - struct loaded_domain *domain = NULL; - size_t to_read; - char *read_ptr; - - fp = fopen (filename, "rb"); - if (!fp) - { - return NULL; - } - if (fstat (fileno (fp), &st) - || (size = (size_t) st.st_size) != st.st_size - || size < sizeof (struct mo_file_header)) - { - fclose (fp); - return NULL; - } - - data = (2*size <= size)? NULL : jnlib_malloc (2*size); - if (!data) - { - fclose (fp); - return NULL; - } - - to_read = size; - read_ptr = (char *) data; - do - { - long int nb = fread (read_ptr, 1, to_read, fp); - if (nb < to_read) - { - fclose (fp); - jnlib_free (data); - return NULL; - } - read_ptr += nb; - to_read -= nb; - } - while (to_read > 0); - fclose (fp); - - /* Using the magic number we can test whether it really is a message - catalog file. */ - if (data->magic != MAGIC && data->magic != MAGIC_SWAPPED) - { - /* The magic number is wrong: not a message catalog file. */ - jnlib_free (data); - return NULL; - } - - domain = jnlib_calloc (1, sizeof *domain); - if (!domain) - { - jnlib_free (data); - return NULL; - } - domain->data = (char *) data; - domain->data_native = (char *) data + size; - domain->must_swap = data->magic != MAGIC; - - /* Fill in the information about the available tables. */ - switch (SWAPIT (domain->must_swap, data->revision)) - { - case MO_REVISION_NUMBER: - { - uint32_t nstrings; - - /* Because we use 16 bit values for the mapping array, we - can't support more that 65534 strings (65535 would be okay, - but it is often used as a special value). A PO file with - that many translations is very unlikely given that GnuPG - with its very large number of strings has only about 1600 - strings + variants. */ - nstrings = SWAPIT (domain->must_swap, data->nstrings); - if (nstrings > 65534) - goto bailout; - domain->nstrings = nstrings; - domain->orig_tab = (struct string_desc *) - ((char *) data + SWAPIT (domain->must_swap, data->orig_tab_offset)); - domain->trans_tab = (struct string_desc *) - ((char *) data + SWAPIT (domain->must_swap, data->trans_tab_offset)); - domain->hash_size = SWAPIT (domain->must_swap, data->hash_tab_size); - domain->hash_tab = (uint32_t *) - ((char *) data + SWAPIT (domain->must_swap, data->hash_tab_offset)); - } - break; - - default: /* This is an invalid revision. */ - goto bailout; - } - - /* Allocate an array to keep track of code page mappings. */ - domain->mapped = jnlib_calloc (domain->nstrings, sizeof *domain->mapped); - if (domain->mapped) - return domain; /* Okay. */ - - bailout: - jnlib_free (data); - jnlib_free (domain); - return NULL; -} - - -/* Return a malloced wide char string from an UTF-8 encoded input - string STRING. Caller must free this value. On failure returns - NULL. The result of calling this function with STRING set to NULL - is not defined. */ -static wchar_t * -utf8_to_wchar (const char *string, size_t length, size_t *retlen) -{ - int n; - wchar_t *result; - size_t nbytes; - - n = MultiByteToWideChar (CP_UTF8, 0, string, length, NULL, 0); - if (n < 0 || (n+1) <= 0) - return NULL; - - nbytes = (size_t)(n+1) * sizeof(*result); - if (nbytes / sizeof(*result) != (n+1)) - { - gpg_err_set_errno (ENOMEM); - return NULL; - } - result = jnlib_malloc (nbytes); - if (!result) - return NULL; - - n = MultiByteToWideChar (CP_UTF8, 0, string, length, result, n); - if (n < 0) - { - jnlib_free (result); - return NULL; - } - *retlen = n; - return result; -} - - -/* Return a malloced string encoded in UTF-8 from the wide char input - string STRING. Caller must free this value. On failure returns - NULL. The result of calling this function with STRING set to NULL - is not defined. */ -static char * -wchar_to_native (const wchar_t *string, size_t length, size_t *retlen) -{ - int n; - char *result; - - n = WideCharToMultiByte (CP_ACP, 0, string, length, NULL, 0, NULL, NULL); - if (n < 0 || (n+1) <= 0) - return NULL; - - result = jnlib_malloc (n+1); - if (!result) - return NULL; - - n = WideCharToMultiByte (CP_ACP, 0, string, length, result, n, NULL, NULL); - if (n < 0) - { - jnlib_free (result); - return NULL; - } - *retlen = n; - return result; -} - - -/* Convert UTF8 to the native codepage. Caller must free the return value. */ -static char * -utf8_to_native (const char *string, size_t length, size_t *retlen) -{ - wchar_t *wstring; - char *result; - size_t newlen; - - wstring = utf8_to_wchar (string, length, &newlen); - if (wstring) - { - result = wchar_to_native (wstring, newlen, &newlen); - jnlib_free (wstring); - } - else - result = NULL; - *retlen = result? newlen : 0; - return result; -} - - - - -/* Specify that the DOMAINNAME message catalog will be found - in DIRNAME rather than in the system locale data base. */ -const char * -_gpg_w32_bindtextdomain (const char *domainname, const char *dirname) -{ - const char *catval_full; - char *catval; - char *fname; - const char *retvalue; - - if (!dirname) - { - struct domainlist_s *dl; - - retvalue = NULL; - EnterCriticalSection (&domainlist_access_cs); - { - for (dl = domainlist; dl; dl = dl->next) - if (!strcmp (dl->name, domainname)) - { - retvalue = dl->dname; - break; - } - } - LeaveCriticalSection (&domainlist_access_cs); - return retvalue; - } - - /* DIRNAME is "$INSTALLDIR\share\locale". */ - - /* First find out the category value. */ - catval = NULL; - catval_full = my_nl_locale_name ("LC_MESSAGES"); - - /* Normally we would have to loop over all returned locales and - search for the right file. See gettext intl/dcigettext.c for all - the gory details. Here, we only support the basic category, and - ignore everything else. */ - if (catval_full) - { - char *p; - - catval = jnlib_malloc (strlen (catval_full) + 1); - if (catval) - { - strcpy (catval, catval_full); - p = strchr (catval, '_'); - if (p) - *p = '\0'; - } - } - if (!catval) - return NULL; - - /* Now build the filename string. The complete filename is this: - DIRNAME + \ + CATVAL + \LC_MESSAGES\ + DOMAINNAME + .mo */ - { - int len = (strlen (dirname) + 1 + strlen (catval) + 13 - + strlen (domainname) + 3 + 1); - char *p; - - fname = jnlib_malloc (len); - if (!fname) - { - jnlib_free (catval); - return NULL; - } - - p = fname; - strcpy (p, dirname); - p += strlen (dirname); - *(p++) = '\\'; - strcpy (p, catval); - p += strlen (catval); - strcpy (p, "\\LC_MESSAGES\\"); - p += 13; - strcpy (p, domainname); - p += strlen (domainname); - strcpy (p, ".mo"); - } - - jnlib_free (catval); - - /* Store the domain information in the domainlist. */ - { - struct domainlist_s *item, *dl; - char *rel_ptr1 = NULL; - char *rel_ptr2 = NULL; - - item = jnlib_calloc (1, sizeof *dl + strlen (domainname)); - if (!item) - { - jnlib_free (fname); - return NULL; - } - strcpy (item->name, domainname); - item->dname = jnlib_malloc (strlen (dirname) +1); - if(!item->dname) - { - jnlib_free (item); - jnlib_free (fname); - return NULL; - } - strcpy (item->dname, dirname); - retvalue = item->dname; - - EnterCriticalSection (&domainlist_access_cs); - { - for (dl = domainlist; dl; dl = dl->next) - if (!strcmp (dl->name, domainname)) - break; - if (!dl) /* First time called for this domainname. */ - { - item->fname = fname; - fname = NULL; - item->next = domainlist; - domainlist = item; - item = NULL; - } - else /* Update only. */ - { - rel_ptr1 = dl->fname; - dl->fname = fname; - fname = NULL; - rel_ptr2 = dl->dname; - dl->dname = item->dname; - item->dname = NULL; - } - } - LeaveCriticalSection (&domainlist_access_cs); - - jnlib_free (item); - jnlib_free (rel_ptr1); - jnlib_free (rel_ptr2); - } - - return retvalue; -} - - - - -static const char * -get_plural (const char *data, size_t datalen, unsigned long nplural) -{ - const char *p; - int idx; - - /* We only support the Germanic rule. */ - idx = (nplural == 1? 0 : 1); - - for (; idx; idx--) - { - p = strchr (data, 0) + 1; - if (p >= data+datalen) - return "ERROR in GETTEXT (bad plural entry)"; - datalen -= (p-data); - data = p; - } - return data; -} - - -static const char* -get_string (struct loaded_domain *domain, uint32_t idx, - int use_plural, unsigned long nplural) -{ - struct tls_space_s *tls = get_tls (); - struct overflow_space_s *os; - const char *trans; /* Pointer to the translated entry. */ - size_t translen; /* Length of that entry. */ - - if (idx > 65534) - return "ERROR in GETTEXT (too many strings)"; - - if (tls->gt_use_utf8) - { - trans = (domain->data - + SWAPIT(domain->must_swap, domain->trans_tab[idx].offset)); - translen = SWAPIT(domain->must_swap, domain->trans_tab[idx].length); - } - else if (!domain->mapped[idx]) - { - /* Not yet mapped. Map from utf-8 to native encoding now. */ - const char *p_utf8; - size_t plen_utf8, buflen; - char *buf; - - p_utf8 = (domain->data - + SWAPIT(domain->must_swap, domain->trans_tab[idx].offset)); - plen_utf8 = SWAPIT(domain->must_swap, domain->trans_tab[idx].length); - - buf = utf8_to_native (p_utf8, plen_utf8, &buflen); - if (!buf) - { - trans = "ERROR in GETTEXT MALLOC"; - translen = 0; - } - else if (buflen <= plen_utf8 && buflen > 1) - { - /* Copy into the DATA_NATIVE area. */ - char *p_tmp; - - p_tmp = (domain->data_native - + SWAPIT(domain->must_swap, domain->trans_tab[idx].offset)); - memcpy (p_tmp, buf, buflen); - domain->mapped[idx] = buflen; - trans = p_tmp; - translen = buflen; - } - else - { - /* There is not enough space for the translation (or for - whatever reason an empty string is used): Store it in the - overflow_space and mark that in the mapped array. - Because UTF-8 strings are in general shorter than the - Windows 2 byte encodings, we expect that this won't - happen too often (if at all) and thus we use a linked - list to manage this space. */ - os = jnlib_malloc (sizeof *os + buflen); - if (os) - { - os->idx = idx; - memcpy (os->d, buf, buflen); - os->length = buflen; - os->next = domain->overflow_space; - domain->overflow_space = os; - domain->mapped[idx] = 1; - trans = os->d; - translen = os->length; - } - else - { - trans = "ERROR in GETTEXT MALLOC"; - translen = 0; - } - } - jnlib_free (buf); - } - else if (domain->mapped[idx] == 1) - { - /* The translated string is in the overflow_space. */ - for (os=domain->overflow_space; os; os = os->next) - if (os->idx == idx) - break; - if (os) - { - trans = os->d; - translen = os->length; - } - else - { - trans = "ERROR in GETTEXT (overflow space)\n"; - translen = 0; - } - } - else - { - trans = (domain->data_native - + SWAPIT(domain->must_swap, domain->trans_tab[idx].offset)); - translen = domain->mapped[idx]; - } - - if (use_plural && translen) - return get_plural (trans, translen, nplural); - else - return trans; -} - - -static const char * -do_gettext (const char *domainname, - const char *msgid, const char *msgid2, unsigned long nplural) -{ - struct domainlist_s *dl; - struct loaded_domain *domain; - int load_failed; - uint32_t top, bottom, nstr; - char *filename; - - if (!domainname) - domainname = current_domainname? current_domainname : ""; - - /* FIXME: The whole locking stuff is a bit questionable because - gettext does not claim to be thread-safe. We need to investigate - this further. */ - - load_failed = 0; - domain = NULL; - filename = NULL; - EnterCriticalSection (&domainlist_access_cs); - { - for (dl = domainlist; dl; dl = dl->next) - if (!strcmp (dl->name, domainname)) - { - load_failed = dl->load_failed; - domain = dl->domain; - break; - } - if (dl && !domain && !load_failed && dl->fname) - { - filename = jnlib_malloc (strlen (dl->fname) + 1); - if (filename) - strcpy (filename, dl->fname); - } - } - LeaveCriticalSection (&domainlist_access_cs); - if (!dl) - goto not_found; /* DOMAINNAME not bound. */ - if (filename) - { - /* No attempt so far to load the MO file. Try now. */ - int updated = 0; - - domain = load_domain (filename); - jnlib_free (filename); - filename = NULL; - EnterCriticalSection (&domainlist_access_cs); - { - for (dl = domainlist; dl; dl = dl->next) - if (!strcmp (dl->name, domainname)) - { - if (domain) - dl->domain = domain; - else - dl->load_failed = 1; - updated = 1; - break; - } - } - LeaveCriticalSection (&domainlist_access_cs); - if (!updated) - { - /* Ooops - lost the domain. */ - free_domain (domain); - domain = NULL; - } - } - - if (!domain) - goto not_found; /* No MO file. */ - - /* First try to use the hash table. */ - if (domain->hash_size > 2 && domain->hash_tab) - { - /* Use the hashing table. */ - uint32_t len = strlen (msgid); - uint32_t hash_val = hash_string (msgid); - uint32_t idx = hash_val % domain->hash_size; - uint32_t incr = 1 + (hash_val % (domain->hash_size - 2)); - - while ( (nstr = SWAPIT (domain->must_swap, domain->hash_tab[idx])) ) - { - nstr--; - if (nstr < domain->nstrings - && SWAPIT(domain->must_swap, - domain->orig_tab[nstr].length) >= len - && !strcmp (msgid, (domain->data - + SWAPIT(domain->must_swap, - domain->orig_tab[nstr].offset)))) - { - return get_string (domain, nstr, !!msgid2, nplural); - } - - if (idx >= domain->hash_size - incr) - idx -= domain->hash_size - incr; - else - idx += incr; - } - } - - /* Now we try the default method: binary search in the sorted array - of messages. */ - bottom = 0; - top = domain->nstrings; - while (bottom < top) - { - int cmp_val; - - nstr = (bottom + top) / 2; - cmp_val = strcmp (msgid, (domain->data - + SWAPIT(domain->must_swap, - domain->orig_tab[nstr].offset))); - if (cmp_val < 0) - top = nstr; - else if (cmp_val > 0) - bottom = nstr + 1; - else - { - return get_string (domain, nstr, !!msgid2, nplural); - } - } - - not_found: - /* We use the standard Germanic rule if plural has been requested. */ - return msgid2? (nplural == 1? msgid : msgid2) : msgid; -} - - -const char * -_gpg_w32_textdomain (const char *domainname) -{ - char *string; - - if (!domainname) - { - if (!current_domainname) - gpg_err_set_errno (0); - } - else - { - string = malloc (strlen (domainname) + 1); - if (!string) - return NULL; - strcpy (string, domainname); - current_domainname = string; - } - return current_domainname; -} - - -/* A direct implementation of gettext instead of a macro calling - dngettext. This is so that the caller does not need to push dummy - values on the stack. The used domain is the first one registered - with bindtextdomain. */ -const char * -_gpg_w32_gettext (const char *msgid) -{ - return do_gettext (NULL, msgid, NULL, 0); -} - - -/* A direct implementation of dgettext instead of a macro calling - dngettext. This is so that the caller does not need to push dummy - values on the stack. */ -const char * -_gpg_w32_dgettext (const char *domainname, const char *msgid) -{ - return do_gettext (domainname, msgid, NULL, 0); -} - - -/* Our implementation of dngettext. This is the most genereic - function we have; a macro implements ngettext. */ -const char * -_gpg_w32_dngettext (const char *domainname, const char *msgid1, - const char *msgid2, unsigned long int n) -{ - /* We use the simple Germanic plural rule. */ - return do_gettext (domainname, msgid1, msgid2, n); -} - - -/* Return the locale name as used by gettext. The return value will - never be NULL. */ -const char * -_gpg_w32_gettext_localename (void) -{ - const char *s; - - s = my_nl_locale_name ("LC_MESSAGES"); - return s? s:""; -} - - -/* With a VALUE of 1 switch the gettext functions into utf8 mode. - That is the strings are returned without translation to the native - charset. A VALUE of 0 switches back to translated strings. A VALUE - of -1 returns the current value. */ -int -_gpg_w32_gettext_use_utf8 (int value) -{ - struct tls_space_s *tls = get_tls (); - int last = tls->gt_use_utf8; - if (value != -1) - tls->gt_use_utf8 = value; - return last; -} - - -#ifdef TEST -int -main (int argc, char **argv) -{ - const char atext1[] = - "Warning: You have entered an insecure passphrase.%%0A" - "A passphrase should be at least %u character long."; - const char atext2[] = - "Warning: You have entered an insecure passphrase.%%0A" - "A passphrase should be at least %u characters long."; - - if (argc) - { - argc--; - argv++; - } - - _gpg_err_w32_bindtextdomain ("gnupg2", "c:/programme/gnu/gnupg/share/locale"); - - printf ("locale is `%s'\n", _gpg_err_w32_gettext_localename ()); - fputs ("text with N=1:\n", stdout); - fputs (_gpg_err_w32_ngettext (atext1, atext2, 1), stdout); - fputs ("\n\ntext with N=2:\n", stdout); - fputs (_gpg_err_w32_ngettext (atext1, atext2, 2), stdout); - fputs ("\nready\n", stdout); - - return 0; -} -/* - * Local Variables: - * compile-command: "i586-mingw32msvc-gcc -DTEST -Wall -g w32-gettext.c" - * End: - */ -#endif /*TEST*/ diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32ce-add.h b/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32ce-add.h deleted file mode 100644 index 83b75386f0..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgpg-error-1.9/w32ce-add.h +++ /dev/null @@ -1,7 +0,0 @@ -## w32ce-add.h - Snippet to be be included into gpg-error.h. -## (Comments are indicated by a double hash mark) - -/* Substitute for strerror - this one is thread safe. */ -char *_gpg_w32ce_strerror (int err); -#define strerror(a) _gpg_w32ce_strerror (a) - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/mpi/ChangeLog b/plugins/MirOTR/libgcrypt-1.4.6/mpi/ChangeLog deleted file mode 100644 index dd83f24085..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/mpi/ChangeLog +++ /dev/null @@ -1,794 +0,0 @@ -2010-02-22 Aurelien Jarno <aurel32@debian.org> (wk) - - * longlong.h (umul_ppmm) <mips> [__GNUC__ >= 4.4]: Patch according - to recommended gcc 4.4 changes. - -2009-12-09 Werner Koch <wk@g10code.com> - - * config.links: Remove asm modules for all sparc64. This is - debian#560028. - -2008-12-05 Werner Koch <wk@g10code.com> - - * mpicoder.c (mpi_read_from_buffer): Do not bail out if the mpi is - larger than the buffer (potential problem). Do not print error - messages. - (mpi_fromstr): Return an error instead of hitting an assert. - (gcry_mpi_scan) <PGP>: Fix potential double free problem. - (gcry_mpi_scan) <HEX>: Fix potential memory leak. - (do_get_buffer): Return NULL on memory allocation failure. - (gcry_mpi_print): Check result of do_get_buffer. - (gcry_mpi_aprint): Return error on a memory allocation failure. - - * mpicoder.c: Re-indent. - -2008-12-03 Werner Koch <wk@g10code.com> - - * mpi-pow.c (gcry_mpi_powm): Fix last change. Asserts are really - useful! - -2008-12-02 Werner Koch <wk@g10code.com> - - * mpi-pow.c (gcry_mpi_powm): Re-indent. - (gcry_mpi_powm): Simplified allocation of the result to fix a - double free bug. This is bug#977. Reported by Haakon Ringberg. - -2008-08-20 Werner Koch <wk@g10code.com> - - * mpi-bit.c (gcry_mpi_lshift): Actually implement. - -2008-08-19 Werner Koch <wk@g10code.com> - - * mpi-bit.c (gcry_mpi_lshift): New. - -2007-10-31 Werner Koch <wk@g10code.com> - - * mpi-mod.c (gcry_mpi_mod): Remove - * mpi-inv.c (_gcry_mpi_invm): Remove _ prefix. - * mpiutil.c (_gcry_mpi_swap): Remove. - (_gcry_mpi_new): Remove. - (_gcry_mpi_snew): Remove. - (gcry_mpi_invm): Remove. - (gcry_mpi_copy): Remove and rename _version to this. - (gcry_mpi_set, gcry_mpi_set_ui): Merge with _ version. - * mpi-inv.c (gcry_mpi_invm): Remove _ prefix and return 1. - * mpi-mul.c (gcry_mpi_mul_2exp): Remove and rename _ version to this. - -2007-10-29 Werner Koch <wk@g10code.com> - - * config.links: No Candadian Cross here, thus use $host instead of - $target. - -2007-10-26 Werner Koch <wk@g10code.com> - - * config.links (mpi_optional_modules): Special rules for Apple - Darwin on ia32 from Gregor Riepl. - -2007-05-09 Marcus Brinkmann <marcus@g10code.de> - - * config.links: Rename assembler file links by suffixing "-asm". - * Makefile.am (CCASCOMPILE, LTCCASCOMPILE, CLEANFILES, - libmpi_la_LIBADD, libmpi_la_DEPENDENCIES, SUFFIXES, .S.o, .S.obj, - .S.lo): Removed variables and targets. - (mpih_add1, mpih_sub1, mpih_mul1, mpih_mul2, mpih_mul3, - mpih_lshift, mpih_rshift, mpih_udiv, mpih_udiv_qrnnd, - nodist_libmpi_la_SOURCES): New variables. - (DISTCLEANFILES): Rename assembler file links by suffixing "-asm". - Add variants for C file links. - -2007-05-04 Werner Koch <wk@g10code.com> - - * config.links (path): Allowthe sue of colons as delimiters. - -2007-05-03 Werner Koch <wk@g10code.com> - - * pentium4/distfiles: Fixed. - -2007-04-30 Werner Koch <wk@g10code.com> - - * config.links: Create a file mod-source-info.h. - * Makefile.am (DISTCLEANFILES): Add that file. - * mpiutil.c (_gcry_mpi_get_hw_config): New. - -2007-04-28 Marcus Brinkmann <marcus@g10code.de> - - * config.links: Add additional assembler search directories. - -2007-03-28 Werner Koch <wk@g10code.com> - - * ec.c: New. - -2007-03-23 Werner Koch <wk@g10code.com> - - * mpi-bit.c (_gcry_mpi_lshift_limbs): Assign AP after the resize. - - * mpi-div.c (gcry_mpi_mod, _gcry_mpi_mod): Moved to .. - * mpi-mod.c: .. new file. - (_gcry_mpi_barrett_init, _gcry_mpi_barrett_free): New. - (_gcry_mpi_mod_barrett): New. - (_gcry_mpi_mul_barrett): New. - -2007-03-22 Werner Koch <wk@g10code.com> - - * mpi-div.c (_gcry_mpi_mod): New. - * mpiutil.c (_gcry_mpi_new, _gcry_mpi_snew): New. - -2007-03-13 Werner Dittmann <Werner.Dittmann@t-online.de> (wk) - - * amd64/mpih-add1.S, amd64/mpih-add1.S, amd64/mpih-lshift.S - * amd64/mpih-mul1.S, amd64/mpih-mul2.S, amd64/mpih-mul3.S - * amd64/mpih-rshift.S, amd64/mpih-sub1.S: New. - * config.links: Add case for x86_64. - -2007-02-23 Werner Koch <wk@g10code.com> - - * mpi-pow.c (gcry_mpi_powm): Remove unused var ESIGN. - - * mpiutil.c (gcry_mpi_get_flag): Let it return a value to silent - MIPSpro cc warning. - -2007-02-21 Werner Koch <wk@g10code.com> - - * mpicoder.c (_gcry_mpi_set_buffer): Made BUFFER a void*. - -2006-11-15 Werner Koch <wk@g10code.com> - - * Makefile.am (.S.o): Check for srcdir also in in CPP pass. - (INCLUDES): Removed. - (AM_CPPFLAGS, AM_CFLAGS): New, modified. Merged with Moritz' - changes. - -2006-11-05 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the - new gcrypt.h is used, not the one installed in the system. - -2006-10-23 Werner Koch <wk@g10code.com> - - * config.links (mpi_optional_modules): Make sure that powerpc64 is - matched before a generic powerpc. Reported by Andreas Metzler. - Should fix Debian bug 284609. - -2006-08-25 Werner Koch <wk@g10code.com> - - * mpi-bit.c (gcry_mpi_rshift): Don't shift if N == 0 but do a - plain copy. - -2006-08-04 Werner Koch <wk@g10code.com> - - * mpi-bit.c (gcry_mpi_rshift): Rewritten to remove the limitation - on N (which used to be less than BITS_PER_MPI_LIMB). - -2006-08-03 Werner Koch <wk@g10code.com> - - * mpi-bit.c (gcry_mpi_set_bit, gcry_mpi_set_highbit): Fixed - allocation. Reported by bpgcrypt at itaparica.org. - * mpiutil.c (_gcry_mpi_resize): Clear the new part of the resized - limb space. - -2006-07-26 Werner Koch <wk@g10code.com> - - * mpiutil.c (gcry_mpi_randomize): Changed P to unsigned char*. - - * mpicoder.c (gcry_mpi_scan): Changed arg BUFFER to void*. - (mpi_read_from_buffer): Made BUFFER arg const. - (gcry_mpi_scan): Removed now needless cast. Add cast for arg to - mpi_fromstr. - (gcry_mpi_print): Made TMP unsigned. - - * Makefile.am (AM_CCASFLAGS): New. - -2005-10-09 Moritz Schulte <moritz@g10code.com> - - * mpi-cmp.c (gcry_mpi_cmp_ui): Rewritten; correctly handle case of - zero limbs in U. - -2005-04-27 Moritz Schulte <moritz@g10code.com> - - * mpiutil.c (gcry_mpi_randomize): Store random data in secure - memory if the given MPI is secure - not the other way around (argl). - -2005-04-23 Moritz Schulte <moritz@g10code.com> - - * Makefile.am: Don't assume the compiler will pre-process the .S - files. Some compilers, like those from HP and IBM, don't do - this. So, we use the same solution gnupg-1.4.0 does. Preprocess - first and then compile. - - * hppa1.1/mpih-mul3.S: Add "level 1.1" directive to disable - warning about using PA-RISC1.1 opcodes. - * hppa1.1/mpih-mul2.S: Likewise. - * hppa1.1/mpih-mul1.S: Likewise. - * hppa1.1/udiv-qrnnd.S: Likewise. - -2005-02-16 Moritz Schulte <moritz@g10code.com> - - * mpiutil.c (_gcry_mpi_alloc_limb_space): Rewritten, fixed memory - corruption. - -2005-02-06 Moritz Schulte <moritz@g10code.com> - - * mpiutil.c (_gcry_mpi_get_ui, gcry_mpi_get_ui): New functions. - -2005-01-05 Werner Koch <wk@g10code.com> - - * hppa1.1/udiv-qrnnd.S: Reverted change of 2004-03-02 but kept the - .align directive. - -2004-12-16 Werner Koch <wk@g10code.com> - - * config.links (mpi_optional_modules): Move entry for powerpc64 - before generic powerpc. Suggested by Rafael Ãvila de EspÃndola. - -2004-03-02 Werner Koch <wk@gnupg.org> - - * hppa1.1/udiv-qrnnd.S: Alignment fix from Lamont Jones for - Debian. Taken from gnupg-1.3. - - * longlong.h: Added PowerPC 64 bit code from GPM-4.1.2 but didn't - enable it yet. Some whitespace changes in HPPA to fix assembler - problems on HP-UX. From gnupg 1.3 - - * mpiutil.c (_gcry_mpi_alloc_limb_space): Better allocate - something even if NLIMBS is passed as 0. - - * config.links: Updated system list to match gnupg 1.3. - -2003-12-19 Werner Koch <wk@gnupg.org> - - * mpi-internal.h [M_DEBUG]: Removed this unused code. - (struct karatsuba_ctx): Added TSPACE_NLIMBS and TP_NLIMBS. - * mpiutil.c (_gcry_mpi_free_limb_space): Add arg NLIMBS and wipe - out the memory. Changed all callers. - * mpih-mul.c (_gcry_mpih_mul_karatsuba_case): Keep track of - allocated limbs. - * mpi-div.c (_gcry_mpi_tdiv_qr): Keep track of allocated limbs. - * mpi-mul.c (gcry_mpi_mul): Ditto. - * mpi-pow.c (gcry_mpi_powm): Ditto. - - * Manifest: Empty new file. Also add Manifest files to all CPU - specific directories. - * Makefile.am: Added. - - * mpiutil.c (gcry_mpi_randomize): Use gcry_create_nonce if WEAK - random has been requested. - -2003-10-31 Werner Koch <wk@gnupg.org> - - * 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. - -2003-08-19 Marcus Brinkmann <marcus@g10code.de> - - * Makefile.am (SUFFIXES): New variable. - (.S.o, .S.lo, .S.obj): Rewritten. - -2003-07-30 Moritz Schulte <moritz@g10code.com> - - * longlong.h (__clz_tab): Renamed to _gcry_clz_tab. - * mpi-bit.c (__clz_tab): Likewise. - -2003-07-27 Werner Koch <wk@gnupg.org> - - * mpicoder.c (gcry_mpi_scan): New argument BUFLEN to replace the - use of the intial value of NBYTES. Changed BUFFER to unsigned. - (gcry_mpi_print): Likewise. - (gcry_mpi_dump): New. - (_gcry_log_mpidump): Make use of gcry_mpi_dump. - (mpi_print): Removed. - (gcry_mpi_scan): Allocated mpi in secure memory when required. - (gcry_mpi_aprint): Changed BUFFER to unsigned char*. - -2003-07-14 Moritz Schulte <moritz@g10code.com> - - * mpicoder.c: Used gcry_err* wrappers for libgpg-error symbols. - -2003-06-16 Moritz Schulte <moritz@g10code.com> - - * mpi-add.c: Replace last occurences of old type names with newer - names (i.e. replace MPI with gcry_mpi_t). - * mpi-bit.c: Likewise. - * mpi-cmp.c: Likewise. - * mpi-div.c: Likewise. - * mpi-gcd.c: Likewise. - * mpi-internal.h: Likewise. - * mpi-inv.c: Likewise. - * mpi-mpow.c: Likewise. - * mpi-mul.c: Likewise. - * mpi-pow.c: Likewise. - * mpi-scan.c: Likewise. - * mpicoder.c: Likewise. - * mpiutil.c: Likewise. - -2003-06-09 Moritz Schulte <moritz@g10code.com> - - * mpicoder.c (gcry_mpi_scan): Adjust for libgpg-error. - (gcry_mpi_print): Likewise. - (gcry_mpi_aprint): Likewise. - -2003-06-07 Moritz Schulte <moritz@g10code.com> - - * longlong.h, mpi-add.c, mpi-bit.c, mpi-cmp.c, mpi-div.c, - mpi-gcd.c, mpi-inline.c, mpi-inline.h, mpi-internal.h, mpi-inv.c, - mpi-mpow.c, mpi-mul.c, mpi-pow.c, mpi-scan.c, mpicoder.c, - mpih-div.c, mpih-mul.c, mpiutil.c, generic/mpi-asm-defs.h, - generic/mpih-add1.c, generic/mpih-lshift.c, generic/mpih-mul1.c, - generic/mpih-mul2.c, generic/mpih-mul3.c, generic/mpih-rshift.c, - generic/mpih-sub1.c, generic/udiv-w-sdiv.c, i386/syntax.h, - m68k/syntax.h, mips3/mpi-asm-defs.h, powerpc32/syntax.h: Edited - 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. Replaced any occurence of the now - deprecated type names with the new ones. - -2003-05-21 Moritz Schulte <moritz@g10code.com> - - * mpiutil.c (_gcry_mpi_alloc_limb_space): Only try to allocate - memory in case the amount of bytes to allocate is non-zero. - -2003-04-27 Moritz Schulte <moritz@g10code.com> - - * mpiutil.c (_gcry_mpi_resize): Allocate secure memory, in case - bit zero of `flags' is set. - - * mpi-add.c (gcry_mpi_sub): Simplify function; always use a - temporary variable now. - -2003-04-15 Werner Koch <wk@gnupg.org> - - * longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to - kazuya.s@jp.yokogawa.com. - -2003-04-02 Werner Koch <wk@gnupg.org> - - * mpicoder.c (gcry_mpi_print): Fixed testing against possible - uninitialized LEN. Valgrinded by Nikos Mavroyanopoulos. - -2003-01-15 Werner Koch <wk@gnupg.org> - - * longlong.h: Removed some spaces between backslashes and newlines. - -2002-09-20 Werner Koch <wk@gnupg.org> - - * mpi-mul.c (gcry_mpi_mul_2exp): New. This was declared in - gcrypt.h but only implemented as internal function. Noted by Timo - but a few minutes to late for today's release. - - * Makefile.am (DISTCLEANFILES): Include mpi-asm-defs.h - -2002-09-18 Werner Koch <wk@gnupg.org> - - * Makefile.am (.S.lo): Pass -DPIC. i386, PPC and Sparc code - require it. It worked for me because I am using the i586 code. - -2002-08-23 Werner Koch <wk@gnupg.org> - - * Makefile.am (.S.lo): Fixed for libtool build with --disable-shared. - -2002-07-24 Werner Koch <wk@gnupg.org> - - * longlong.h: Replaced all K&R multiline strings by ISO ones for - the sake of modern compilers. Suggested by Marco Parrone. - -2002-06-24 Werner Koch <wk@gnupg.org> - - * mpiutil.c (gcry_mpi_swap): New. - - * mpi-div.c (gcry_mpi_div): New. - (gcry_mpi_mod): New. - * mpi-inv.c (gcry_mpi_invm): New. - - * mpicoder.c (do_get_buffer): Make sure that we allocate at least - one byte. - -2002-06-12 Werner Koch <wk@gnupg.org> - - * hppa1.1/udiv-qrnnd.S: Changes for PIC by Randolph Chung. - -2002-05-15 Werner Koch <wk@gnupg.org> - - * config.links: Chnage the way the mpi modules are determined. - * Makefile.am: Revamped to better handle modules - -2002-05-14 Werner Koch <wk@gnupg.org> - - Changed license of all files to the LGPL. - -2002-04-18 Werner Koch <wk@gnupg.org> - - * mpicoder.c (gcry_mpi_scan): Don't use normalize on a NULL MPI. - -2002-03-20 Werner Koch <wk@gnupg.org> - - * mpicoder.c (mpi_read_from_buffer): Bail out on a zero length - buffer because we can't eventually do an malloc of this size. - Reported by Timo. - -2002-01-14 Werner Koch <wk@gnupg.org> - - * mpi-inv.c (_gcry_mpi_invm): Typo fixes, noted by Carlo Perassi. - -2001-11-01 Werner Koch <wk@gnupg.org> - - * mpicoder.c (gcry_mpi_scan): Allow to pass a nbytes as NULL or - with value 0 for format GCRY_FMT_SSH, so that the length is not - used for any checks, only the length stored in the bufer is used. - This is a nice format becuase we can just pass a buffer around and - don't need to care about its length. - -2001-08-03 Werner Koch <wk@gnupg.org> - - * config.links: Changed the way the list of files to be - symlinked is returned. - -2001-05-31 Werner Koch <wk@gnupg.org> - - * mpih-cmp.c: Removed and moved mpihelp_cmp to .. - * mpi-inline.h: .. here. - - Major function renaming. All global functions are now prefixed - with _gcry_ or gcry_. Renamed also all mpihelp_ to just mpih_ so - that functions names are not getting to long an unreadable and for - better matching with the filenames. - -2001-05-28 Werner Koch <wk@gnupg.org> - - * mpicoder.c (mpi_fromstr): Made static and assume that all input - is in hexformat. - - Updated all CPU specific code with the one from GnuPG-1.0.5. This - is just a change of text formatting and the use of .label - instead of labels for hppa and pa7100. - - * longlong.h: Fixes for ARM by Phil Blundell. - -2001-03-29 Werner Koch <wk@gnupg.org> - - * mpi-mul.c (mpi_mul): Make sure that secret temporary results are - not stored in w. Suggested by Florian Weimer. - - * config.links: Use i386 code for i386. According to tests by - Kevin Ryde the i586 code runs slow on i386 CPUs. Ditto for i786. - -2001-01-11 Werner Koch <wk@gnupg.org> - - * Makefile.am: Removed mpi.h. - -2000-12-19 Werner Koch <wk@gnupg.org> - - * mpi-internal.h: Put limb_t definition in an ifdef. - - Major change: - Removed all GnuPG stuff and renamed this piece of software - to gcrypt. - -2000-11-14 Werner Koch <wk@gnupg.org> - - * mpi-internal.h, mpi.h: Changed the way they are called and - introduced DID_MPI_LIMP_TYPEDEF hack. Very ugly, should all be - revamped. - - * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency - problems. - -2000-10-11 Werner Koch <wk@gnupg.org> - - * generic/mpi-asm-defs.h: New. - * mips3/mpi-asm-defs.h: New. - * config.links: Create a link to one of the above files. - -Fri Jul 28 18:19:11 CEST 2000 Werner Koch <wk@openit.de> - - * mpicoder.c (gcry_mpi_scan): Normalize the returned MPI. - -Tue Jul 25 17:44:15 CEST 2000 Werner Koch <wk@openit.de> - - * config.links: Support for powerpc--netbsd by Gabriel Rosenkoetter. - -Mon Jul 17 16:35:47 CEST 2000 Werner Koch <wk@> - - * power/: Add all files from GMP for this CPU. Converted comments to - CPP comments because some ASes complain about ' in comments. - - * config.links: Support for BSDI 4.x; by Wayne Chapeskie. Add support - for FreeBSD 5 and made the case stmt looking nicer; by Jun Kuriyama. - Add support for NetBSD. - (sparc8): Made the search path the same as sparc9 - (sparc64-unknown-linux-gnu): use udiv module; by Adam Mitchell. - - * Makefile.am: c/SFLAGS/ASFLAGS/. This has only been used by the - powerpc and actually never passed the -Wa,foo to the cc. - - * mpih-div.c (mpihelp_divrem): The MPN_COPY_DECR copied one element - too many. This is a gmp2.0.2p9.txt patch. - - * longlong.h (umul_ppmm): Fixes for ARM-4. By Sean MacLennan. - - * mpi-internal.h (karatsuba_ctx): New. - * mpih-mul.c (mpihelp_release_karatsuba_ctx): New. - (mpihelp_mul_karatsuba_case): New. - (mpihelp_mul): Splitted to make use of the new functions. - * mpi-pow.c (mpi_powm): Make use of the new splitted function to avoid - multiple allocation of temporary memory during the karatsuba operations. - * mpi_mpow.c: Removed the unused Barrett code. - -2000-03-21 16:17:30 Werner Koch (wk@habibti.openit.de) - - * config.links: Add support for FreeBSD 5. - -Mon Jan 24 22:24:38 CET 2000 Werner Koch <wk@gnupg.de> - - * mpicoder.c (gcry_mpi_aprint): Now really returns the length. - -Mon Jan 24 13:04:28 CET 2000 Werner Koch <wk@gnupg.de> - - * mpiutil.c: Removed all memory debugging code. - - * mpicoder.c (gcry_mpi_aprint): New. - - * Replaced all m_ memory functions by g10_ ones. - -Fri Dec 31 14:06:56 CET 1999 Werner Koch <wk@gnupg.de> - - * mpi-bit.c (gcry_mpi_get_nbits): New. - - * mpiutil.c (mpi_set_secure): made static. - (gcry_mpi_get_flag): New. - (gcry_mpi_set_flag): New. - (gcry_mpi_clear_flag): New. - (mpi_set_opaque): renamed to gcry_mpi_set_opaque. - (mpi_get_opaque): renamed to gcry_mpi_get_opaque. - -Fri Dec 31 12:48:31 CET 1999 Werner Koch <wk@gnupg.de> - - * mpicoder.c (mpi_read_from_buffer): Made static. - (gcry_mpi_print): A buffer of NULL is now allowed to get the required - length back. - (mpi_get_keyid): Removed. - (mpi_print): Made static - should be removed. - -Wed Dec 8 21:58:32 CET 1999 Werner Koch <wk@gnupg.de> - - * Makefile.am (INCLUDES): Add ../gcrypt. - - * g10m.c : Removed. - - * mpicoder.c (mpi_write): Removed. - (mpi_read): Removed. - (gcry_mpi_scan): New. Taken from ../gcrypt/mpiapi.c. - (gcry_mpi_print): Ditto. - - * mpi-pow.c (mpi_powm): Renamed to ... - (gcry_mpi_powm): ... this. - - * mpiutil.c (gcry_mpi_new): New as a wrapper around the old function. - Taken from ../gcrypt/mpiapi.c. - (gcry_mpi_snew): Ditto. - (gcry_mpi_release): Ditto. - (gcry_mpi_copy): Ditto. - (gcry_mpi_set): Ditto. - (gcry_mpi_set_ui): Ditto. - (gcry_mpi_cmp): Ditto. - (gcry_mpi_cmp_ui): Ditto. - (gcry_mpi_randomize): Ditto. - - * mpicoder.c (mpi_print): Removed the nbit_info kludge. - * mpi-bits.c (mpi_get_nbits): Replaced the is_protected stuff by - checking whether it is an opaque mpi and then returns it's length - in bits. - * mpiutil.c (mpi_set_opaque): Changed the interface to take a number - of bits for the length. Adjusted all users. - (mpi_get_opaque): Ditto. - -Fri Nov 19 17:15:20 CET 1999 Werner Koch <wk@gnupg.de> - - * mpicoder.c (g10_log_mpidump): Add a temporary workaround - - * mpih-mul.c (mpihelp_mul_n): s/m_is_ecure/g10_is_secure/ - - * mpiutil.c (mpi_alloc): Remved the debug mode because it has turned - out, that this feature was not very useful in the past. Use the - new alloc functions. - (mpi_alloc_secure): Ditto. - (mpi_alloc_limb_space): Ditto. - (mpi_free_limb_space): Ditto. - (mpi_resize): Ditto. - (mpi_free): Ditto. - (mpi_set_secure): Removed the debug stuff. - (mpi_set_opaque): Ditto. - (mpi_copy): Ditto. - (mpi_alloc_set_ui): Ditto. - (mpi_m_check): Use g10_ wrapper. - -Mon Aug 30 20:38:33 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - - * config.links: Add case label for DJGPP - -Wed Jul 14 19:42:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - - * Makefile.am: Use .s files as temporaries, disabled other .S rules. - -Wed Jul 7 13:08:40 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - - * mpicoder.c (g10_log_mpidump): New. - - * Makefile.am: Support for libtool. - -Fri Jul 2 11:45:54 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - - * mpi-bit.c (mpi_lshift_limbs,mpi_rshift_limbs): New. - * mpi-mpow.c (barrett_mulm): New but diabled. - -Tue Jun 1 16:01:46 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * config.links (i[56]86*-*-freebsdelf*): New. - -Sun May 23 14:20:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * config.links (sysdep.h): Not any more conditionally created. - -Tue May 4 15:47:53 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mpiutil.c (mpi_alloc_like): New. - -Mon Apr 26 17:48:15 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mpih-add.c, mpih-sub.c: Removed - * mpi-inline.c: New. - * mpi-inline.h: Make it usable by mpi-inline.c. - -Sun Apr 18 10:11:28 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mpih-mul.c (mpihelp_mul_n): Fixed use of memory region. - (mpihelp_mul): Ditto. - -Wed Apr 7 20:51:39 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * Makefile.am: Explicit rules to invoke cpp on *.S - -Mon Mar 8 20:47:17 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * config.links: Take advantage of the with_symbol_underscore macro. - Add support for freebsd 4. - -Wed Feb 24 11:07:27 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mips3/mpih-sub1.S: Removed left over junk in last line. (Should I - blame me or my editor?). - -Sat Feb 13 12:04:43 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * Makefile.am: Removed the +=. Add MPI_OPT_FLAGS. - -Sat Jan 9 16:02:23 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mpi-cmp.c (mpi_cmp_ui): Normalized the arg. - -Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de> - - * mpi-bit.c (mpi_normalize): New. - (mpi_get_nbits): Normalize the MPI. - * mpi-bit.c (mpi_cmp): Normalize the MPI before the compare. - - -Tue Dec 8 13:15:16 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * config.links: Moved the case for powerpc*linux - * powerpcp32/*.S: Removed some underscores. - -Thu Nov 26 07:27:52 1998 Werner Koch <werner.koch@guug.de> - - * config.links: Support for ppc with ELF - * powerpc32/syntax.h: New. - * powerpc32/*.S: Applied ELF patches (glibc patches) - -Tue Nov 10 19:31:37 1998 Werner Koch (wk@isil.d.shuttle.de) - - * power*/ : Started with stuff for PPC - * config.links: Some stuff for PPC. - * generic/udiv-w-sdiv.c: New but disabled. - -Tue Oct 27 12:37:46 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links (freebsd): Fixes for FreeBSD 3.0 - -Wed Oct 14 09:59:30 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links (freebsd): ELF patches from Jun Kuriyama. - -Thu Oct 8 13:28:17 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpi-mpow.c (mpi_mulpowm): Fixed mem leak (m_free/mpi_free). - -Thu Sep 17 18:08:50 1998 Werner Koch (wk@(none)) - - * hppa1.1/udiv-qrnnd.S: Fix from Steffen Zahn for HPUX 10.20 - -Thu Aug 6 16:39:28 1998 Werner Koch,mobil,,, (wk@tobold) - - * mpi-bit.c (mpi_set_bytes): Removed. - -Wed Aug 5 15:11:12 1998 Werner Koch (wk@(none)) - - * mpicoder.c (mpi_read_from_buffer): New. - - * mpiutil.c (mpi_set_opaque): New. - (mpi_get_opaque): New. - (mpi_copy): Changed to support opauqe flag - (mpi_free): Ditto. - -Sat Jul 4 10:11:11 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpiutil.c (mpi_clear): Reset flags. - (mpi_set): Ditto. - (mpi_alloc_secure): Set flag to 1 and not ored the 1 in, tsss.. - -Fri Jun 26 11:19:06 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpiutil.c (mpi_alloc): set nbits to 0. - (mpi_alloc_secure): Ditto. - (mpi_clear): Ditto. - -Thu Jun 25 11:50:01 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mips3/*.S: New - -Mon May 18 13:47:06 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links: split mpih-shift into mpih-[lr]shift and - changed all implementations. - * mpi/alpha: add some new assembler stuff. - -Wed May 13 11:04:29 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links: Add support for MIPS - -Thu Apr 9 11:31:36 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpicoder.c (mpi_get_secure_buffer): New. - -Wed Apr 8 09:44:33 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links: Applied small fix from Ulf Möller. - -Mon Apr 6 12:38:52 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpicoder.c (mpi_get_buffer): Removed returned leading zeroes - and changed all callers. - -Tue Mar 10 13:40:34 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpi-bit.c (mpi_clear_highbit): New. - -Mon Mar 2 19:29:00 1998 Werner Koch (wk@isil.d.shuttle.de) - - * Makefile.am (DISTCLEANFILES): New - -Thu Feb 26 06:48:54 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links (X86_BROKEN_ALIGN): Added for some systems. - -Mon Feb 23 12:21:40 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mpi/m68k/mpih-shift.S (Lspecial): Changed duplicate symbol. - -Mon Feb 16 13:00:27 1998 Werner Koch (wk@isil.d.shuttle.de) - - * config.links : Add detection of m68k cpus - - - Copyright 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.am b/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.am deleted file mode 100644 index edfc5dfd1a..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.am +++ /dev/null @@ -1,177 +0,0 @@ -## Process this file with automake to produce Makefile.in -# Copyright (C) 1992, 1999, 2000, 2002 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# 1.5 leads to a combinatorial explosion due to all the conditionals -# I was not able to build it with 64Megs - 1.6 fixes this. -# not anymore required: AUTOMAKE_OPTIONS = 1.6 - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) - -AM_ASFLAGS = $(MPI_SFLAGS) -AM_CCASFLAGS = $(NOEXECSTACK_FLAGS) - -EXTRA_DIST = Manifest config.links -DISTCLEANFILES = mpi-asm-defs.h \ - mpih-add1-asm.S mpih-mul1-asm.S mpih-mul2-asm.S mpih-mul3-asm.S \ - mpih-lshift-asm.S mpih-rshift-asm.S mpih-sub1-asm.S asm-syntax.h \ - mpih-add1.c mpih-mul1.c mpih-mul2.c mpih-mul3.c \ - mpih-lshift.c mpih-rshift.c mpih-sub1.c \ - sysdep.h mod-source-info.h - -# Beware: The following list is not a comment but grepped by -# config.links to get the list of symlinked modules -# Optional modules are marked with an O in the second column. -#BEGIN_ASM_LIST -# mpih-add1 C -# mpih-sub1 C -# mpih-mul1 C -# mpih-mul2 C -# mpih-mul3 C -# mpih-lshift C -# mpih-rshift C -# udiv O -# udiv-qrnnd O -#END_ASM_LIST - -# Note: This function has not yet been implemented. There is only a dummy in -# generic/ -# udiv-w-sdiv O - -# And we need to have conditionals for all modules because -# we don't know whether they are .c or .S. Very ugly; I know. -# Remember to define them all in configure.ac -if MPI_MOD_ASM_MPIH_ADD1 -mpih_add1 = mpih-add1-asm.S -else -if MPI_MOD_C_MPIH_ADD1 -mpih_add1 = mpih-add1.c -else -mpih_add1 = -endif -endif - -if MPI_MOD_ASM_MPIH_SUB1 -mpih_sub1 = mpih-sub1-asm.S -else -if MPI_MOD_C_MPIH_SUB1 -mpih_sub1 = mpih-sub1.c -else -mpih_sub1 = -endif -endif - -if MPI_MOD_ASM_MPIH_MUL1 -mpih_mul1 = mpih-mul1-asm.S -else -if MPI_MOD_C_MPIH_MUL1 -mpih_mul1 = mpih-mul1.c -else -mpih_mul1 = -endif -endif - -if MPI_MOD_ASM_MPIH_MUL2 -mpih_mul2 = mpih-mul2-asm.S -else -if MPI_MOD_C_MPIH_MUL2 -mpih_mul2 = mpih-mul2.c -else -mpih_mul2 = -endif -endif - -if MPI_MOD_ASM_MPIH_MUL3 -mpih_mul3 = mpih-mul3-asm.S -else -if MPI_MOD_C_MPIH_MUL3 -mpih_mul3 = mpih-mul3.c -else -mpih_mul3 = -endif -endif - -if MPI_MOD_ASM_MPIH_LSHIFT -mpih_lshift = mpih-lshift-asm.S -else -if MPI_MOD_C_MPIH_LSHIFT -mpih_lshift = mpih-lshift.c -else -mpih_lshift = -endif -endif - -if MPI_MOD_ASM_MPIH_RSHIFT -mpih_rshift = mpih-rshift-asm.S -else -if MPI_MOD_C_MPIH_RSHIFT -mpih_rshift = mpih-rshift.c -else -mpih_rshift = -endif -endif - -if MPI_MOD_ASM_UDIV -udiv = udiv-asm.S -else -if MPI_MOD_C_UDIV -udiv = udiv.c -else -udiv = -endif -endif - -if MPI_MOD_ASM_UDIV_QRNND -udiv_qrnnd = udiv-qrnnd-asm.S -else -if MPI_MOD_C_UDIV_QRNND -udiv_qrnnd = udiv-qrnnd.c -else -udiv_qrnnd = -endif -endif - -noinst_LTLIBRARIES = libmpi.la - -libmpi_la_LDFLAGS = -nodist_libmpi_la_SOURCES = $(mpih_add1) $(mpih_sub1) $(mpih_mul1) \ - $(mpih_mul2) $(mpih_mul3) $(mpih_lshift) $(mpih_rshift) \ - $(udiv) $(udiv_qrnnd) -libmpi_la_SOURCES = longlong.h \ - mpi-add.c \ - mpi-bit.c \ - mpi-cmp.c \ - mpi-div.c \ - mpi-gcd.c \ - mpi-internal.h \ - mpi-inline.h \ - mpi-inline.c \ - mpi-inv.c \ - mpi-mul.c \ - mpi-mod.c \ - mpi-pow.c \ - mpi-mpow.c \ - mpi-scan.c \ - mpicoder.c \ - mpih-div.c \ - mpih-mul.c \ - mpiutil.c \ - ec.c diff --git a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.in b/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.in deleted file mode 100644 index d804aea85b..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Makefile.in +++ /dev/null @@ -1,672 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Copyright (C) 1992, 1999, 2000, 2002 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# 1.5 leads to a combinatorial explosion due to all the conditionals -# I was not able to build it with 64Megs - 1.6 fixes this. -# not anymore required: AUTOMAKE_OPTIONS = 1.6 - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = mpi -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/noexecstack.m4 $(top_srcdir)/m4/onceonly.m4 \ - $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sys_socket_h.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(noinst_LTLIBRARIES) -libmpi_la_LIBADD = -am_libmpi_la_OBJECTS = mpi-add.lo mpi-bit.lo mpi-cmp.lo mpi-div.lo \ - mpi-gcd.lo mpi-inline.lo mpi-inv.lo mpi-mul.lo mpi-mod.lo \ - mpi-pow.lo mpi-mpow.lo mpi-scan.lo mpicoder.lo mpih-div.lo \ - mpih-mul.lo mpiutil.lo ec.lo -@MPI_MOD_ASM_MPIH_ADD1_FALSE@@MPI_MOD_C_MPIH_ADD1_TRUE@am__objects_1 = mpih-add1.lo -@MPI_MOD_ASM_MPIH_ADD1_TRUE@am__objects_1 = mpih-add1-asm.lo -@MPI_MOD_ASM_MPIH_SUB1_FALSE@@MPI_MOD_C_MPIH_SUB1_TRUE@am__objects_2 = mpih-sub1.lo -@MPI_MOD_ASM_MPIH_SUB1_TRUE@am__objects_2 = mpih-sub1-asm.lo -@MPI_MOD_ASM_MPIH_MUL1_FALSE@@MPI_MOD_C_MPIH_MUL1_TRUE@am__objects_3 = mpih-mul1.lo -@MPI_MOD_ASM_MPIH_MUL1_TRUE@am__objects_3 = mpih-mul1-asm.lo -@MPI_MOD_ASM_MPIH_MUL2_FALSE@@MPI_MOD_C_MPIH_MUL2_TRUE@am__objects_4 = mpih-mul2.lo -@MPI_MOD_ASM_MPIH_MUL2_TRUE@am__objects_4 = mpih-mul2-asm.lo -@MPI_MOD_ASM_MPIH_MUL3_FALSE@@MPI_MOD_C_MPIH_MUL3_TRUE@am__objects_5 = mpih-mul3.lo -@MPI_MOD_ASM_MPIH_MUL3_TRUE@am__objects_5 = mpih-mul3-asm.lo -@MPI_MOD_ASM_MPIH_LSHIFT_FALSE@@MPI_MOD_C_MPIH_LSHIFT_TRUE@am__objects_6 = mpih-lshift.lo -@MPI_MOD_ASM_MPIH_LSHIFT_TRUE@am__objects_6 = mpih-lshift-asm.lo -@MPI_MOD_ASM_MPIH_RSHIFT_FALSE@@MPI_MOD_C_MPIH_RSHIFT_TRUE@am__objects_7 = mpih-rshift.lo -@MPI_MOD_ASM_MPIH_RSHIFT_TRUE@am__objects_7 = mpih-rshift-asm.lo -@MPI_MOD_ASM_UDIV_FALSE@@MPI_MOD_C_UDIV_TRUE@am__objects_8 = udiv.lo -@MPI_MOD_ASM_UDIV_TRUE@am__objects_8 = udiv-asm.lo -@MPI_MOD_ASM_UDIV_QRNND_FALSE@@MPI_MOD_C_UDIV_QRNND_TRUE@am__objects_9 = udiv-qrnnd.lo -@MPI_MOD_ASM_UDIV_QRNND_TRUE@am__objects_9 = udiv-qrnnd-asm.lo -nodist_libmpi_la_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) $(am__objects_5) \ - $(am__objects_6) $(am__objects_7) $(am__objects_8) \ - $(am__objects_9) -libmpi_la_OBJECTS = $(am_libmpi_la_OBJECTS) \ - $(nodist_libmpi_la_OBJECTS) -libmpi_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(libmpi_la_LDFLAGS) $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) -LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libmpi_la_SOURCES) $(nodist_libmpi_la_SOURCES) -DIST_SOURCES = $(libmpi_la_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_FILEVERSION = @BUILD_FILEVERSION@ -BUILD_REVISION = @BUILD_REVISION@ -BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ -CC = @CC@ -CCAS = @CCAS@ -CCASDEPMODE = @CCASDEPMODE@ -CCASFLAGS = @CCASFLAGS@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DL_LIBS = @DL_LIBS@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FALLBACK_SOCKLEN_T = @FALLBACK_SOCKLEN_T@ -FFLAGS = @FFLAGS@ -GCRYPT_CIPHERS = @GCRYPT_CIPHERS@ -GCRYPT_DIGESTS = @GCRYPT_DIGESTS@ -GCRYPT_PUBKEY_CIPHERS = @GCRYPT_PUBKEY_CIPHERS@ -GCRYPT_RANDOM = @GCRYPT_RANDOM@ -GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@ -GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@ -GPG_ERROR_LIBS = @GPG_ERROR_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGCRYPT_CIPHERS = @LIBGCRYPT_CIPHERS@ -LIBGCRYPT_CONFIG_API_VERSION = @LIBGCRYPT_CONFIG_API_VERSION@ -LIBGCRYPT_CONFIG_CFLAGS = @LIBGCRYPT_CONFIG_CFLAGS@ -LIBGCRYPT_CONFIG_LIBS = @LIBGCRYPT_CONFIG_LIBS@ -LIBGCRYPT_DIGESTS = @LIBGCRYPT_DIGESTS@ -LIBGCRYPT_LT_AGE = @LIBGCRYPT_LT_AGE@ -LIBGCRYPT_LT_CURRENT = @LIBGCRYPT_LT_CURRENT@ -LIBGCRYPT_LT_REVISION = @LIBGCRYPT_LT_REVISION@ -LIBGCRYPT_PUBKEY_CIPHERS = @LIBGCRYPT_PUBKEY_CIPHERS@ -LIBGCRYPT_THREAD_MODULES = @LIBGCRYPT_THREAD_MODULES@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MPI_SFLAGS = @MPI_SFLAGS@ -NOEXECSTACK_FLAGS = @NOEXECSTACK_FLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PTH_CFLAGS = @PTH_CFLAGS@ -PTH_CONFIG = @PTH_CONFIG@ -PTH_LIBS = @PTH_LIBS@ -RANLIB = @RANLIB@ -RC = @RC@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYS_SOCKET_H = @SYS_SOCKET_H@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) -AM_ASFLAGS = $(MPI_SFLAGS) -AM_CCASFLAGS = $(NOEXECSTACK_FLAGS) -EXTRA_DIST = Manifest config.links -DISTCLEANFILES = mpi-asm-defs.h \ - mpih-add1-asm.S mpih-mul1-asm.S mpih-mul2-asm.S mpih-mul3-asm.S \ - mpih-lshift-asm.S mpih-rshift-asm.S mpih-sub1-asm.S asm-syntax.h \ - mpih-add1.c mpih-mul1.c mpih-mul2.c mpih-mul3.c \ - mpih-lshift.c mpih-rshift.c mpih-sub1.c \ - sysdep.h mod-source-info.h - -@MPI_MOD_ASM_MPIH_ADD1_FALSE@@MPI_MOD_C_MPIH_ADD1_FALSE@mpih_add1 = -@MPI_MOD_ASM_MPIH_ADD1_FALSE@@MPI_MOD_C_MPIH_ADD1_TRUE@mpih_add1 = mpih-add1.c - -# Beware: The following list is not a comment but grepped by -# config.links to get the list of symlinked modules -# Optional modules are marked with an O in the second column. -#BEGIN_ASM_LIST -# mpih-add1 C -# mpih-sub1 C -# mpih-mul1 C -# mpih-mul2 C -# mpih-mul3 C -# mpih-lshift C -# mpih-rshift C -# udiv O -# udiv-qrnnd O -#END_ASM_LIST - -# Note: This function has not yet been implemented. There is only a dummy in -# generic/ -# udiv-w-sdiv O - -# And we need to have conditionals for all modules because -# we don't know whether they are .c or .S. Very ugly; I know. -# Remember to define them all in configure.ac -@MPI_MOD_ASM_MPIH_ADD1_TRUE@mpih_add1 = mpih-add1-asm.S -@MPI_MOD_ASM_MPIH_SUB1_FALSE@@MPI_MOD_C_MPIH_SUB1_FALSE@mpih_sub1 = -@MPI_MOD_ASM_MPIH_SUB1_FALSE@@MPI_MOD_C_MPIH_SUB1_TRUE@mpih_sub1 = mpih-sub1.c -@MPI_MOD_ASM_MPIH_SUB1_TRUE@mpih_sub1 = mpih-sub1-asm.S -@MPI_MOD_ASM_MPIH_MUL1_FALSE@@MPI_MOD_C_MPIH_MUL1_FALSE@mpih_mul1 = -@MPI_MOD_ASM_MPIH_MUL1_FALSE@@MPI_MOD_C_MPIH_MUL1_TRUE@mpih_mul1 = mpih-mul1.c -@MPI_MOD_ASM_MPIH_MUL1_TRUE@mpih_mul1 = mpih-mul1-asm.S -@MPI_MOD_ASM_MPIH_MUL2_FALSE@@MPI_MOD_C_MPIH_MUL2_FALSE@mpih_mul2 = -@MPI_MOD_ASM_MPIH_MUL2_FALSE@@MPI_MOD_C_MPIH_MUL2_TRUE@mpih_mul2 = mpih-mul2.c -@MPI_MOD_ASM_MPIH_MUL2_TRUE@mpih_mul2 = mpih-mul2-asm.S -@MPI_MOD_ASM_MPIH_MUL3_FALSE@@MPI_MOD_C_MPIH_MUL3_FALSE@mpih_mul3 = -@MPI_MOD_ASM_MPIH_MUL3_FALSE@@MPI_MOD_C_MPIH_MUL3_TRUE@mpih_mul3 = mpih-mul3.c -@MPI_MOD_ASM_MPIH_MUL3_TRUE@mpih_mul3 = mpih-mul3-asm.S -@MPI_MOD_ASM_MPIH_LSHIFT_FALSE@@MPI_MOD_C_MPIH_LSHIFT_FALSE@mpih_lshift = -@MPI_MOD_ASM_MPIH_LSHIFT_FALSE@@MPI_MOD_C_MPIH_LSHIFT_TRUE@mpih_lshift = mpih-lshift.c -@MPI_MOD_ASM_MPIH_LSHIFT_TRUE@mpih_lshift = mpih-lshift-asm.S -@MPI_MOD_ASM_MPIH_RSHIFT_FALSE@@MPI_MOD_C_MPIH_RSHIFT_FALSE@mpih_rshift = -@MPI_MOD_ASM_MPIH_RSHIFT_FALSE@@MPI_MOD_C_MPIH_RSHIFT_TRUE@mpih_rshift = mpih-rshift.c -@MPI_MOD_ASM_MPIH_RSHIFT_TRUE@mpih_rshift = mpih-rshift-asm.S -@MPI_MOD_ASM_UDIV_FALSE@@MPI_MOD_C_UDIV_FALSE@udiv = -@MPI_MOD_ASM_UDIV_FALSE@@MPI_MOD_C_UDIV_TRUE@udiv = udiv.c -@MPI_MOD_ASM_UDIV_TRUE@udiv = udiv-asm.S -@MPI_MOD_ASM_UDIV_QRNND_FALSE@@MPI_MOD_C_UDIV_QRNND_FALSE@udiv_qrnnd = -@MPI_MOD_ASM_UDIV_QRNND_FALSE@@MPI_MOD_C_UDIV_QRNND_TRUE@udiv_qrnnd = udiv-qrnnd.c -@MPI_MOD_ASM_UDIV_QRNND_TRUE@udiv_qrnnd = udiv-qrnnd-asm.S -noinst_LTLIBRARIES = libmpi.la -libmpi_la_LDFLAGS = -nodist_libmpi_la_SOURCES = $(mpih_add1) $(mpih_sub1) $(mpih_mul1) \ - $(mpih_mul2) $(mpih_mul3) $(mpih_lshift) $(mpih_rshift) \ - $(udiv) $(udiv_qrnnd) - -libmpi_la_SOURCES = longlong.h \ - mpi-add.c \ - mpi-bit.c \ - mpi-cmp.c \ - mpi-div.c \ - mpi-gcd.c \ - mpi-internal.h \ - mpi-inline.h \ - mpi-inline.c \ - mpi-inv.c \ - mpi-mul.c \ - mpi-mod.c \ - mpi-pow.c \ - mpi-mpow.c \ - mpi-scan.c \ - mpicoder.c \ - mpih-div.c \ - mpih-mul.c \ - mpiutil.c \ - ec.c - -all: all-am - -.SUFFIXES: -.SUFFIXES: .S .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu mpi/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu mpi/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libmpi.la: $(libmpi_la_OBJECTS) $(libmpi_la_DEPENDENCIES) - $(libmpi_la_LINK) $(libmpi_la_OBJECTS) $(libmpi_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ec.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-add.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-bit.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-cmp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-div.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-gcd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-inline.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-inv.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-mod.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-mpow.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-mul.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-pow.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpi-scan.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpicoder.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-add1-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-add1.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-div.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-lshift-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-lshift.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul1-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul1.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul2-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul2.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul3-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-mul3.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-rshift-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-rshift.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-sub1-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpih-sub1.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpiutil.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udiv-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udiv-qrnnd-asm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udiv-qrnnd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udiv.Plo@am__quote@ - -.S.o: -@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCCAS_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ $< - -.S.obj: -@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCCAS_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.S.lo: -@am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCCAS_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCCAS_FALSE@ $(LTCPPASCOMPILE) -c -o $@ $< - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Manifest b/plugins/MirOTR/libgcrypt-1.4.6/mpi/Manifest deleted file mode 100644 index 3b0d6733de..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/mpi/Manifest +++ /dev/null @@ -1,41 +0,0 @@ -# Manifest - checksums of the mpi directory -# Copyright 2003 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser general Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -Makefile.am -config.links -longlong.h -mpi-add.c -mpi-bit.c -mpi-cmp.c -mpi-div.c -mpi-gcd.c -mpi-inline.c -mpi-inline.h -mpi-internal.h -mpi-inv.c -mpi-mpow.c -mpi-mul.c -mpi-pow.c -mpi-scan.c -mpicoder.c -mpih-div.c -mpih-mul.c -mpiutil.c -$names$ iQCVAwUAP+LmfDEAnp832S/7AQKZJQQAkR/gQITUM+6Ygy9WAOAO17btyKAlCtGTXp5XSZ+J3X0o/rYneRdSCW89IJvwFRJjAOcFJd52MXs6ZVFF/RQBC8MvJzuQChbEzvihK8o2VgK34YWjU+6XH9sFgRMIgzkHs/51ZZxeQUOPy1XF7TyKB0WE7YBUVisFiRaqB1qGIOs==Z3qB - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/random/ChangeLog b/plugins/MirOTR/libgcrypt-1.4.6/random/ChangeLog deleted file mode 100644 index b1639c4ca4..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/random/ChangeLog +++ /dev/null @@ -1,139 +0,0 @@ -2009-12-10 Werner Koch <wk@g10code.com> - - * rndw32.c (system_is_w2000): New. - (_gcry_rndw32_gather_random): Set it. - (slow_gatherer): Ignore SystemObjectInformation on W2000. Fixes - bug#1167. - -2009-06-24 Werner Koch <wk@g10code.com> - - * rndhw.c (poll_padlock): Asm change from Fedora. - -2009-01-22 Werner Koch <wk@g10code.com> - - * random.c (_gcry_random_deinit_external_test): Do not return a - value. Reported Albert Chin. - -2008-09-16 Werner Koch <wk@g10code.com> - - * random-fips.c (x931_aes_driver): No re-seeding with test contexts. - (_gcry_rngfips_init_external_test): Fix setting of test_dt_ptr. - (struct rng_context): Add flag TEST_NO_DUP_CHECK. - (x931_aes_driver): Use that flag. - (_gcry_rngfips_init_external_test): Add arg FLAGS and use it to - modify the test. - * random.c (_gcry_random_init_external_test): Pass FLAGS. - -2008-09-15 Werner Koch <wk@g10code.com> - - * random.c (_gcry_random_init_external_test): New. - (_gcry_random_run_external_test): New. - (_gcry_random_deinit_external_test): New. - * random-fips.c (struct rng_context): Turn TEST_DT_COUNTER into a - 32 bit integer. - (x931_get_dt): Ditto. - (selftest_kat): Intialize it accordingly. - (_gcry_rngfips_init_external_test): New. - (_gcry_rngfips_run_external_test): New. - (_gcry_rngfips_deinit_external_test): New. - -2008-09-05 Werner Koch <wk@g10code.com> - - * random.c (_gcry_random_selftest): Return success if not in fips - mode. - -2008-09-01 Werner Koch <wk@g10code.com> - - * random-fips.c (x931_get_dt) [W32]: Do not use getppid. - (get_entropy): Prepare for use under Windows. - (_gcry_rngfips_selftest): Ditto. - (entropy_collect_cb): Make sure that the gatherer never overflows - the buffers. - -2008-08-29 Werner Koch <wk@g10code.com> - - * random-fips.c (SEED_TTL): New. - (struct rng_context): Add USE_COUNTER, remove NEED_STRONG_ENTROPY. - (x931_aes_driver): Do re-seeding if required. - (x931_generate_key, x931_generate_seed): Factor common code out to .. - (get_entropy): .. new. Always use /dev/random. - (x931_generate_key): Seed key for nonce_context from std_rng_context. - (x931_reseed): New. Seed nonce context from std_rng_context. - (get_random): Use x931_reseed. - (_gcry_rngfips_selftest): Return an error if no /dev/radom support - has been compiled in. - (get_random): Remove locking. - (_gcry_rngfips_randomize, _gcry_rngfips_create_nonce): Lock here. - -2008-08-28 Werner Koch <wk@g10code.com> - - * random-daemon.c (connect_to_socket): Use GPG_ERR_ENAMETOOLONG. - -2008-08-25 Werner Koch <wk@g10code.com> - - * random-fips.c (x931_aes): Take datetime_GT from an arg. - (x931_aes_driver): Call x931_get_dt here. - (x931_get_dt): Implement the KAT hack. - (x931_generate_seed): Copy the seed value to the provided buffer. - (selftest_kat): New. - -2008-08-22 Werner Koch <wk@g10code.com> - - * random.c (_gcry_update_random_seed_file): Move operational check - to _gcry_vcontrol. - (_gcry_fast_random_poll): Ditto. - (_gcry_random_selftest): New. - * random-fips.c (_gcry_rngfips_selftest): New. - -2008-08-21 Werner Koch <wk@g10code.com> - - * random-fips.c: Finish implementation. - -2008-08-15 Werner Koch <wk@g10code.com> - - * random-fips.c: New. - - * random-csprng.c (process-cb, progress_cb_data): Move to - random.c. - (_gcry_register_random_progress, _gcry_random_progress): Ditto. - (_gcry_random_initialize): Rename to _gcry_rngcsprng_initialize. - (_gcry_random_dump_stats): Rename to _gcry_rngcsprng_dump_stats. - (_gcry_secure_random_alloc): Rename to - _gcry_rngcsprng_secure_alloc. - (_gcry_enable_quick_random_gen): Rename to - _gcry_rngcsprng_enable_quick_gen. - (_gcry_set_random_daemon_socket): Rename to - _gcry_rngcsprng_set_daemon_socket. - (_gcry_use_random_daemon): Rename to _gcry_rngcsprng_use_daemon. - (_gcry_random_is_faked): Rename to _gcry_rngcsprng_is_faked. - (gcry_random_add_bytes): Rename to _gcry_rngcsprng_add_bytes. - (gcry_random_bytes): Remove - (gcry_random_bytes_secure): Remove. - (gcry_randomize): Rename to _gcry_rngcsprng_randomize. - (_gcry_set_random_seed_file): Rename to - _gcry_rngcsprng_set_seed_file. - (_gcry_update_random_seed_file): Rename to - _gcry_rngcsprng_update_seed_file. - (_gcry_fast_random_poll): Rename to _gcry_rngcsprng_fast_poll. - (gcry_create_nonce): Rename to _gcry_rngcsprng_create_nonce. - - * random.c: Factor all code out to random-csprng.c and implement - wrapper functions. - -2008-07-05 Werner Koch <wk@g10code.com> - - * random-daemon.c, random.h, rndhw.c, rndunix.c, rand-internal.h * - random.c, rndegd.c, rndlinux.c, rndw32.c: Move from ../cipher/ to - here. - * Makefile.am: New. - - Copyright 2008 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.am b/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.am deleted file mode 100644 index 336109a6ad..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -# Makefile for cipher modules -# Copyright (C) 2008 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. - -# Process this file with automake to produce Makefile.in - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) - -noinst_LTLIBRARIES = librandom.la - -GCRYPT_MODULES = @GCRYPT_RANDOM@ - -librandom_la_DEPENDENCIES = $(GCRYPT_MODULES) -librandom_la_LIBADD = $(GCRYPT_MODULES) - -librandom_la_SOURCES = \ -random.c random.h \ -rand-internal.h \ -random-csprng.c \ -random-fips.c \ -rndhw.c - -if USE_RANDOM_DAEMON -librandom_la_SOURCES += random-daemon.c -endif USE_RANDOM_DAEMON - - -EXTRA_librandom_la_SOURCES = \ -rndlinux.c \ -rndegd.c \ -rndunix.c \ -rndw32.c diff --git a/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.in b/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.in deleted file mode 100644 index 679abc8245..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/random/Makefile.in +++ /dev/null @@ -1,519 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Makefile for cipher modules -# Copyright (C) 2008 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. - -# Process this file with automake to produce Makefile.in - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@USE_RANDOM_DAEMON_TRUE@am__append_1 = random-daemon.c -subdir = random -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/noexecstack.m4 $(top_srcdir)/m4/onceonly.m4 \ - $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sys_socket_h.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(noinst_LTLIBRARIES) -am__DEPENDENCIES_1 = -am__librandom_la_SOURCES_DIST = random.c random.h rand-internal.h \ - random-csprng.c random-fips.c rndhw.c random-daemon.c -@USE_RANDOM_DAEMON_TRUE@am__objects_1 = random-daemon.lo -am_librandom_la_OBJECTS = random.lo random-csprng.lo random-fips.lo \ - rndhw.lo $(am__objects_1) -librandom_la_OBJECTS = $(am_librandom_la_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(librandom_la_SOURCES) $(EXTRA_librandom_la_SOURCES) -DIST_SOURCES = $(am__librandom_la_SOURCES_DIST) \ - $(EXTRA_librandom_la_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_FILEVERSION = @BUILD_FILEVERSION@ -BUILD_REVISION = @BUILD_REVISION@ -BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ -CC = @CC@ -CCAS = @CCAS@ -CCASDEPMODE = @CCASDEPMODE@ -CCASFLAGS = @CCASFLAGS@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DL_LIBS = @DL_LIBS@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FALLBACK_SOCKLEN_T = @FALLBACK_SOCKLEN_T@ -FFLAGS = @FFLAGS@ -GCRYPT_CIPHERS = @GCRYPT_CIPHERS@ -GCRYPT_DIGESTS = @GCRYPT_DIGESTS@ -GCRYPT_PUBKEY_CIPHERS = @GCRYPT_PUBKEY_CIPHERS@ -GCRYPT_RANDOM = @GCRYPT_RANDOM@ -GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@ -GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@ -GPG_ERROR_LIBS = @GPG_ERROR_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGCRYPT_CIPHERS = @LIBGCRYPT_CIPHERS@ -LIBGCRYPT_CONFIG_API_VERSION = @LIBGCRYPT_CONFIG_API_VERSION@ -LIBGCRYPT_CONFIG_CFLAGS = @LIBGCRYPT_CONFIG_CFLAGS@ -LIBGCRYPT_CONFIG_LIBS = @LIBGCRYPT_CONFIG_LIBS@ -LIBGCRYPT_DIGESTS = @LIBGCRYPT_DIGESTS@ -LIBGCRYPT_LT_AGE = @LIBGCRYPT_LT_AGE@ -LIBGCRYPT_LT_CURRENT = @LIBGCRYPT_LT_CURRENT@ -LIBGCRYPT_LT_REVISION = @LIBGCRYPT_LT_REVISION@ -LIBGCRYPT_PUBKEY_CIPHERS = @LIBGCRYPT_PUBKEY_CIPHERS@ -LIBGCRYPT_THREAD_MODULES = @LIBGCRYPT_THREAD_MODULES@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MPI_SFLAGS = @MPI_SFLAGS@ -NOEXECSTACK_FLAGS = @NOEXECSTACK_FLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PTH_CFLAGS = @PTH_CFLAGS@ -PTH_CONFIG = @PTH_CONFIG@ -PTH_LIBS = @PTH_LIBS@ -RANLIB = @RANLIB@ -RC = @RC@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYS_SOCKET_H = @SYS_SOCKET_H@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# Need to include ../src in addition to top_srcdir because gcrypt.h is -# a built header. -AM_CPPFLAGS = -I../src -I$(top_srcdir)/src -AM_CFLAGS = $(GPG_ERROR_CFLAGS) -noinst_LTLIBRARIES = librandom.la -GCRYPT_MODULES = @GCRYPT_RANDOM@ -librandom_la_DEPENDENCIES = $(GCRYPT_MODULES) -librandom_la_LIBADD = $(GCRYPT_MODULES) -librandom_la_SOURCES = random.c random.h rand-internal.h \ - random-csprng.c random-fips.c rndhw.c $(am__append_1) -EXTRA_librandom_la_SOURCES = \ -rndlinux.c \ -rndegd.c \ -rndunix.c \ -rndw32.c - -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu random/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu random/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -librandom.la: $(librandom_la_OBJECTS) $(librandom_la_DEPENDENCIES) - $(LINK) $(librandom_la_OBJECTS) $(librandom_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random-csprng.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random-daemon.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random-fips.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rndegd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rndhw.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rndlinux.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rndunix.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rndw32.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/ChangeLog b/plugins/MirOTR/libgcrypt-1.4.6/src/ChangeLog deleted file mode 100644 index 8a8027c38f..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/ChangeLog +++ /dev/null @@ -1,2138 +0,0 @@ -2010-07-13 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRY_CIPHER_MODE_AESWRAP): New. - -2010-07-09 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRY_MD_TIGER1, GCRY_MD_TIGER2): New. - - * gcrypt.h.in [!__GNUC__ && W32]: Typedef ssize_t and pid_t to - help building with MSVC. - * gcrypt.h.in [W32]: Include time.h and not sys/time.h. - -2009-11-29 Werner Koch <wk@g10code.com> - - * hwfeatures.c (detect_ia32_gnuc): Replace "=r" by "+r" so that - HAS_CPUDID is always initialized. Thanks to Ben Hutchings for - pointing out this problem. - -2009-06-24 Werner Koch <wk@g10code.com> - - * fips.c (_gcry_initialize_fips_mode): No FIPS mode if - /proc/version has insufficient permissions. - -2009-02-02 Werner Koch <wk@g10code.com> - - * ath.h: Include sys/time.h. Fixes bug#993. - -2009-01-22 Werner Koch <wk@g10code.com> - - * fips.c (_gcry_initialize_fips_mode): Remove superfluous const - from static string. Reported by Albert Chin. - * hmac256.c (selftest): Ditto and change to unsigned char. - -2008-12-10 Werner Koch <wk@g10code.com> - - * hmac256.c (finalize): Fix for big endian hosts. - -2008-12-05 Werner Koch <wk@g10code.com> - - * global.c (gcry_free): Save and restore ERRNO if set. - -2008-11-24 Werner Koch <wk@g10code.com> - - * sexp.c (get_internal_buffer): New. - (sexp_sscan): Add format character S. - * cipher-proto.h (pk_ext_generate_t): Add field EXTRAINFO changed - all implementors. - - * cipher-proto.h (pk_ext_generate_t): Simplify. - (pk_get_param): New. - (pk_extra_spec_t): Add field GET_PARAM. - * cipher.h (PUBKEY_FLAG_TRANSIENT_KEY): Remove. - (_gcry_pubkey_extraspec_elg): New. - -2008-11-05 Werner Koch <wk@g10code.com> - - * cipher.h (CIPHER_INFO_NO_WEAK_KEY): New. - - * cipher-proto.h (cipher_set_extra_info_t): New. - (cipher_extra_spec): Add field SET_EXTRA_INFO. - -2008-10-30 Werner Koch <wk@g10code.com> - - * g10lib.h (GCC_ATTR_FORMAT_ARG): New. - (_gcry_gettext): Use it. - -2008-10-24 Werner Koch <wk@g10code.com> - - * global.c (inactive_fips_mode): Move to fips.c. - (gcry_set_allocation_handler): Factor code out to ... - * fips.c (_gcry_inactivate_fips_mode): New. - (_gcry_is_fips_mode_inactive): New. - -2008-09-29 Werner Koch <wk@g10code.com> - - * gcrypt-module.h (GCRY_MODULE_ID_USER, GCRY_MODULE_ID_USER_LAST): - New. - * module.c (MODULE_ID_USER, MODULE_ID_USER_LAST): Define using new - macros. - -2008-09-20 Werner Koch <wk@g10code.com> - - * hmac256.c (finalize) [WORDS_BIGENDIAN]: Fix sigbus problem. - -2008-09-18 Werner Koch <wk@g10code.com> - - * cipher-proto.h (pk_ext_generate_t): Add args QBITS, NAME, DOMAIN. - - * fips.c (fips_new_state): Allow Error => Error transition. - -2008-09-18 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (gcry_fips_mode_active): New. - - * secmem.c (_gcry_secmem_init): Factor most code out to .. - (secmem_init): .. new. - (DEFAULT_POOL_SIZE): Rename to MINIMUM_POOL_SIZE. - (STANDARD_POOL_SIZE): New. - (_gcry_secmem_malloc_internal): Don't abort if the pool is not - initialized but try to out intialize it first and only then print - an error message and return NULL. If the pool is not locked while - in FIPS mode, return NULL. - - * fips.c (FIPS_FORCE_FILE): New constant. Change the file name to - "/etc/gcrypt/fips_enabled". - (enforced_fips_mode): New. - (_gcry_initialize_fips_mode): Set that flag. - (_gcry_enforced_fips_mode): New. - * global.c (inactive_fips_mode): New. - (_gcry_vcontrol): Take that flag in account for GCRYCTL_FIPS_MODE_P. - (gcry_set_allocation_handler): Take care of the enforced fips mdoe - flag. - (get_no_secure_memory): New. - (do_malloc, gcry_is_secure): Use it. - -2008-09-16 Werner Koch <wk@g10code.com> - - * global.c (print_config): Use y/n for fips mode. - - * fips.c (fips_new_state): Allow transition to Error and - Fatal-error from Init. - -2008-09-15 Werner Koch <wk@g10code.com> - - * fips.c [HAVE_SYSLOG]: Include syslog.h. - (_gcry_initialize_fips_mode, lock_fsm, unlock_fsm) - (_gcry_fips_signal_error, fips_new_state) - (_gcry_fips_noreturn) [HAVE_SYSLOG]: Also log via syslog. - (check_binary_integrity) [HAVE_SYSLOG]: Log failure. - * global.h [HAVE_SYSLOG]: Include syslog.h. - (_gcry_global_is_operational) [HAVE_SYSLOG]: Print warning. - - * global.c (_gcry_vcontrol): Use GCRYCTL_INITIALIZATION_FINISHED - to run power-up tests. Add unpublished control commands 58-60. - - * global.c (_gcry_global_is_operational): New. - * g10lib.h (fips_is_operational): Change to call this function. - -2008-09-12 Werner Koch <wk@g10code.com> - - * fips.c (_gcry_fips_run_selftests): Add arg EXTENDED. - (run_cipher_selftests, run_digest_selftests, run_hmac_selftests) - (run_pubkey_selftests): Ditto. - * cipher-proto.h (selftest_func_t): Add arg EXTENDED - -2008-09-11 Werner Koch <wk@g10code.com> - - * fips.c: Include string.h. - (loxtoi_1, loxtoi_2, loxdigit_p): New. - (check_binary_integrity): Change the format of the expected file. - - * fips.c (_gcry_fips_run_selftests): Run random tests before the - pubkey tests. - -2008-09-05 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCYRCTL_SELFTEST): New. - * global.c (_gcry_vcontrol): Implement. - * fips.c (_gcry_fips_run_selftests): Do state transitions only if - in fips mode. Return an error code. - -2008-09-01 Werner Koch <wk@g10code.com> - - * stdmem.c: Re-indented. - -2008-08-29 Werner Koch <wk@g10code.com> - - * fips.c (_gcry_initialize_fips_mode): Changed /proc file to test - for FIPS mode. - - * cipher-proto.h (pk_compute_keygrip_t): New. - (pk_extra_spec): Add field comp_keygrip. - -2008-08-28 Werner Koch <wk@g10code.com> - - * hwfeatures.c (_gcry_detect_hw_features): Disable hardware - detection in FIPS mode. - -2008-08-27 Werner Koch <wk@g10code.com> - - * global.c (_gcry_vcontrol): Allow running selftests from error - state. - (gcry_set_outofcore_handler): Only print a warning if used in FIPS - mode. - (gcry_xmalloc, gcry_xrealloc, gcry_xmalloc_secure, gcry_xstrdup): - Ignore an outofcore handler in FIPS mode. - - * fips.c (_gcry_fips_test_error_or_operational): New. - (fips_new_state): Allow transition from error into selftest. - Disallow error to init. - -2008-08-26 Werner Koch <wk@g10code.com> - - * fips.c (fips_new_state): Print state transitions only at - verbosity level of 2. - (reporter): Likewise. - - * cipher-proto.h (pk_ext_generate_t): New. - (pk_extra_spec): Add member ext_generate. - * cipher.h (PUBKEY_FLAG_TRANSIENT_KEY): New. - -2008-08-22 Werner Koch <wk@g10code.com> - - * hmac256.c (_gcry_hmac256_file): New. - (main): New option --binary. - * fips.c (check_binary_integrity): New. - (_gcry_fips_run_selftests): Run it. - - * global.c (_gcry_vcontrol) <GCRYCTL_UPDATE_RANDOM_SEED_FILE>: - Check for fips operational state. - (_gcry_vcontrol) <GCRYCTL_FAST_POLL>: Ditt. - -2008-08-21 Werner Koch <wk@g10code.com> - - * misc.c (_gcry_log_printhex): New. - -2008-08-20 Werner Koch <wk@g10code.com> - - * g10lib.h (gcry_assert): New. use this at almost all places - where we used a plain assert. - * misc.c (_gcry_assert_failed): New. - (_gcry_bug): Also use func variant for ISO-C99. - -2008-08-19 Werner Koch <wk@g10code.com> - - * visibility.c, visibility.h (gcry_mpi_lshift): New. - * libgcrypt.vers, libgcrypt.def, gcrypt.h.in: Ditto. - -2008-08-15 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (gcry_cipher_setkey): Replace macro by function. - (gcry_cipher_setiv): Ditto. - (gcry_cipher_setctr): Ditto. - * visibility.c (gcry_cipher_setkey, gcry_cipher_setiv) - (gcry_cipher_setctr): New. - * visibility.h (gcry_cipher_setkey, gcry_cipher_setiv) - (gcry_cipher_setctr): New. - * libgcrypt.vers (gcry_cipher_setkey, gcry_cipher_setiv) - (gcry_cipher_setctr): New. - * libgcrypt.def (gcry_cipher_setkey, gcry_cipher_setiv) - (gcry_cipher_setctr): New. - - * hmac256.h, hmac256.c: New. - * Makefile.am (hmac256_SOURCES): New. - * Makefile.am (bin_PROGRAMS): Add hmac256. - - * gcrypt.h.in (struct gcry_thread_cbs): Change type of OPTION to - unsigned int. Although this is a type change it does not make a - difference. - * ath.c (ath_install): Take the version of the option field in - account. - - * visibility.c (gcry_pk_encrypt, gcry_pk_decrypt, gcry_pk_sign) - (gcry_pk_verify, gcry_pk_testkey, gcry_pk_genkey) - (gcry_pk_get_nbits, gcry_pk_get_keygrip) - (gcry_md_open, gcry_md_copy, gcry_md_enable) - (gcry_md_write, md_final, gcry_md_ctl, gcry_md_setkey) - (gcry_md_hash_buffer, gcry_md_get_algo, gcry_md_info) - (gcry_md_is_enabled) - (gcry_cipher_open, gcry_cipher_encrypt) - (gcry_cipher_decrypt, gcry_cipher_ctl) - (gcry_cipher_algo_info): Check whether the library is operational. - - * cipher-proto.h: New. - * cipher.h: Include cipher-proto.h. - * visibility.h: Remove duplicate macro definitions. Remove - gcry_cipher_register, gcry_md_register, gcry_pk_register macros. - * visibility.c: Include cipher-proto.h. - (gcry_cipher_register): Pass dummy extra args to the internal - register function. - (gcry_md_register, gcry_pk_register): Ditto. - * g10lib.h (struct gcry_module): Add field EXTRASPEC. - * module.c (_gcry_module_add): Add arg EXTRASPEC. Changed all - callers to pass NULL. - - * fips.c: New. - * gcrypt.h.in (GCRYCTL_FIPS_MODE_P): New. - * global.c (global_init): Call fips initialization. - (_gcry_vcontrol): Add GCRYCTL_FIPS_MODE_P code. - (print_config): Add config item fips-mode. - (gcry_set_allocation_handler): Do not allow the use of custom - allocation handlers. - (gcry_set_outofcore_handler): Ditto. - (_gcry_get_debug_flag): Do not return any debug flags in fips mode. - * misc.c (_gcry_logv): Signal fips error on BUG or FATAL. - (_gcry_fatal_error): Ditto. - -2008-07-05 Werner Koch <wk@g10code.com> - - * Makefile.am: Include librandom.la. - -2008-04-18 Werner Koch <wk@g10code.com> - - * missing-string.c (vasprintf): Remove. It is not used. Reported - by Simon Josefsson. - -2008-03-11 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (gcry_ac_em_t, gcry_ac_scheme_t): Remove trailing - comma for full C-89 compatibility. - -2008-01-21 Marcus Brinkmann <marcus@g10code.de> - - * hwfeatures.c (detect_ia32_gnuc): Fix inline asm. - -2007-12-11 Werner Koch <wk@g10code.com> - - * visibility.c (gcry_md_hash_buffer): Don't use return vor a void - function. Hey, why does gcc not complain about this? - (gcry_ac_io_init_va): Ditto. - -2007-12-05 Werner Koch <wk@g10code.com> - - * hwfeatures.c (detect_ia32_gnuc): Depend on ENABLE_PADLOCK_SUPPORT. - -2007-12-03 Werner Koch <wk@g10code.com> - - * misc.c (_gcry_logv): Use abort for error levels fatal and bug as - this is more approriate for a library. Terminate the secmem - before doing so. - (_gcry_fatal_error): Terminate secmem before abort. - * secmem.c (_gcry_secmem_malloc_internal): Use log_bug instead of - exit. - -2007-11-29 Werner Koch <wk@g10code.com> - - * hwfeatures.c (detect_ia32_gnuc): Detect Padlock engine. - -2007-11-13 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (_GCRY_GCC_ATTR_MALLOC): Fixed gcc version check. - Reported by Gabriele Monti. - -2007-10-31 Werner Koch <wk@g10code.com> - - * global.c (gcry_control): Factor most code out to .. - (_gcry_vcontrol): .. new. - * sexp.c (_gcry_sexp_vbuild): New. - * mpi.h (_gcry_mpi_set, _gcry_mpi_set_ui, _gcry_mpi_invm): Remove - prototypes as they are already in gcrypt.h. - -2007-10-30 Werner Koch <wk@g10code.com> - - * sexp.c (gcry_sexp_nth_string): Replace by _gcry_sexp_nth_string. - - * visibility.h, visibility.c: New. - * g10lib.h: Include visibility.h instead of gcrypt.h. - * globals.c (_gcry_malloc): Rename to .. - (do_malloc): .. this. - - * hwfeatures.c: New. - * global.c (global_init): Detect features. - (print_config): Print them. - -2007-08-22 Werner Koch <wk@g10code.com> - - * dumpsexp.c: New. - * Makefile.am (bin_PROGRAMS): Install it. - - * getrandom.c (print_version): Use new standard license line. - * gcryptrnd.c (print_version): Ditto. - -2007-06-06 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRY_THREAD_OPTION_PTH_IMPL): Factror network - related code out so that the prototypes can be adjusted for W32. - (_GCRY_THREAD_OPTION_PTH_IMPL_NET): New. - -2007-05-09 Werner Koch <wk@g10code.com> - - * libgcrypt.m4: Print found version on success. - -2007-05-09 Marcus Brinkmann <marcus@g10code.de> - - * gcrypt.h.in (gcry_ac_io_t): Add name for anonymous union, and mark - all members as internal (actually: deprecated). - -2007-05-04 Werner Koch <wk@g10code.com> - - * Makefile.am (.rc.lo): New to replace gmake specific suffix rule. - -2007-05-03 Werner Koch <wk@g10code.com> - - * libgcrypt.def (gcry_sexp_nth_string): New. - * Makefile.am (EXTRA_DIST): Add libgcrypt.def. - -2007-05-02 Werner Koch <wk@g10code.com> - - * global.c (print_config): Print ciphers, digests and pubkeys. - -2007-05-02 David Shaw <dshaw@jabberwocky.com> - - * cipher.h, gcrypt.h.in: Add Camellia. - -2007-04-30 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRYCTL_PRINT_CONFIG): New. - (GCRYCTL_SET_RNDEGD_SOCKET): New. - * global.c (gcry_control): Add GCRYCTL_PRINT_CONFIG and - GCRYCTL_SET_RNDEGD_SOCKET. - (print_config): New. - * misc.c (_gcry_log_info_with_dummy_fp): New. - -2007-04-18 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (gcry_sexp_nth_string): New. - - * sexp.c (gcry_sexp_nth_data): Factored code out to ... - (sexp_nth_data): ... new. - (gcry_sexp_nth_string): New. - (gcry_sexp_nth_mpi): Reimplemented in terms of sexp_ntd_data. - -2007-04-16 Werner Koch <wk@g10code.com> - - * secmem.c (init_pool): Use sysconf() if available to determine - page size. - -2007-03-22 Werner Koch <wk@g10code.com> - - * mpi.h (mpi_mod): New. - (mpi_new, mpi_snew): New. - - * gcrypt.h.in: Add GCRY_PK_ECDSA. - -2007-03-16 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRY_THREAD_OPTION_PTHREAD_IMPL): Fixed typo - introduced by me on 2006-10-23. - -2007-02-22 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (gcry_ac_id_to_name, gcry_ac_name_to_id): Mark as - deprecated. - - * libgcrypt.def (gcry_fast_random_poll): Removed - it is a macro. - (gcry_cipher_register, gcry_cipher_unregister): New. - (gcry_md_register, gcry_md_unregister): New. - (gcry_pk_register, gcry_pk_unregister): New. - (gcry_ac_data_from_sexp, gcry_ac_data_to_sexp): New. - (gcry_ac_io_init, gcry_ac_io_init_va): New. - (gcry_ac_data_encrypt_scheme, gcry_ac_data_decrypt_scheme): New. - (gcry_ac_data_sign_scheme, gcry_ac_data_verify_scheme): New. - - * missing-string.c: Include stdio.h for the vsprintf prototype. - - * ath.h (struct ath_ops) [_WIN32]: Use int instead of socklen_t. - -2007-02-21 Werner Koch <wk@g10code.com> - - * libgcrypt.def (gcry_create_nonce, gcry_fast_random_poll) - (gcry_md_debug): New. - - * libgcrypt-config.in: Remove duplicates from --cflags and --libs. - Print a error for option --thread. - - * gcrypt.h.in (gcry_sexp_sprint): Change BUFFER from char* to void*. - (gcry_md_ctl): Change BUFFER from unsigned char* to void*. - (gcry_md_debug): New. - (gcry_cipher_encrypt, gcry_cipher_decrypt): Change buffer args to - void*. - (gcry_randomize): Change BUFFER to void. - (gcry_create_nonce): Ditto. - - * libgcrypt.vers (gcry_md_debug): New. - - * sexp.c (gcry_sexp_sprint): Ditto. - (normalize): Make P unsigned. - (gcry_sexp_nth_data): Cast return value to char*. - (sexp_sscan): Fix sign/unsigned conflicts. - (whitespacep): Change P to char*. - (unquote_string): Change STRING to char*. - (convert_to_hex): Change DEST to char*. - (convert_to_string): Change DEST and P to char*. - (convert_to_token): Chnage DEST to char*. - (gcry_sexp_canon_len): Change DISPHINT to unsigned char*. - - * gcrypt-module.h (gcry_pk_spec): Made ALIASES a const. - (gcry_md_write_t): Changed BUF to a const void*. - -2007-02-12 Werner Koch <wk@g10code.com> - - * gcrypt.h.in: Include stdlib.h for the sake fo the trheading - macros. Suggested by Andreas Metzler. - - * secmem.c (ptr_into_pool_p): New. - (_gcry_private_is_secure): Implement in terms of new function. - (BLOCK_VALID): Removed. Replaced all users by new function. - -2007-01-31 Werner Koch <wk@g10code.com> - - * secmem.c (_gcry_private_is_secure): Fixed severe implementation - flaw. Might be the reason for some of the more obscure bugs. - (MB_WIPE_OUT): Use wipememory2. - -2006-10-23 Werner Koch <wk@g10code.com> - - * gcrypt.h.in (GCRY_THREAD_OPTION_PTHREAD_IMPL): Add some cast for - use by C-doubleplus. In general I don't like this but due to - public demand I give up ;-) - -2006-10-19 Werner Koch <wk@g10code.com> - - * global.c (gcry_control) <GCRYCTL_INIT_SECMEM>: Return an error - if the memory could not be locked. - * secmem.c (not_locked): New. - (_gcry_secmem_get_flags): Return that flag. - * secmem.h (GCRY_SECMEM_FLAG_NOT_LOCKED): New. - -2006-10-05 Werner Koch <wk@g10code.com> - - * module.c (_gcry_module_id_new): Don't assign modules in the range - the range of 1024..4096. - * gcrypt.h (GCRY_MD_USER, GCRY_MD_USER_LAST): New - (GCRY_PK_USER, GCRY_PK_USER_LAST): New. - (GCRY_CIPHER_USER, GCRY_CIPHER_USER_LAST): New. - -2006-10-12 Marcus Brinkmann <marcus@g10code.de> - - * gcrypt.h.in: Replace socklen_t with gcry_socklen_t. - -2006-10-11 Marcus Brinkmann <marcus@g10code.de> - - * gcrypt.h.in: Replace version by @VERSION@. - -2006-10-10 Marcus Brinkmann <marcus@g10code.de> - - * gcrypt.h: Add fallback type for socklen_t. Move to ... - * gcrypt.h.in: ... this file. - * Makefile.am (EXTRA_DIST): Add gcrypt.h.in. - -2006-09-04 Werner Koch <wk@g10code.com> - - * gcrypt.h: Removed some trailing comma in enums. - -2006-08-29 Werner Koch <wk@g10code.com> - - * global.c (gcry_xrealloc): Pass secure flag to outofcore handler. - - * gcrypt.h (GCRY_CIPHER_SEED): New. - -2006-08-21 Werner Koch <wk@g10code.com> - - * gcrypt.h (GCRYCTL_FAKED_RANDOM_P): New. - -2006-07-29 Marcus Brinkmann <marcus@g10code.de> - - * secmem.c (init_pool): Close FD after establishing the mapping. - -2006-07-12 Marcus Brinkmann <marcus@g10code.de> - - * ath.c (ath_mutex_destroy): Microoptimize destruction of unused - statitically initialized mutexes. Suggested by Victor Stinner - <victor.stinner@inl.fr>. - - * gcrypt.h (GCRY_THREAD_OPTION_PTHREAD_IMPL, - (GCRY_THREAD_OPTION_PTH_IMPL): Add missing initializers to - suppress gcc warning. - Submitted by Victor Stinner <victor.stinner@inl.fr>. - -2006-07-04 Marcus Brinkmann <marcus@g10code.de> - - * ath.c: Avoid warning about double defined type byte and other - hacks to let it build for W32 (backported from LIBGCRYPT-1-2-BRANCH). - * ath.h, gcrypt.h, tests/benchmark.c, src/types.h: Likewise. - - * gcrypt.h: Revert last change, and instead: - [_WIN32 || __WIN32__]: Do not include <sys/socket.h>, but - <winsock2.h> and <ws2tcpip.h>. - Suggested by Simon Josefsson <jas@extundo.com>. - - * Makefile.am (install-data-local, uninstall-local, %.lo, - (install-def-file, uninstall-def-file): New targets. - (LTRCCOMPILE, gcrypt_res, gcrypt_res_ldflag, no_undefined, - (export_symbols, gcrypt_deps): New variables. - * versioninfo.rc.in: New file. - * libgcrypt.def: New file from ../w32-dll/libgcrypt.def. - - * gcrypt.h [!HAVE_SYS_SOCKET_H]: Do not include sys/socket.h, but - the appropriate windows socket header. - -2006-06-21 Werner Koch <wk@g10code.com> - - * global.c (gcry_xcalloc, gcry_xcalloc_secure): Made safe against - integer overflow. - - * sexp.c (make_space): Return an error on out of core. - (sexp_sscan): Remove all xmalloc style calls and return proper - error codes on allocation failures. - (gcry_sexp_find_token): Ditto. - (gcry_sexp_nth): - - * sexp.c (gcry_sexp_find_token): Re-indented and removed a cruft - "while(level);" which fortunately had no effect. - -2006-04-28 Werner Koch <wk@g10code.com> - - * gcrypt.h (GCRY_MD_SHA224): Change value from 306 to 11 to match - the use in OpenPGP. There has been no release yet, so we can - safely do it. - -2006-04-22 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_ctl_cmds): New commands: - GCRYCTL_SET_RANDOM_DAEMON_SOCKET, GCRYCTL_USE_RANDOM_DAEMON. - * global.c (gcry_control): Handle new commands, calling - _gcry_set_random_daemon_socket() and _gcry_use_random_daemon(). - -2006-04-18 Werner Koch <wk@g10code.com> - - * gcrypt.h (GCRY_PK_USAGE_CERT, GCRY_PK_USAGE_AUTH) - (GCRY_PK_USAGE_UNKN): New. - -2006-04-01 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_ac_eme_pkcs_v1_5): Removed members: key, handle; - added member: key_size. - - * secmem.c (MB_FLAG_ACTIVE): Write braces around MB_FLAG_ACTIVE - definition. - -2006-03-15 Werner Koch <wk@g10code.com> - - * getrandom.c: New. - -2006-03-14 Werner Koch <wk@g10code.com> - - * gcryptrnd.c: New. - -2006-03-10 Werner Koch <wk@g10code.com> - - * gcrypt.h: Add GCRY_MD_SHA224. - -2005-11-02 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Update comments for functions: gcry_cipher_algo_name, - gcry_pk_algo_name. - -2005-10-31 Moritz Schulte <moritz@g10code.com> - - * global.c: Added documentation. - -2005-10-16 Moritz Schulte <moritz@g10code.com> - - * global.c (global_init): Use gcry_error_t instead of - gcry_err_code_t; use goto instead of if constructs. - - * stdmem.c: Inserted description of the layered memory management - in Libgcrypt. - - * g10lib.h: Removed G10_I18N_H related check; it seems to be a - GnuPG relict (Libgcrypt does not define this symbol anywhere). - (FLAG_MODULE_DISABLED): Don't forget parantheses around shifted - value. - - Removed GCC_ATTR_PURE macro definitions, since gcrypt.h does - already contain such a macro named _GCRY_GCC_ATTR_PURE, which we - can use here as well. - - Likewise for GCC_ATTR_MALLOC and _GCRY_GCC_ATTR_MALLOC. - - * stdmem.h: Use _GCRY_GCC_ATTR_MALLOC instead of GCC_ATTR_MALLOC. - * secmem.h: Likewise. - -2005-10-09 Moritz Schulte <moritz@g10code.com> - - * global.c (gcry_control): Call global_init() after passing thread - cbs to ath. global_init() MUST to be called AFTER passing the cbs - to ath and BEFORE calling library functions, which make use of - ath. This change combines cbs installing with ath initialization - and thus removes the need to call other library initialization - functions inbetween like e.g. gcry_check_version(). - -2005-10-01 Moritz Schulte <moritz@g10code.com> - - * ath.c: Assign copyright to FSF. - * ath.h: Likewise. - -2005-06-25 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (pkgconfigdir, pkgconfig_DATA): Removed variables. - * libgcrypt.pc.in: Removed file - we do not want to support a - second, foreign configuration system. - -2005-06-17 Moritz Schulte <moritz@g10code.com> - - * global.c (gcry_xstrdup): Removed superfluous strcpy call. - -2005-04-22 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (pkgconfigdir, pkgconfig_DATA): New; support for - pkgconfig provided by Albert Chin. - * libgcrypt.pc.in (Cflags): New file. - -2005-04-16 Moritz Schulte <moritz@g10code.com> - - * g10lib.h (_gcry_ac_init): Declare. - * global.c (global_init): Call _gcry_ac_init; don't forget to set - err. - -2005-04-14 Werner Koch <wk@g10code.com> - - * sexp.c (whitespacep): New. - (sexp_sscan): Replaced isdigit and isspace by whitespacep and - digitp. - -2005-04-11 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_md_algos): Added: GCRY_MD_WHIRLPOOL. - * cipher.h (_gcry_digest_spec_whirlpool): Declare. - -2005-03-30 Moritz Schulte <moritz@g10code.com> - - * libgcrypt.vers: Added: gcry_ac_io_init, gry_ac_io_init_va. - - * gcrypt.h (gcry_ac_data_read_cb_t, gcry_ac_data_write_cb_t, - gcry_ac_io_mode_t, gcry_ac_io_type_t, gcry_ac_io_t): New types. - (gcry_ac_io_init_va): Declare function. - (gcry_ac_data_encode, gcry_ac_data_decode, - gcry_ac_data_encrypt_scheme, gcry_ac_data_decrypt_scheme, - gcry_ac_data_sign_scheme, gcry_ac_data_verify_scheme): Use - gcry_ac_io_type_t objects instead of memory strings directly. - -2005-03-03 Moritz Schulte <moritz@g10code.com> - - * libgcrypt.vers: Added: gcry_ac_data_to_sexp() and - gcry_ac_data_from_sexp(). - -2005-02-22 Werner Koch <wk@g10code.com> - - * global.c (_gcry_malloc): Make sure ERRNO is set if we return - NULL. Remove unneeded initialization of M to allow the compiler - to catch errors. - (gcry_realloc): Make sure ERRNO is set if we return NULL> - -2005-02-13 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Declare new functions: gcry_ac_data_encrypt_scheme, - gcry_ac_data_decrypt_scheme, gcry_ac_data_sign_scheme, - gcry_ac_data_verify_scheme, gcry_ac_data_encode, - gcry_ac_data_decode, gcry_ac_data_to_sexp, gcry_ac_data_from_sexp. - New types: gcry_ac_emsa_pkcs_v1_5_t, gcry_ac_ssa_pkcs_v1_5_t, - gcry_md_algo_t. - New enumeration lists: gcry_ac_scheme_t, gcry_ac_em_t. - * libgcrypt.vers: Added new ac functions. - * g10lib.h: Declare function: _gcry_pk_get_elements. - * mpi.h (mpi_get_ui): New macro. - Declare function: _gcry_mpi_get_ui. - -2004-11-09 Werner Koch <wk@g10code.com> - - * gcrypt.h: Removed 3 trailing commas from enums. Noted by Heiko - Stamer. - -2004-09-21 Werner Koch <wk@g10code.de> - - * sexp.c (sexp_sscan): Removed C++ style comments. Noted by Yoann - Vandoorselaere. - -2004-08-23 Moritz Schulte <moritz@g10code.com> - - * global.c: Do not include <assert.h>. - * sexp.c: Likewise. - * module.c: Likewise. - * misc.c: Likewise. - -2004-08-18 Moritz Schulte <moritz@g10code.com> - - * secmem.c (_gcry_secmem_init): Try to lock pool into core not - only when running with root privileges. - -2004-08-16 Werner Koch <wk@g10code.de> - - * secmem.h (_gcry_secmem_set_flags,_gcry_secmem_get_flags): - Removed __pure__. - (GCRY_SECMEM_FLAG_NO_WARNING): Put macro value into parens. - - * secmem.c (_gcry_secmem_init): Defer printing of the warning. - -2004-08-10 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Include <sys/time.h>, thanks to Simon Josefsson. - -2004-05-07 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Added GCRYCTL_FAST_POLL. - (gcry_fast_random_poll): New. - * global.c (gcry_control) <INITIALIZATION_FINISHED>: Do only basic - random subsystem init. - (gcry_control) <FAST_POLL>: New. - -2004-04-22 Marcus Brinkmann <marcus@g10code.de> - - * libgcrypt.m4: Quote first argument to AC_DEFUN. - -2004-04-15 Werner Koch <wk@gnupg.org> - - * secmem.c (_gcry_secmem_malloc_internal): Removed old extra info - error output. - (_gcry_secmem_term): Use wipememory2 here. - - * misc.c (_gcry_burn_stack): Use wipememory to avoid optimizations. - - * string.c: Removed. Was never used. - * global.c (gcry_strdup): Replaced by the version from string.c - (gcry_xstrdup): Rewritten. - * gcrypt.h: Removed duplicate prototype for gcry_strdup. - -2004-03-29 Werner Koch <wk@gnupg.org> - - * secmem.c (_gcry_secmem_realloc): Fixed double unlock; bug - manifested itself due to the more rigorous checking in the changed - ath.h - - * libgcrypt-config.in (Options): Ignore the obsolete --threads - option for now. - -2004-03-17 Marcus Brinkmann <marcus@g10code.de> - - * libgcrypt-config.in (includedir, libdir): Quote'em. Use - $gpg_error_cflags and $gpg_error_libs. Fix construction of - $includes. - -2004-03-14 Marcus Brinkmann <marcus@g10code.de> - - * libgcrypt-config.in (includedir, libdir): New variables. For - --cflags, don't test $cflags. Also check against /include for the - GNU/Hurd. Don't overwrite but extend $cflags_final. Likewise for - --libs. - -2004-03-10 Marcus Brinkmann <marcus@g10code.de> - - * Makefile.am (ltlib_libgcrypt_pthread, ltlib_libgcrypt_pth): Removed. - (lib_LTLIBRARIES): Remove those variables from here. - (libgcrypt_pthread_la_SOURCES, libgcrypt_pthread_la_LDFLAGS, - (libgcrypt_pthread_la_DEPENDENCIES, libgcrypt_pthread_la_LIBADD, - (libgcrypt_pth_la_SOURCES, libgcrypt_pth_la_LDFLAGS, - (libgcrypt_pth_la_DEPENDENCIES, libgcrypt_pth_la_LIBADD, - (noinst_LTLIBRARIES): Removed. - (libgcrypt_real_la_SOURCES): Merge with ... - (libgcrypt_la_SOURCES): ... likewise. - (libgcrypt_real_la_DEPENDENCIES): Merge with ... - (libgcrypt_la_DEPENDENCIES): ... this. - (libgcrypt_real_la_LIBADD): Merge with ... - (libgcrypt_la_LIBADD): ... this. - * libgcrypt-config.in (libs_pthread, libs_pth, cflags_pth) - (cflags_pthread, thread_module, thread_modules): Removed. - (Options): Remove --thread option from help output. If the option - is specified, output an error and exit. - For --cflags and --libs option, remove pth and pthread from output. - * gcrypt.h: Include <sys/types.h> and <sys/socket.h>. - (enum gcry_ctl_cmds): Add GCRYCTL_SET_THREAD_CBS. - (gcry_thread_cbs): New struct. - * global.c (gcry_control): Implement GCRYCTL_SET_THREAD_CBS. - (global_init): Don't call ath_init here. - * ath.h: Rewritten. - * ath.c: Rewritten. - -2004-03-06 Werner Koch <wk@gnupg.org> - - * libgcrypt-config.in: s/--soname-number/--api-version/ - * libgcrypt.m4: Changed test for API version. - -2004-03-05 Werner Koch <wk@gnupg.org> - - * libgcrypt.m4: Optionally check the SONAME number. - - * libgcrypt-config.in: Add option --soname-number - -2004-03-01 Marcus Brinkmann <marcus@g10code.de> - - * Makefile.am (libgcrypt_la_SOURCES): Add ath.c. - * ath.c (ath_init): Add missing function. - - * Makefile.am (ath_pth_src): Removed. - (ath_pthread_src): Removed. - (libgcrypt_la_SOURCES): Remove ath-compat, $(ath_pth_src) and - $(ath_pthread_src). - * ath-compat.c, ath-pth-compat.c, ath-pthread-compat.c: Files - removed. - -2004-02-20 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRY_PRIME_CHECK_AT_GOT_PRIME) - (GCRY_PRIME_CHECK_AT_FINISH), - (GCRY_PRIME_CHECK_AT_MAYBE_PRIME): New. - -2004-02-18 Werner Koch <wk@gnupg.org> - - * libgcrypt-config.in: Ignore setting of --prefix. - -2004-02-13 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Added GCRY_CIPHER_RFC2268_128, alsthough not yet - supported. - -2004-02-06 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Added GCRY_CIPHER_RFC2268_40. - -2004-02-03 Werner Koch <wk@gnupg.org> - - * secmem.c (_gcry_secmem_init): Do not print the "not locked into - core warning" if the NO_WARNING flag has been set. - - * sexp.c (sexp_sscan): Allocate result in secure memory if BUFFER - is in secure memory. Switch to secure memory for the a secure %b - format item. Extra paranoid wipe on error. - (gcry_sexp_release): Added paranoid wiping for securely allocated - S-expressions. - -2004-01-25 Moritz Schulte <mo@g10code.com> - - * ath.h: Include <config.h>. - -2004-01-12 Moritz Schulte <mo@g10code.com> - - * gcrypt.h: Adjusted declarations of: gcry_ac_data_set, - gcry_ac_data_get_name, gcry_ac_data_get_index, - gcry_ac_key_pair_generate, gcry_ac_key_test, - gcry_ac_key_get_nbits, gcry_ac_key_get_grip. - - * gcrypt.h (GCRY_AC_FLAG_DATA_NO_BLINDING): Removed symbol. - (GCRY_AC_FLAG_DEALLOC, GCRY_AC_FLAG_COPY) - (GCRY_AC_FLAG_NO_BLINDING): New symbols. - - * global.c (gcry_strdup): Removed function. - * string.c: New file. - * Makefile.am (libgcrypt_real_la_SOURCES): Added: string.c. - * string.c (gcry_strdup): New function. - * gcrypt.h (gcry_strdup): Declare. - -2003-12-19 Werner Koch <wk@gnupg.org> - - * g10lib.h (wipememory, wipememory2): New; taken from gnupg. - -2003-11-14 Werner Koch <wk@gnupg.org> - - * global.c (gcry_strdup): Don't copy the string after a malloc - error. - -2003-11-11 Werner Koch <wk@gnupg.org> - - * sexp.c (sexp_sscan): Implemented "%b" format specifier. - -2003-11-11 Moritz Schulte <mo@g10code.com> - - * libgcrypt.m4: Do not set prefix when calling libgcrypt-config. - Thanks to Nikos Mavroyanopoulos. - -2003-11-08 Moritz Schulte <mo@g10code.com> - - * cipher.h (small_prime_numbers): Removed declaration. - (PUBKEY_FLAG_NO_BLINDING): Put braces around shift. - -2003-11-04 Werner Koch <wk@gnupg.org> - - * cipher.h (_gcry_sha1_has_buffer): New. - - * gcrypt.h (gcry_create_nonce): New. - -2003-10-31 Werner Koch <wk@gnupg.org> - - * 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. - -2003-10-27 Werner Koch <wk@gnupg.org> - - * ath.h (ATH_MUTEX_INITIALIZER): Removed spurious semicolon. - -2003-10-27 Moritz Schulte <mo@g10code.com> - - * libgcrypt-config.in: Include libs/cflags of libgpg-error. - - * sexp.c (sexp_sscan): Cleaned up, deallocate scanned sexp on - error. - - * module.c (MODULE_ID_MIN): New symbol, use it. - -2003-10-27 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_pk_testkey): Doc fix. - -2003-09-29 Moritz Schulte <mo@g10code.com> - - * libgcrypt-config.in: Fix --algorithms option. - -2003-10-23 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_err_code): Use GPG_ERR_INLINE instead of - __inline__. - - * secmem.c (lock_pool): Don't print the warning for certain - systems, handle ENOMEM. - -2003-10-21 Werner Koch <wk@gnupg.org> - - * secmem.c (_gcry_secmem_dump_stats): Fixed format sepcifier for a - size_t. Reported by Stephane Corthesy. - -2003-10-10 Werner Koch <wk@gnupg.org> - - * global.c (_gcry_malloc): Handle the no_secure_memory option. - - * gcrypt.h (gcry_prime_group_generator): New. - (gcry_prime_release_factors): New. - -2003-10-07 Werner Koch <wk@gnupg.org> - - * sexp.c (sexp_sscan): Check that parenthesis are matching. - -2003-09-28 Moritz Schulte <mo@g10code.com> - - * g10lib.h: Declare: _gcry_malloc. - (GCRY_ALLOC_FLAG_SECURE): New symbol. - - * global.c (_gcry_malloc): New function... - (gcry_malloc): ... use it. - (gcry_malloc_secure): Likewise. - - * ath.c: Change License to LGPL. - * ath-pthread-compat.c: Likewise. - * ath-pthread.c: Likewise. - * ath-pth-compat.c: Likewise. - * ath-pth.c: Likewise. - * ath.h: Likewise. - * ath-compat.c: Likewise. - - * secmem.c (_gcry_secmem_realloc): Do not forget to release secmem - lock. Thanks to low halo for triggering this bug. - -2003-09-04 Werner Koch <wk@gnupg.org> - - * gcrypt.h (_GCRY_ERR_SOURCE_DEFAULT): Removed cruft. - (gcry_prime_check_func_t): Renamed arg for clarity. - -2003-09-02 Moritz Schulte <mo@g10code.com> - - * gcrypt.h (GCRY_PRIME_FLAG_SPECIAL_FACTOR): New symbol. - -2003-09-01 Moritz Schulte <mo@g10code.com> - - * gcrypt.h (gcry_random_level_t): New type. - (gcry_prime_check_func_t): Likewise. - (GCRY_PRIME_FLAG_SECRET): New symbol. - (gcry_prime_generate, gcry_prime_check): Declare functions. - -2003-08-28 Werner Koch <wk@gnupg.org> - - * Makefile.am (libgcrypt_pth_la_LDFLAGS): Removed PTH_CFLAGS cruft. - -2003-08-27 Moritz Schulte <mo@g10code.com> - - * global.c (gcry_control): Remove call to ath_deinit. - - * Makefile.am (libgcrypt_real_la_DEPENDENCIES): Fixed. - (libgcrypt_real_la_LIBADD): Fixed. - Removed unecessary variables. - - * libgcrypt-config.in: Adjusted script for new thread handling. - - * Makefile.am: New version, based on GPGMEs Makefile.am. - - * ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c, - ath-pthread.c, ath-pthread-compat.c: New files, merged from GPGME. - * ath.c, ath.h, ath-pthread.c, ath-pth.c: Removed files. - -2003-08-08 Moritz Schulte <moritz@g10code.com> - - * global.c (gcry_realloc): Remove FIXME about `clearing out - realloced memory', since _gcry_secmem_realloc takes care of - overwriting old memory. - -2003-08-07 Werner Koch <wk@gnupg.org> - - * module.c (_gcry_module_release): Don't act if module is NULL. - -2003-07-30 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (enum gcry_ac_id): Added: GCRY_AC_ELG_E. - Reverted change: use gcry_md_flags enumeration list instead of - defines. - -2003-07-29 Werner Koch <wk@gnupg.org> - - * global.c (gcry_control): Add GCRYCTL_SET_RANDOM_SEED_FILE and - GCRYCTL_UPDATE_RANDOM_SEED_FILE. - * gcrypt.h: Ditto. Renamed index to idx, so avoid warning - related to the old index function. - -2003-07-28 Moritz Schulte <moritz@g10code.com> - - * global.c (gcry_err_code_from_errno, gcry_err_code_to_errno) - (gcry_err_make_from_errno, gcry_error_from_errno): New functions. - - * gcrypt.h: Declared: gcry_err_code_from_errno, - gcry_err_code_to_errno, gcry_err_make_from_errno, - gcry_error_from_errno. - - * Makefile.am (include_HEADERS): Added: gcrypt-module.h. - - * gcrypt.h: Include <gcrypt-module.h>. - - * gcrypt-module.h: New file. - -2003-07-27 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_mpi_scan, gcry_mpi_print): API change. - (gcry_mpi_dump): New. - -2003-07-21 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Declared: gcry_ac_key_data_get. - (gcry_pk_spec): Renamed member `sexp_names' into `aliases'. - -2003-07-20 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_md_oid_spec_t): New type. - (gcry_md_spec): New member: oids. - -2003-07-19 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_cipher_oid_spec_t): New type. - (gcry_cipher_spec): New member: oids; - -2003-07-18 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_mpi_set_opaque): Add a warning comment. - -2003-07-15 Moritz Schulte <moritz@g10code.com> - - * secmem.c (compress_pool): Remove function, since unused blocks - are automatically concatenad. - - * gcrypt.h: Bumped version number up to 1.1.42-cvs. - -2003-07-14 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (gcry_cipher_spec): New member: aliases. - - * Makefile.am (noinst_PROGRAMS, testapi_SOURCES, testapai_LDADD, - benchmark_SOURCES, benchmark_LDADD): Removed. - - * benchmark.c, testapi.c: Removed files. - - * mpi.h: Removed disabled typedef. - * g10lib.h: Likewise. - - * benchmark.c, g10lib.h, gcrypt.h, global.c, module.c, sexp.c: - Used gcry_err* wrappers for libgpg-error symbols. - -2003-07-12 Moritz Schulte <moritz@g10code.com> - - * global.c: Likewise. - - * gcrypt.h: New type: gcry_error_t, gcry_err_code_t and - gcry_err_source_t. - (gcry_err_make, gcry_error, gcry_err_code, gcry_err_source): New - functions. - - * global.c (gcry_strerror): New function. - (gcry_strsource): New function. - - * gcrypt.h: New symbol: GCRY_CIPHER_TWOFISH128. - -2003-07-09 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (enum gcry_md_flags): Removed, used define instead, - since that is more common than an enumeration list when it comes - to flags that can be bitwise ORed. - -2003-07-08 Moritz Schulte <moritz@g10code.com> - - * global.c: Use new types for handlers. - - * gcrypt.h: Declare: gcry_ac_data_copy. - -2003-07-07 Moritz Schulte <moritz@g10code.com> - - * sexp.c (gcry_sexp_build_array): Use dummy argument pointer. - Thanks to Simon Josefsson <jas@extunde.com>. - - * gcrypt.h: Declare: gcry_cipher_list, gcry_pk_list, gcry_md_list. - -2003-07-05 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Declare: gcry_cipher_register, gcry_cipher_unregister, - gcry_md_register, gcry_md_unregister, gcry_pk_register, - gcry_pk_unregister. - (gcry_cipher_spec): Removed member: algorithm. - (gcry_pk_spec): Likewise. - (gcry_md_spec): Likewise. - Adjusted declarations: gcry_cipher_register, gcry_pk_register, - gcry_md_register. - - * module.c: Replaced all occurences of `id' with `mod_id', since - `id' is a keyword in obj-c. - - * gcrypt.h (gcry_cipher_spec): Renamed member `id' to `algorithm'. - (gcry_pk_spec): Likewise. - (gcry_md_spec): Likewise. - - * cipher.h: Removed types: gcry_pubkey_generate_t, - gcry_pubkey_check_secret_key_t, gcry_pubkey_encrypt_t, - gcry_pubkey_decrypt_t, gcry_pubkey_sign_t, gcry_pubkey_verify_t, - gcry_pubkey_get_nbits_t, gcry_pk_spec_t, gcry_digest_init_t, - gcry_digest_write_t, gcry_digest_final_t, gcry_digest_read_t, - gcry_digest_spec_t, gcry_cipher_setkey_t, gcry_cipher_encrypt_t, - gcry_cipher_decrypt_t, gcry_cipher_stencrypt_t, - gcry_cipher_stdecrypt_t, gcry_cipher_spec_t. - - * gcrypt.h: New types: gcry_pk_generate_t, - gcry_pk_check_secret_key_t, gcry_pk_encrypt_t, gcry_pk_decrypt_t, - gcry_pk_sign_t, gcry_pk_verify_t, gcry_pk_get_nbits_t, - gcry_pk_spec_t, gcry_md_init_t, gcry_md_write_t, gcry_md_final_t, - gcry_md_read_t, gcry_md_spec_t, gcry_cipher_setkey_t, - gcry_cipher_encrypt_t, gcry_cipher_decrypt_t, - gcry_cipher_stencrypt_t, gcry_cipher_stdecrypt_t, - gcry_cipher_spec_t, gcry_module_t. - -2003-07-04 Moritz Schulte <moritz@g10code.com> - - * module.c (_gcry_module_list): New function. - -2003-07-02 Moritz Schulte <moritz@g10code.com> - - * module.c (_gcry_module_lookup): Fixed typo. - - * gcrypt.h: Added all definitions and declarations necessary for - the new ac interface. - -2003-06-30 Moritz Schulte <moritz@g10code.com> - - * g10lib.h: Added declarations: _gcry_pk_module_lookup, - _gcry_pk_module_release. - -2003-06-18 Werner Koch <wk@gnupg.org> - - * benchmark.c (cipher_bench): Adjusted for new API of get_blklen - and get_keylen. - - * gcrypt.h (gcry_cipher_get_algo_blklen) - (gcry_cipher_get_algo_keylen): Replaced macro by funcion. - -2003-06-18 Moritz Schulte <moritz@g10code.com> - - * cipher.h: Renamed types GcryDigestSpec, GcryCipherSpec and - GcryPubkeySpec into: gcry_digest_spec_t, gcry_cipher_spec_t and - gcry_pubkey_spec_t. - (gcry_pubkey_spec): Defined member `id' as unsigned. - (gcry_digest_spec): Likewise. - (gcry_cipher_spec): Likewise. - - * module.c (_gcry_module_id_new): New function. - (_gcry_module_add): Generate a new ID via _gcry_module_id_new in - case `id' is zero. - - * g10lib.h, module.c: Replace old type GcryModule with newer one: - gcry_module_t. - - * module.c (_gcry_module_add): Added argument `id', use it. - - * g10lib.h: Added declaration: _gcry_module_lookup_id. - (_gcry_module_add): Added argument `id'. - - * module.c (_gcry_module_lookup_id): New function. - - * g10lib.h (struct gcry_module): New member: id. - - * gcrypt.h: New type: gcry_handler_progress_t, - gcry_handler_alloc_t, gcry_haandler_secure_check_t, - gcry_handler_realloc_t, gcry_handler_free_t, - gcry_handler_no_mem_t, gcry_handler_error_t, gcry_handler_log_t. - Use new types. - - * cipher.h: Include <gcrypt.h>. - New types: gcry_pk_generate_t, gcry_pk_check_secret_key_t, - gcry_pk_encrypt_t, gcry_pk_decrypt_t, gcry_pk_sign_t, - gcry_pk_verify_t, gcry_pk_get_nbits_t, gcry_md_init_t, - gcry_md_write_t, gcry_md_final_t, gcry_md_read_t, - gcry_cipher_setkey_t, gcry_cipher_encrypt_t, - gcry_cipher_decrypt_t, gcry_cipher_stencrypt_t, - gcry_cipher_stdecrypt_t. - Use new types. - -2003-06-17 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@. - -2003-06-16 Moritz Schulte <moritz@g10code.com> - - * g10lib.h: Replace last occurences of old type names with newer - names (i.e. replace MPI with gcry_mpi_t). - * mpi.h: Likewise. - * sexp.c: Likewise. - -2003-06-15 Moritz Schulte <moritz@g10code.com> - - * testapi.c (test_genkey): Use gpg_strerror instead of - gcry_strerror. - - * 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-06-11 Moritz Schulte <moritz@g10code.com> - - * global.c (global_init): Call: _gcry_cipher_init, _gcry_md_init, - _gcry_pk_init. - - * g10lib.h: Declare: _gcry_cipher_init, _gcry_md_init, - _gcry_pk_init. - - * global.c (gcry_strerror): Remove compatibility code. - - * Makefile.am: Remove support libgpg-error special handling. - (AM_CPPFLAGS): Add @GPG_ERROR_CFLAGS@ - - * gcrypt.h: Likewise. - -2003-06-13 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_md_get_algo): Reverted to old API. This is a - convenience function anyway and error checking is not approriate. - (gcry_md_is_enabled): New. - (gcry_md_is_secure): Replaced macro by function and reverted to old - API. - -2003-06-11 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRYERR): Define _GCRY_ERR_SOURCE_DEFAULT instead of - GPG_ERR_SOURCE_DEFAULT, so that libgpg-error still works despite - the use of the old gcrypt error codes. - (gcry_md_copy): Swapped arguments. - -2003-06-09 Moritz Schulte <moritz@g10code.com> - - * Makefile.am: Support for libgpg-error. - -2003-06-08 Moritz Schulte <moritz@g10code.com> - - * sexp.c (gcry_sexp_create): Expect sane error values from - gcry_sexp_canon_len instead of the `historical' values. - -2003-06-07 Moritz Schulte <moritz@g10code.com> - - * ath.c, ath.c, ath-pth.c, ath-pthread.c, benchmark.c, cipher.h, - g10lib.h, gcrypt.h, global.c, misc.c, missing-string.c, module.c, - mpi.h, secmem.c, secmem.h, sexp.c, stdmem.c, stdmem.h, testapi.c, - types.h: Edited 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. Replaced any occurence of - the now deprecated type names with the new ones. - - * gcrypt.h: Re-organized checking for gcc features; New macro: - _GCRY_GCC_ATTR_DEPRECATED. - Include copy of libgpg-error's gpg-error.h in order to make it - easy to build libgcrypt without needing libgpg-error.h. - - (GCRY_MPI, GcryMPI, GCRY_SEXP, GcrySexp, GCRY_CIPHER_HD, - GcryCipherHd, GCRY_MD_HD, GcryMDHd): Declared deprecated. - (gcry_mpi_t, gcry_sexp_t, gcry_cipher_hd_t, gcry_md_hd_t): New - types. - -2003-06-04 Moritz Schulte <moritz@g10code.com> - - * sexp.c (sexp_sscan): New argument: arg_list, adjusted all - callers. - (ARG_NEXT): New macro. - (sexp_sscan): Use ARG_NEXT for receiving format string arguments. - (gcry_sexp_build_array): New function. - -2003-06-02 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Added some comments describing the gcry_sexp_* - functions. - Include <gpg-error.h> instead of <gpg/error.h>. - -2003-06-01 Moritz Schulte <moritz@g10code.com> - - * sexp.c (OLDPARSECODE): Removed macro... - (gcry_sexp_canon_len): ... and do not use it. - - * gcrypt.h (gcry_errno): Removed declaration. - - * g10lib.h (string_to_pubkey_algo, pubkey_algo_to_string, - pubkey_nbits): Removed declarations for non-existing functions. - -2003-05-31 Moritz Schulte <moritz@g10code.com> - - * cipher.h (is_RSA, is_ELGAMAL): Removed macros. - - * g10lib.h (set_lasterr): Removed macro. - (_gcry_set_lasterr): Removed declaration. - - * gcrypt.h: Changed declarations for: gcry_pk_algo_info, - gcry_md_open, gcry_md_copy, gcry_md_algo_info, gcry_md_info, - gcry_md_get_algo, gcry_random_add_bytes. - - (gcry_md_is_secure): Adjust macro for new API. - -2003-05-29 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Changed declarations for: gcry_cipher_open, - gcry_cipher_info, gcry_cipher_algo_info. - (gcry_cipher_get_algo_keylen): Adjuster for new - gcry_cipher_algo_info interface. - (gcry_cipher_get_algo_blklen): Likewise. - - * global.c (gcry_errno): Removed function. - (gcry_strerror): Do not use gcry_errno. - (_gcry_set_lasterr): Removed function. - (last_ec): Removed variable. - -2003-05-27 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (enum gcry_cipher_algos): Make Serpent IDs do not - conflict with OpenPGP. Reported by Timo Schulz. - - * global.c (gcry_control): Fixed name of enum list. - -2003-05-25 Moritz Schulte <moritz@g10code.com> - - * cipher.h (gcry_cipher_spec): Adjust return type of `setkey' for - libgpg-error. - (gcry_pubkey_spec): Adjust return type of `generate', - `check_secret_key', `encrypt', `decrypt', `sign' and `verify' for - libgpg-error. - - * sexp.c (gcry_sexp_canon_len): Adjusted for libgpg-error. - (gcry_sexp_create): Likewise. - (gcry_sexp_new): Likewise. - (sexp_sscan): Likewise. - (gcry_sexp_build): Likewise. - (gcry_sexp_sscan): Likewise. - - * module.c (_gcry_module_add): Likewise. - - * global.c (last_ec): Change type to gpg_error_t. - (gcry_control): Adjust for libgpg-error. - (gcry_errno): Likewise. - (gcry_strerror): Likewise. - (_gcry_set_lasterr): Likewise. - (gcry_xmalloc): Likewise. - (gcry_xrealloc): Likewise. - -2003-05-22 Moritz Schulte <moritz@g10code.com> - - * types.h: Merged code from GnuPG regarding U64_C. - - * missing-string.c (strsep): Removed function. - - * g10lib.h: Removed declarations: strsep, strlwr. - - * secmem.c (secmem_lock): New variable. - (SECMEM_LOCK, SECMEM_UNLOCK): New macros. - (_gcry_secmem_set_flags): Use SECMEM_LOCK and SECMEM_UNLOCK. - (_gcry_secmem_get_flags): Likewise. - (_gcry_secmem_init): Likewie. - (_gcry_secmem_malloc): Likewise. - (_gcry_secmem_free): Likewise. - (_gcry_secmem_malloc): Renamed to ... - (_gcry_secmem_malloc_internal): ... this. - (_gcry_secmem_malloc): New function, use SECMEM_LOCK, - SECMEM_UNLOCK, call _gcry_secmem_malloc_internal. - (_gcry_secmem_free): Renamed to ... - (_gcry_secmem_free_internal): ... this. - (_gcry_secmem_free): New function, use SECMEM_LOCK, SECMEM_UNLOCK, - call _gcry_secmem_free_internal. - (_gcry_secmem_realloc): Use SECMEM_LOCK, SECMEM_UNLOCK, call - _gcry_secmem_malloc_internal and _gcry_secmem_free_internal. - (_gcry_private_is_secure): Use SECMEM_LOCK, SECMEM_UNLOCK. - (_gcry_secmem_dump_stats): Likewise. - (_gcry_secmem_malloc_internal): Removed unused variable: - compressed. - Include "ath.h". - -2003-05-21 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h (GCRY_CIPHER_SERPENT128, GCRY_CIPHER_SERPENT192, - GCRY_CIPHER_SERPENT256): New symbols. - -2003-05-19 Moritz Schulte <moritz@g10code.com> - - * gcrypt.h: Reversed changes from 2003-03-03 since they would have - been an unnecessary ABI break. - -2003-05-13 Moritz Schulte <moritz@g10code.com> - - * secmem.c (stats_update): New function. - (BLOCK_HEAD_SIZE): New symbol. - (MB_FLAG_ACTIVE): New symbol. - (ADDR_TO_BLOCK, BLOCK_VALID): New macros. - (mb_get_next): New function. - (mb_get_prev): New function. - (mb_merge): New function. - (mb_get_new): New function. - (unused_blocks): Removed variable. - (init_pool): Initialize new memory pool. - (_gcry_secmem_malloc): Use new heap management code. - (_gcry_secmem_free): Likewise. - (_gcry_secmem_realloc): Likewise. - Renamed type MEMBLOCK to memblock_t. - -2003-04-27 Moritz Schulte <moritz@g10code.com> - - * cipher.h (gcry_pubkey_spec): New member: sexp_names. - -2003-04-23 Moritz Schulte <moritz@g10code.com> - - * cipher.h (gcry_pubkey_spec): Removed members: npkey, nskey, - nenc, nsig. - (gcry_pubkey_spec): Added members: elements_pkey, elements_skey, - elements_enc, elements_sig, elements_grip. - -2003-04-17 Moritz Schulte <moritz@g10code.com> - - * g10lib.h (GcryModule): New typedef. - - * gcrypt.h (gcry_cipher_register, gcry_cipher_unregister, - gcry_digest_register, gcry_digest_unregister, - gcry_pubkey_register, gcry_pubkey_unregister): Function - declarations removed - for now. - - * gcrypt.h (GcryModule): Declaration removed. - * gcrypt.h (GcryPubkeySpec, GcryDigestSpec, GcryCipherSpec): - Types Moved... - * cipher.h: ... here. - -2003-04-17 Moritz Schulte <moritz@g10code.com> - - * cipher.h: Declare digest_spec_sha512 and digest_spec_384. - -2003-04-16 Moritz Schulte <moritz@g10code.com> - - * module.c (_gcry_module_use): New function. - * g10lib.h (_gcry_module_use): Declare function. - - * libgcrypt-config.in: Support for --algorithms switch, which - prints the algorithms included in the built libgcrypt. - - * global.c (gcry_set_progress_handler): Register progress - functions depending on the enabled algorithms. - -2003-04-07 Moritz Schulte <moritz@g10code.com> - - * Makefile.am (libgcrypt_la_SOURCES): Added module.c - - * module.c: New file. - (_gcry_module_add): New function. - (_gcry_module_drop): New function. - (_gcry_module_lookup): New function. - (_gcry_module_release): New function. - - * g10lib.h (GcryModule): New types. - (FLAG_MODULE_DISABLED): New symbol. - Added declarations for _gcry_module_add, _gcry_module_release and - _gcry_module_lookup. - - * gcrypt.h: New types: GcryPubkeySpec, GcryDigestSpec, - GcryCipherSpec. - Added declarations for: gcry_cipher_register, - gcry_cipher_unregister, gcry_digest_register, - gcry_digest_unregister, gcry_pubkey_register and - gcry_pubkey_unregister. - - * cipher.h: Removed symbols: CIPHER_ALGO_NONE, CIPHER_ALGO_IDEA, - CIPHER_ALGO_3DES, CIPHER_ALGO_CAST5, CIPHER_ALGO_BLOWFISH, - CIPHER_ALGO_SAFER_SK128, CIPHER_ALGO_DES_SK, CIPHER_ALGO_TWOFISH, - CIPHER_ALGO_TWOFISH_OLD, CIPHER_ALGO_DUMMY, PUBKEY_USAGE_SIG, - PUBKEY_USAGE_ENC, DIGEST_ALGO_MD5, DIGEST_ALGO_SHA1, - DIGEST_ALGO_RMD160, DIGEST_ALGO_TIGER, PUBKEY_ALGO_RSA, - PUBKEY_ALGO_RSA_E, PUBKEY_ALGO_RSA_S, PUBKEY_ALGO_DSA, - PUBKEY_ALGO_ELGAMAL, PUBKEY_ALGO_ELGAMAL_E. - -2003-04-02 Moritz Schulte <moritz@g10code.com> - - * benchmark.c (md_bench): Fix error message. - -2003-03-31 Moritz Schulte <moritz@g10code.com> - - * benchmark.c (cipher_bench): Added CTR mode. - -2003-03-30 Simon Josefsson <jas@extundo.com> - - * gcrypt.h (enum gcry_control_cmds): Add GCRY_SET_CTR. - (enum gcry_cipher_modes): Add GCRY_CIPHER_MODE_CTR. - (gcry_cipher_setctr): New macro to set counter. - -2003-03-19 Moritz Schulte <moritz@g10code.com> - - * cipher.h (PUBKEY_FLAG_NO_BLINDING): New symbol. - -2003-03-22 Simon Josefsson <jas@extundo.com> - - * gcrypt.h: Add GCRYCTL_SET_CBC_MAC and GCRY_CIPHER_CBC_MAC. - -2003-03-19 Werner Koch <wk@gnupg.org> - - * g10lib.h: Adjusted primegen.c prototypes. - -2003-03-12 Werner Koch <wk@gnupg.org> - - * sexp.c (sexp_sscan): Initialize NM. Thanks to Ian Peters for - valgrinding this. - -2003-03-06 Moritz Schulte <mo@g10code.com> - - * 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-03 Moritz Schulte <moritz@g10code.com> - - * 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-02-28 Moritz Schulte <moritz@g10code.com> - - * 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(). - -2003-01-24 Werner Koch <wk@gnupg.org> - - * global.c (gcry_set_progress_handler): Register a random progress - handler. - -2003-01-23 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRY_ENABLE_QUICK_RANDOM): New. - * global.c (gcry_control): Make use of it. - -2003-01-21 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_random_add_bytes): Add QUALITY argument. - -2003-01-21 Timo Schulz <twoaday@freakmail.de> - - * gcrypt.h (gcry_random_add_bytes): New. - -2003-01-20 Simon Josefsson <jas@extundo.com> - - * gcrypt.h (gcry_md_algos): Add GCRY_MD_CRC32, - GCRY_MD_CRC32_RFC1510, GCRY_MD_CRC24_RFC2440. - -2003-01-16 Werner Koch <wk@gnupg.org> - - * gcrypt.h (gcry_md_write): Changed type of 2nd argument to void*. - (gcry_md_hash_buffer): Changed type of both buffers to void*. - (gcry_md_setkey): Changed type of 2nd argument to void*. - (gcry_md_get_asnoid): New. - -2003-01-15 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_length): Fixed. This was seriously broken. - -2003-01-14 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRYERR_INV_FLAG), global.c (gcry_strerror): New. - -2003-01-02 Werner Koch <wk@gnupg.org> - - * libgcrypt.vers: Temporary export _gcry_generate_elg_prime for - use by GNUTLS. - -2002-12-21 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Make use of gcc's pure and malloc attributes - (gcry_md_putc): Use a helper variable to avoid multiple - evaluation of H. - * g10lib.h, stdmem.h, secmem.h: Use gcc attributes pure and malloc. - - * stdmem.c (use_m_guard): Don't default to yes. - -2002-12-19 Werner Koch <wk@gnupg.org> - - * global.c (global_init): The meat was never run due to a faulty - check. Thanks to Nikos for pointing this out. - - * global.c (gcry_control): Return 1 and not -1 for the - initialization tests. - - * libgcrypt.vers: New. - * Makefile.am: Use this instead of the build symbol file. - - * global.c (gcry_control) <initialization>: Call the random module - initializer to make sure that the pool lock flag has been - initialized. - -2002-12-09 Werner Koch <wk@gnupg.org> - - * global.c (gcry_calloc,gcry_calloc_secure): Check for overflow. - Noted by Florian Weimer. - -2002-11-10 Simon Josefsson <jas@extundo.com> - - * gcrypt.h (gcry_ctl_cmds): New GCRYCTL_SET_CBC_CTS control flag. - (gcry_cipher_flags): New GCRY_CIPHER_CBC_CTS gcry_cipher_open() flag. - (gcry_cipher_cts): New macro for toggling CTS. - -2002-11-10 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRY_MD_MD4): New. We use a non OpenPGP value here. - -2002-09-20 Werner Koch <wk@gnupg.org> - - * ath.c: Include sys.time.h if sys/select.h does not exist. - (ath_select, ath_waitpid): Shortcut for Windows. - * ath.h: Include some Windows headers. By Timo. - -2002-09-18 Werner Koch <wk@gnupg.org> - - * ath.h: Prefix ath_deinit. - -2002-09-17 Werner Koch <wk@gnupg.org> - - * benchmark.c: New. - (mpi_bench, do_powm): Add a a simple test for RSA. - - * global.c (global_init): New. Use it instead of the setting - any_init_done. Initialize the ATH system. - (gcry_check_version): Hook global_init in. This is the suggested - way to initialize the library. - (_gcry_no_internal_locking): Removed. We simply call a ath_deinit - and leave it to ATH to disbale the locking. - - * ath.c, ath.h, ath-pth.c, ath-pthread.c: New. Taken from GPGME. - * mutex.h: Removed. - * Makefile.am (ath_components): New. - -2002-09-16 Werner Koch <wk@gnupg.org> - - * secmem.c (_gcry_secmem_dump_stats): Replaced fprintf by log_*. - -2002-08-23 Werner Koch <wk@gnupg.org> - - * missing-string.c: Removed unneeded strlwr. - - * libgcrypt.m4: Made much more simple. - * libgcrypt-config.in: Made --prefix work for --libs. - -2002-08-14 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Add GCRY_CIPGER_DES. Included string.h for size_t. - Suggested by Simon Josefsson. - -2002-07-25 Werner Koch <wk@gnupg.org> - - * cipher.h: Added prototypes for progress functions. - * global.c: Include cipher.h for those prototypes. - - * stdmem.c (_gcry_private_realloc): Replaced void* by char * for - pointer arithmetic reasons. Noted by Stephan Austermuehle. - -2002-06-24 Werner Koch <wk@gnupg.org> - - * missing-string.c: Include ctype.h. - - * gcrypt.h (gcry_mpi_invm, gcry_mpi_div, gcry_mpi_mod) - (gcry_mpi_swap): New. - -2002-06-18 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Added a bunch of brief function descriptions. - -2002-05-21 Werner Koch <wk@gnupg.org> - - * misc.c (_gcry_log_printf): Don't initialize a va_list. Noted by - Jeff Johnson. - - * global.c (gcry_set_progress_handler): New. - - * gcrypt.h: Replaced the typedef for byte. - -2002-05-16 Werner Koch <wk@gnupg.org> - - * missing-string.c: New. - - * gcrypt.h: Add new error codes GCRYERR_SEXP_ and typedefs - GcryMPI, GcrySexp, GcryCipherHd, GcryMDHd as aliases for the old - ones using an underscore. - - * global.c (gcry_strerror): Add strings fro the new error codes. - * sexp.c (gcry_sexp_canon_len): Use a macro to convert from new to - old error codes. - (gcry_sexp_create,gcry_sexp_new): New. - -2002-05-15 Werner Koch <wk@gnupg.org> - - * mutex.h (DEFINE_LOCAL_MUTEX): Macro to define a mutex and - initialize it so that we can detect an unitialized mutex and don't - read from stdin. - -2002-05-14 Werner Koch <wk@gnupg.org> - - Changed license of all files to the LGPL. - -2002-05-07 Werner Koch <wk@gnupg.org> - - * global.c (gcry_control): Add commands - GCRYCTL_ANY_INITIALIZATION_P and GCRYCTL_INITIALIZATION_FINISHED_P - so that other libraries are able to check for required - initializations. - -2002-05-02 Werner Koch <wk@gnupg.org> - - * gcrypt.h (GCRYCTL_DISABLE_INTERNAL_LOCKING): New. - * global.c (gcry_control): Implement it. - (_gcry_no_internal_locking): New. - * mutex.h: Prefixed all fucntions with _gcry_. Bypass all - functions when desired. - - * gcrypt.h (GCRYCTL_DISABLE_SECMEM): New. - * global.c (gcry_control,gcry_malloc_secure,gcry_is_secure): - Implement it here. - * secmem.c (_gcry_private_is_secure): Return false if the pool is - not initialized. - - * gcrypt.h (GCRYCTL_INITIALIZATION_FINISHED): New. - - * gcrypt.h (gcry_cipher_algos): Replaced RINDAEL by AES and change - the macros to expand from rijdael to aes. - - * stdmem.c (_gcry_private_malloc): Return NULL for 0 byte allocation. - (_gcry_private_malloc_secure): Ditto. - - * g10lib.h: Copied the JNLIB_GCC macros from ../jnlib/mischelp.h - and removed the inclusion of that file. - -2002-04-15 Werner Koch <wk@gnupg.org> - - * global.c (gcry_strdup): New. - -2002-03-18 Werner Koch <wk@gnupg.org> - - * mutex.h: New file with a portable thread mutex implementation - written by Marcus Brinkmann. Taken from GPGME. - -2002-02-18 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_sscan): Don't initialize the dummy - variable. Suggested by Jordi Mallach. - -2002-01-31 Werner Koch <wk@gnupg.org> - - * sexp.c (suitable_encoding,convert_to_hex,convert_to_string) - (convert_to_token): New. - (gcry_sexp_sprint): Better formatting of advanced encoding, does - now insert LFs and escapes all unprintable characters. - (unquote_string): New. - (sexp_sscan): Implemented the missing conversion of quoted strings. - -2002-01-26 Werner Koch <wk@gnupg.org> - - * libgcrypt-config.in: Add copyright notice. - -2002-01-11 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_canon_len): Fixed last change. - -2002-01-01 Timo Schulz <ts@winpt.org> - - * stdmem.c (_gcry_private_realloc): If pointer is NULL now realloc - behaves like malloc. - -2001-12-20 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_canon_len): Describe the error codes and - return an error if this is not a S-Exp; i.e. it does not start - with an open parenthesis. - -2001-12-18 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_canon_len): Fixed the test on NULL buffer. - - * Makefile.am (DISTCLEANFILES): Include libgcrypt.sym - - * sexp.c: Removed the commented test code because we now have a - test in ../tests/ - -2001-12-17 Werner Koch <wk@gnupg.org> - - * sexp.c (gcry_sexp_canon_len): New. - -2001-12-11 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Fixed AES128 macro, add enum for OFB mode. - -2001-12-05 Werner Koch <wk@gnupg.org> - - * misc.c (_gcry_log_printf): New. - * sexp.c (dump_string,gcry_sexp_dump): Use logging functions - instead of stderr. - -2001-11-16 Werner Koch <wk@gnupg.org> - - * gcrypt.h: New constant GCRYCTL_IS_ALGO_ENABLED. - -2001-10-02 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Removed a couple of trailing commas. - -2001-08-28 Werner Koch <wk@gnupg.org> - - * sexp.c (sexp_sscan): Add an argument to enable the - arg_ptr. Changed all callers. Suggested by Tom Holroyd. - -2001-08-03 Werner Koch <wk@gnupg.org> - - * global.c (gcry_strerror): Updated list of error codes. - -2001-07-23 Werner Koch <wk@gnupg.org> - - * gcrypt.h: Replaced the last ulong. Noted by Rami Lehti. - -2001-05-31 Werner Koch <wk@gnupg.org> - - * gcrypt.h, mpi.h: Made some mpi functions public. - - * wrapper.c: Removed. - * global.c: Renamed all g10_ prefixed functions which had wrappers - to gcry_xxx. So we now use the exported memory functions inernally. - - Renamed all g10_ prefixed functions to _gcry_ prefixed ones. - - * g10lib.h (_GCRYPT_IN_LIBGCRYPT): Replace defintion by a test on it. - -2001-05-28 Werner Koch <wk@gnupg.org> - - * libgcrypt.m4: Check GCRYPT_VERSION macro and not LIBGCRYPT_VERSION. - - * mpi.h: Removed mpi_fromstr prototype. - -2001-01-11 Werner Koch <wk@gnupg.org> - - * Makefile.am (libgcrypt_la_SOURCES): Add mpi.h - -2000-12-19 Werner Koch <wk@gnupg.org> - - * types.h: Moved from ../include to here. - - Major change: - Removed all GnuPG stuff and renamed this piece of software - to gcrypt. - -2000-11-14 Werner Koch <wk@gnupg.org> - - * mpi.h: Moved to ../mpi. - - * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency - problems. - -2000-10-11 Werner Koch <wk@gnupg.org> - - * mpi.h: Changed the way mpi_limb_t is defined. - -2000-10-10 Werner Koch <wk@gnupg.org> - - * Makefile.am: Take version-info from configure. - -2000-10-09 Werner Koch <wk@gnupg.org> - - * gcrypt.h: New cipher mode, new algo Arcfour and new error code - GCRYERR_INV_CIPHER_MODE. - * global.c (gcry_strerror): New errorcode. - -Wed Oct 4 13:16:18 CEST 2000 Werner Koch <wk@openit.de> - - * gcrypt.h (gcry_md_setkey): Replaced macro by function prototype. - -Mon Sep 18 16:35:45 CEST 2000 Werner Koch <wk@openit.de> - - * gcrypt.h (GCRYCTL_GET_ALGO_USAGE): New. - - * secmem.c (secmem_realloc): check for failed secmem_malloc. By - Matt Kraai. - -Mon Jul 31 10:04:47 CEST 2000 Werner Koch <wk@openit.de> - - * sexp.c: Removed the datalen fields from list tags. - (gcry_sexp_car_data,gcry_sexp_cdr_data,gcry_sexp_car_mpi, - gcry_sexp_cdr_mpi): Removed. - (gcry_sexp_nth,gcry_sexp_nth_data,gcry_sexp_nth_mpi): New. - -Fri Jul 28 18:19:11 CEST 2000 Werner Koch <wk@openit.de> - - * sexp.c (sexp_sscan): Fixed reallocation to secure memory. - (new_empty_list): Removed - (gcry_sexp_length): New. - (gcry_sexp_enum): Removed. - (normalize): New. Reworked the whole thing to use NULL for an empty list. - (make_space): New instead of the macro. - -Tue Jul 25 17:44:15 CEST 2000 Werner Koch <wk@openit.de> - - * sexp.c: Major rewrite. - (gcry_sexp_sscan): Reordered arguments. Moved functionality to .. - (sexp_sscan): .. this. - (gcry_sexp_build): New. - (gcry_sexp_new_name_mpi, gcry_sexp_new_name_data, gcry_sexp_new_data, - gcry_sexp_new_mpi): Removed. - -Fri Jul 14 19:38:23 CEST 2000 Werner Koch <wk@> - - * gcrypt.h (gcry_md_start_debug, gcry_md_stop_debug): New. - (gcry_ctl_cmds): New control values - - * sexp.c (gcry_sexp_sscan): Add hex format parsing. - - * secmem.c (lock_pool): Check for ENOSYS return my mlock() on old SCOs. - (pool_is_mmapped): Made volatile. - (lock_pool): No more warning for QNX. By Sam Roberts. - (lock_pool,secmem_init): Additional check for dropped privs. - -2000-03-21 09:18:48 Werner Koch (wk@habibti.gnupg.de) - - * gcrypt.h (gcry_md_setkey): New. - (GCRY_MD_FLAG_HMAC): New. - -Mon Jan 31 16:37:34 CET 2000 Werner Koch <wk@gnupg.de> - - * Makefile.am: Add g10lib.h - -Thu Jan 27 18:00:44 CET 2000 Werner Koch <wk@gnupg.de> - - * sexp.c (gcry_sexp_sscan): Allow NULL for erroff. - -Mon Jan 24 22:24:38 CET 2000 Werner Koch <wk@gnupg.de> - - * sexp.c (gcry_sexp_alist): New. - -Mon Jan 24 13:04:28 CET 2000 Werner Koch <wk@gnupg.de> - - * secmem.c: Moved from ../util to here. - * secmem.h: New. - * stdmem.c: New. Based on the old ../util/memory.c. - * stdmem.h: New. - -Wed Dec 8 21:58:32 CET 1999 Werner Koch <wk@gnupg.de> - - * gcrypt.m4: New. - * gcrypt-config: New. - - * mpi.h (mpi_get_nbit_info): Removed - (mpi_set_nbit_info): Removed. - (struct gcry_mpi): Removed the nbits field. - - * misc.c (g10_log_verbosity): New. - - * global.c (g10_xstrdup): New. - - * mpiapi.c: Removed. - - * mpi.h: Moved from ../include to here. Removed some obsolete - prototypes and the iobuf.h header. - * cipher.h: Moved from ../include to here. Removed the mpi.h header. - * g10lib.h: Moved from ../include to here. - -Fri Nov 19 17:15:20 CET 1999 Werner Koch <wk@gnupg.de> - - * sexp.c (dump_string): New. Taken from gnupg/util/miscutil.c. - (do_dump_list): s/print_string/dump_string/. - - * testapi.c: New. - - * mpiapi.c (gcry_mpi_randomize): Use new random API. - -Sat Nov 13 17:44:23 CET 1999 Werner Koch <wk@gnupg.de> - - * gloabl.c (gcry_control): Add cases for dumping random - and secmem stats. - -Tue Oct 26 14:10:21 CEST 1999 Werner Koch <wk@gnupg.de> - - * pkapi.c: Removed. - - * symapi.c: Removed. - - * g10lib.h: Moved to ../include. - - * mdapi.c: Removed. - -Wed Jul 7 13:08:40 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> - - * sexp.c: New. - -Tue Dec 8 13:15:16 CET 1998 Werner Koch <wk@isil.d.shuttle.de> - - * gcrypt.h: New - * mpiapi.c: New - - - Copyright (C) 1998,1999,2000,2001,2002,2003 - 2004, 2005, 2008 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.am b/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.am deleted file mode 100644 index 544b5e2e8e..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.am +++ /dev/null @@ -1,132 +0,0 @@ -# Makefile.am - for gcrypt/src -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -# 2006, 2007 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -## Process this file with automake to produce Makefile.in - -EXTRA_DIST = Manifest libgcrypt-config.in libgcrypt.m4 libgcrypt.vers \ - gcrypt.h.in libgcrypt.def -bin_SCRIPTS = libgcrypt-config -m4datadir = $(datadir)/aclocal -m4data_DATA = libgcrypt.m4 -include_HEADERS = gcrypt.h gcrypt-module.h - -lib_LTLIBRARIES = libgcrypt.la -bin_PROGRAMS = dumpsexp hmac256 -if USE_RANDOM_DAEMON -sbin_PROGRAMS = gcryptrnd -bin_PROGRAMS += getrandom -endif USE_RANDOM_DAEMON - - -if HAVE_LD_VERSION_SCRIPT - libgcrypt_version_script_cmd = -Wl,--version-script=$(srcdir)/libgcrypt.vers -else - libgcrypt_version_script_cmd = -endif - -libgcrypt_la_CFLAGS = @GPG_ERROR_CFLAGS@ -libgcrypt_la_SOURCES = g10lib.h visibility.c visibility.h types.h \ - cipher.h cipher-proto.h \ - misc.c global.c sexp.c hwfeatures.c \ - stdmem.c stdmem.h secmem.c secmem.h \ - mpi.h missing-string.c module.c fips.c \ - hmac256.c hmac256.h \ - ath.h ath.c - -if HAVE_W32_SYSTEM - -LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \ - `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \ - sed -e 's/-I/--include-dir /g;s/-D/--define /g'` - -.rc.lo: - $(LTRCCOMPILE) -i $< -o $@ - -gcrypt_res = versioninfo.lo -gcrypt_res_ldflag = -Wl,.libs/versioninfo.o - -no_undefined = -no-undefined -export_symbols = -export-symbols $(srcdir)/libgcrypt.def - -install-def-file: - $(INSTALL) $(srcdir)/libgcrypt.def $(DESTDIR)$(libdir)/libgcrypt.def - -uninstall-def-file: - -rm $(DESTDIR)$(libdir)/libgcrypt.def - -gcrypt_deps = $(gcrypt_res) libgcrypt.def - -else !HAVE_W32_SYSTEM - -gcrypt_res = -gcrypt_res_ldflag = -no_undefined = -export_symbols = -install-def-file: -uninstall-def-file: - -gcrypt_deps = - -endif !HAVE_W32_SYSTEM - - -libgcrypt_la_LDFLAGS = $(gcrypt_res_ldflag) $(no_undefined) $(export_symbols) \ - $(libgcrypt_version_script_cmd) -version-info \ - @LIBGCRYPT_LT_CURRENT@:@LIBGCRYPT_LT_REVISION@:@LIBGCRYPT_LT_AGE@ -libgcrypt_la_DEPENDENCIES = \ - ../cipher/libcipher.la \ - ../random/librandom.la \ - ../mpi/libmpi.la \ - $(srcdir)/libgcrypt.vers $(gcrypt_deps) -libgcrypt_la_LIBADD = \ - ../cipher/libcipher.la \ - ../random/librandom.la \ - ../mpi/libmpi.la \ - @LTLIBOBJS@ @GPG_ERROR_LIBS@ - - -dumpsexp_SOURCES = dumpsexp.c -dumpsexp_LDADD = - -hmac256_SOURCES = hmac256.c -hmac256_CFLAGS = -DSTANDALONE -hmac256_LDADD = - -if USE_RANDOM_DAEMON -gcryptrnd_SOURCES = gcryptrnd.c -gcryptrnd_CFLAGS = $(GPG_ERROR_CFLAGS) $(PTH_CFLAGS) -gcryptrnd_LDADD = libgcrypt.la $(PTH_LIBS) - -getrandom_SOURCES = getrandom.c -endif USE_RANDOM_DAEMON - - -install-data-local: install-def-file - -uninstall-local: uninstall-def-file - -# FIXME: We need to figure out how to get the actual name (parsing -# libgcrypt.la?) and how to create the hmac file already at link time -# so that it can be used without installing libgcrypt first. -#install-exec-hook: -# ./hmac256 "What am I, a doctor or a moonshuttle conductor?" \ -# < $(DESTDIR)$(libdir)/libgcrypt.so.11.5.0 \ -# > $(DESTDIR)$(libdir)/.libgcrypt.so.11.5.0.hmac - diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.in b/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.in deleted file mode 100644 index 9f0932085c..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/Makefile.in +++ /dev/null @@ -1,922 +0,0 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Makefile.am - for gcrypt/src -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -# 2006, 2007 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - - - - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -bin_PROGRAMS = dumpsexp$(EXEEXT) hmac256$(EXEEXT) $(am__EXEEXT_1) -@USE_RANDOM_DAEMON_TRUE@sbin_PROGRAMS = gcryptrnd$(EXEEXT) -@USE_RANDOM_DAEMON_TRUE@am__append_1 = getrandom -subdir = src -DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/gcrypt.h.in \ - $(srcdir)/libgcrypt-config.in $(srcdir)/versioninfo.rc.in \ - ChangeLog -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/noexecstack.m4 $(top_srcdir)/m4/onceonly.m4 \ - $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sys_socket_h.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = gcrypt.h libgcrypt-config versioninfo.rc -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -am_libgcrypt_la_OBJECTS = libgcrypt_la-visibility.lo \ - libgcrypt_la-misc.lo libgcrypt_la-global.lo \ - libgcrypt_la-sexp.lo libgcrypt_la-hwfeatures.lo \ - libgcrypt_la-stdmem.lo libgcrypt_la-secmem.lo \ - libgcrypt_la-missing-string.lo libgcrypt_la-module.lo \ - libgcrypt_la-fips.lo libgcrypt_la-hmac256.lo \ - libgcrypt_la-ath.lo -libgcrypt_la_OBJECTS = $(am_libgcrypt_la_OBJECTS) -libgcrypt_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libgcrypt_la_CFLAGS) \ - $(CFLAGS) $(libgcrypt_la_LDFLAGS) $(LDFLAGS) -o $@ -@USE_RANDOM_DAEMON_TRUE@am__EXEEXT_1 = getrandom$(EXEEXT) -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS) -am_dumpsexp_OBJECTS = dumpsexp.$(OBJEXT) -dumpsexp_OBJECTS = $(am_dumpsexp_OBJECTS) -dumpsexp_DEPENDENCIES = -am__gcryptrnd_SOURCES_DIST = gcryptrnd.c -@USE_RANDOM_DAEMON_TRUE@am_gcryptrnd_OBJECTS = \ -@USE_RANDOM_DAEMON_TRUE@ gcryptrnd-gcryptrnd.$(OBJEXT) -gcryptrnd_OBJECTS = $(am_gcryptrnd_OBJECTS) -am__DEPENDENCIES_1 = -@USE_RANDOM_DAEMON_TRUE@gcryptrnd_DEPENDENCIES = libgcrypt.la \ -@USE_RANDOM_DAEMON_TRUE@ $(am__DEPENDENCIES_1) -gcryptrnd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(gcryptrnd_CFLAGS) \ - $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__getrandom_SOURCES_DIST = getrandom.c -@USE_RANDOM_DAEMON_TRUE@am_getrandom_OBJECTS = getrandom.$(OBJEXT) -getrandom_OBJECTS = $(am_getrandom_OBJECTS) -getrandom_LDADD = $(LDADD) -am_hmac256_OBJECTS = hmac256-hmac256.$(OBJEXT) -hmac256_OBJECTS = $(am_hmac256_OBJECTS) -hmac256_DEPENDENCIES = -hmac256_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(hmac256_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -binSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libgcrypt_la_SOURCES) $(dumpsexp_SOURCES) \ - $(gcryptrnd_SOURCES) $(getrandom_SOURCES) $(hmac256_SOURCES) -DIST_SOURCES = $(libgcrypt_la_SOURCES) $(dumpsexp_SOURCES) \ - $(am__gcryptrnd_SOURCES_DIST) $(am__getrandom_SOURCES_DIST) \ - $(hmac256_SOURCES) -m4dataDATA_INSTALL = $(INSTALL_DATA) -DATA = $(m4data_DATA) -includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_FILEVERSION = @BUILD_FILEVERSION@ -BUILD_REVISION = @BUILD_REVISION@ -BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ -CC = @CC@ -CCAS = @CCAS@ -CCASDEPMODE = @CCASDEPMODE@ -CCASFLAGS = @CCASFLAGS@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DL_LIBS = @DL_LIBS@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FALLBACK_SOCKLEN_T = @FALLBACK_SOCKLEN_T@ -FFLAGS = @FFLAGS@ -GCRYPT_CIPHERS = @GCRYPT_CIPHERS@ -GCRYPT_DIGESTS = @GCRYPT_DIGESTS@ -GCRYPT_PUBKEY_CIPHERS = @GCRYPT_PUBKEY_CIPHERS@ -GCRYPT_RANDOM = @GCRYPT_RANDOM@ -GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@ -GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@ -GPG_ERROR_LIBS = @GPG_ERROR_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGCRYPT_CIPHERS = @LIBGCRYPT_CIPHERS@ -LIBGCRYPT_CONFIG_API_VERSION = @LIBGCRYPT_CONFIG_API_VERSION@ -LIBGCRYPT_CONFIG_CFLAGS = @LIBGCRYPT_CONFIG_CFLAGS@ -LIBGCRYPT_CONFIG_LIBS = @LIBGCRYPT_CONFIG_LIBS@ -LIBGCRYPT_DIGESTS = @LIBGCRYPT_DIGESTS@ -LIBGCRYPT_LT_AGE = @LIBGCRYPT_LT_AGE@ -LIBGCRYPT_LT_CURRENT = @LIBGCRYPT_LT_CURRENT@ -LIBGCRYPT_LT_REVISION = @LIBGCRYPT_LT_REVISION@ -LIBGCRYPT_PUBKEY_CIPHERS = @LIBGCRYPT_PUBKEY_CIPHERS@ -LIBGCRYPT_THREAD_MODULES = @LIBGCRYPT_THREAD_MODULES@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MPI_SFLAGS = @MPI_SFLAGS@ -NOEXECSTACK_FLAGS = @NOEXECSTACK_FLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PTH_CFLAGS = @PTH_CFLAGS@ -PTH_CONFIG = @PTH_CONFIG@ -PTH_LIBS = @PTH_LIBS@ -RANLIB = @RANLIB@ -RC = @RC@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYS_SOCKET_H = @SYS_SOCKET_H@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -EXTRA_DIST = Manifest libgcrypt-config.in libgcrypt.m4 libgcrypt.vers \ - gcrypt.h.in libgcrypt.def - -bin_SCRIPTS = libgcrypt-config -m4datadir = $(datadir)/aclocal -m4data_DATA = libgcrypt.m4 -include_HEADERS = gcrypt.h gcrypt-module.h -lib_LTLIBRARIES = libgcrypt.la -@HAVE_LD_VERSION_SCRIPT_FALSE@libgcrypt_version_script_cmd = -@HAVE_LD_VERSION_SCRIPT_TRUE@libgcrypt_version_script_cmd = -Wl,--version-script=$(srcdir)/libgcrypt.vers -libgcrypt_la_CFLAGS = @GPG_ERROR_CFLAGS@ -libgcrypt_la_SOURCES = g10lib.h visibility.c visibility.h types.h \ - cipher.h cipher-proto.h \ - misc.c global.c sexp.c hwfeatures.c \ - stdmem.c stdmem.h secmem.c secmem.h \ - mpi.h missing-string.c module.c fips.c \ - hmac256.c hmac256.h \ - ath.h ath.c - -@HAVE_W32_SYSTEM_TRUE@LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \ -@HAVE_W32_SYSTEM_TRUE@ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \ -@HAVE_W32_SYSTEM_TRUE@ sed -e 's/-I/--include-dir /g;s/-D/--define /g'` - -@HAVE_W32_SYSTEM_FALSE@gcrypt_res = -@HAVE_W32_SYSTEM_TRUE@gcrypt_res = versioninfo.lo -@HAVE_W32_SYSTEM_FALSE@gcrypt_res_ldflag = -@HAVE_W32_SYSTEM_TRUE@gcrypt_res_ldflag = -Wl,.libs/versioninfo.o -@HAVE_W32_SYSTEM_FALSE@no_undefined = -@HAVE_W32_SYSTEM_TRUE@no_undefined = -no-undefined -@HAVE_W32_SYSTEM_FALSE@export_symbols = -@HAVE_W32_SYSTEM_TRUE@export_symbols = -export-symbols $(srcdir)/libgcrypt.def -@HAVE_W32_SYSTEM_FALSE@gcrypt_deps = -@HAVE_W32_SYSTEM_TRUE@gcrypt_deps = $(gcrypt_res) libgcrypt.def -libgcrypt_la_LDFLAGS = $(gcrypt_res_ldflag) $(no_undefined) $(export_symbols) \ - $(libgcrypt_version_script_cmd) -version-info \ - @LIBGCRYPT_LT_CURRENT@:@LIBGCRYPT_LT_REVISION@:@LIBGCRYPT_LT_AGE@ - -libgcrypt_la_DEPENDENCIES = \ - ../cipher/libcipher.la \ - ../random/librandom.la \ - ../mpi/libmpi.la \ - $(srcdir)/libgcrypt.vers $(gcrypt_deps) - -libgcrypt_la_LIBADD = \ - ../cipher/libcipher.la \ - ../random/librandom.la \ - ../mpi/libmpi.la \ - @LTLIBOBJS@ @GPG_ERROR_LIBS@ - -dumpsexp_SOURCES = dumpsexp.c -dumpsexp_LDADD = -hmac256_SOURCES = hmac256.c -hmac256_CFLAGS = -DSTANDALONE -hmac256_LDADD = -@USE_RANDOM_DAEMON_TRUE@gcryptrnd_SOURCES = gcryptrnd.c -@USE_RANDOM_DAEMON_TRUE@gcryptrnd_CFLAGS = $(GPG_ERROR_CFLAGS) $(PTH_CFLAGS) -@USE_RANDOM_DAEMON_TRUE@gcryptrnd_LDADD = libgcrypt.la $(PTH_LIBS) -@USE_RANDOM_DAEMON_TRUE@getrandom_SOURCES = getrandom.c -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj .rc -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -gcrypt.h: $(top_builddir)/config.status $(srcdir)/gcrypt.h.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -libgcrypt-config: $(top_builddir)/config.status $(srcdir)/libgcrypt-config.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -versioninfo.rc: $(top_builddir)/config.status $(srcdir)/versioninfo.rc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libgcrypt.la: $(libgcrypt_la_OBJECTS) $(libgcrypt_la_DEPENDENCIES) - $(libgcrypt_la_LINK) -rpath $(libdir) $(libgcrypt_la_OBJECTS) $(libgcrypt_la_LIBADD) $(LIBS) -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -install-sbinPROGRAMS: $(sbin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" - @list='$(sbin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-sbinPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(sbin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ - rm -f "$(DESTDIR)$(sbindir)/$$f"; \ - done - -clean-sbinPROGRAMS: - @list='$(sbin_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -dumpsexp$(EXEEXT): $(dumpsexp_OBJECTS) $(dumpsexp_DEPENDENCIES) - @rm -f dumpsexp$(EXEEXT) - $(LINK) $(dumpsexp_OBJECTS) $(dumpsexp_LDADD) $(LIBS) -gcryptrnd$(EXEEXT): $(gcryptrnd_OBJECTS) $(gcryptrnd_DEPENDENCIES) - @rm -f gcryptrnd$(EXEEXT) - $(gcryptrnd_LINK) $(gcryptrnd_OBJECTS) $(gcryptrnd_LDADD) $(LIBS) -getrandom$(EXEEXT): $(getrandom_OBJECTS) $(getrandom_DEPENDENCIES) - @rm -f getrandom$(EXEEXT) - $(LINK) $(getrandom_OBJECTS) $(getrandom_LDADD) $(LIBS) -hmac256$(EXEEXT): $(hmac256_OBJECTS) $(hmac256_DEPENDENCIES) - @rm -f hmac256$(EXEEXT) - $(hmac256_LINK) $(hmac256_OBJECTS) $(hmac256_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f $$d$$p; then \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ - else :; fi; \ - done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dumpsexp.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gcryptrnd-gcryptrnd.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrandom.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac256-hmac256.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-ath.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-fips.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-global.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-hmac256.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-hwfeatures.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-misc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-missing-string.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-module.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-secmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-sexp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-stdmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgcrypt_la-visibility.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -libgcrypt_la-visibility.lo: visibility.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-visibility.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-visibility.Tpo -c -o libgcrypt_la-visibility.lo `test -f 'visibility.c' || echo '$(srcdir)/'`visibility.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-visibility.Tpo $(DEPDIR)/libgcrypt_la-visibility.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='visibility.c' object='libgcrypt_la-visibility.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-visibility.lo `test -f 'visibility.c' || echo '$(srcdir)/'`visibility.c - -libgcrypt_la-misc.lo: misc.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-misc.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-misc.Tpo -c -o libgcrypt_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-misc.Tpo $(DEPDIR)/libgcrypt_la-misc.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc.c' object='libgcrypt_la-misc.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c - -libgcrypt_la-global.lo: global.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-global.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-global.Tpo -c -o libgcrypt_la-global.lo `test -f 'global.c' || echo '$(srcdir)/'`global.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-global.Tpo $(DEPDIR)/libgcrypt_la-global.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='global.c' object='libgcrypt_la-global.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-global.lo `test -f 'global.c' || echo '$(srcdir)/'`global.c - -libgcrypt_la-sexp.lo: sexp.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-sexp.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-sexp.Tpo -c -o libgcrypt_la-sexp.lo `test -f 'sexp.c' || echo '$(srcdir)/'`sexp.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-sexp.Tpo $(DEPDIR)/libgcrypt_la-sexp.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sexp.c' object='libgcrypt_la-sexp.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-sexp.lo `test -f 'sexp.c' || echo '$(srcdir)/'`sexp.c - -libgcrypt_la-hwfeatures.lo: hwfeatures.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-hwfeatures.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-hwfeatures.Tpo -c -o libgcrypt_la-hwfeatures.lo `test -f 'hwfeatures.c' || echo '$(srcdir)/'`hwfeatures.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-hwfeatures.Tpo $(DEPDIR)/libgcrypt_la-hwfeatures.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hwfeatures.c' object='libgcrypt_la-hwfeatures.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-hwfeatures.lo `test -f 'hwfeatures.c' || echo '$(srcdir)/'`hwfeatures.c - -libgcrypt_la-stdmem.lo: stdmem.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-stdmem.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-stdmem.Tpo -c -o libgcrypt_la-stdmem.lo `test -f 'stdmem.c' || echo '$(srcdir)/'`stdmem.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-stdmem.Tpo $(DEPDIR)/libgcrypt_la-stdmem.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdmem.c' object='libgcrypt_la-stdmem.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-stdmem.lo `test -f 'stdmem.c' || echo '$(srcdir)/'`stdmem.c - -libgcrypt_la-secmem.lo: secmem.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-secmem.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-secmem.Tpo -c -o libgcrypt_la-secmem.lo `test -f 'secmem.c' || echo '$(srcdir)/'`secmem.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-secmem.Tpo $(DEPDIR)/libgcrypt_la-secmem.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='secmem.c' object='libgcrypt_la-secmem.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-secmem.lo `test -f 'secmem.c' || echo '$(srcdir)/'`secmem.c - -libgcrypt_la-missing-string.lo: missing-string.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-missing-string.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-missing-string.Tpo -c -o libgcrypt_la-missing-string.lo `test -f 'missing-string.c' || echo '$(srcdir)/'`missing-string.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-missing-string.Tpo $(DEPDIR)/libgcrypt_la-missing-string.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='missing-string.c' object='libgcrypt_la-missing-string.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-missing-string.lo `test -f 'missing-string.c' || echo '$(srcdir)/'`missing-string.c - -libgcrypt_la-module.lo: module.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-module.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-module.Tpo -c -o libgcrypt_la-module.lo `test -f 'module.c' || echo '$(srcdir)/'`module.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-module.Tpo $(DEPDIR)/libgcrypt_la-module.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='module.c' object='libgcrypt_la-module.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-module.lo `test -f 'module.c' || echo '$(srcdir)/'`module.c - -libgcrypt_la-fips.lo: fips.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-fips.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-fips.Tpo -c -o libgcrypt_la-fips.lo `test -f 'fips.c' || echo '$(srcdir)/'`fips.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-fips.Tpo $(DEPDIR)/libgcrypt_la-fips.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fips.c' object='libgcrypt_la-fips.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-fips.lo `test -f 'fips.c' || echo '$(srcdir)/'`fips.c - -libgcrypt_la-hmac256.lo: hmac256.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-hmac256.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-hmac256.Tpo -c -o libgcrypt_la-hmac256.lo `test -f 'hmac256.c' || echo '$(srcdir)/'`hmac256.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-hmac256.Tpo $(DEPDIR)/libgcrypt_la-hmac256.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hmac256.c' object='libgcrypt_la-hmac256.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-hmac256.lo `test -f 'hmac256.c' || echo '$(srcdir)/'`hmac256.c - -libgcrypt_la-ath.lo: ath.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -MT libgcrypt_la-ath.lo -MD -MP -MF $(DEPDIR)/libgcrypt_la-ath.Tpo -c -o libgcrypt_la-ath.lo `test -f 'ath.c' || echo '$(srcdir)/'`ath.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgcrypt_la-ath.Tpo $(DEPDIR)/libgcrypt_la-ath.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ath.c' object='libgcrypt_la-ath.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgcrypt_la_CFLAGS) $(CFLAGS) -c -o libgcrypt_la-ath.lo `test -f 'ath.c' || echo '$(srcdir)/'`ath.c - -gcryptrnd-gcryptrnd.o: gcryptrnd.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gcryptrnd_CFLAGS) $(CFLAGS) -MT gcryptrnd-gcryptrnd.o -MD -MP -MF $(DEPDIR)/gcryptrnd-gcryptrnd.Tpo -c -o gcryptrnd-gcryptrnd.o `test -f 'gcryptrnd.c' || echo '$(srcdir)/'`gcryptrnd.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gcryptrnd-gcryptrnd.Tpo $(DEPDIR)/gcryptrnd-gcryptrnd.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gcryptrnd.c' object='gcryptrnd-gcryptrnd.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gcryptrnd_CFLAGS) $(CFLAGS) -c -o gcryptrnd-gcryptrnd.o `test -f 'gcryptrnd.c' || echo '$(srcdir)/'`gcryptrnd.c - -gcryptrnd-gcryptrnd.obj: gcryptrnd.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gcryptrnd_CFLAGS) $(CFLAGS) -MT gcryptrnd-gcryptrnd.obj -MD -MP -MF $(DEPDIR)/gcryptrnd-gcryptrnd.Tpo -c -o gcryptrnd-gcryptrnd.obj `if test -f 'gcryptrnd.c'; then $(CYGPATH_W) 'gcryptrnd.c'; else $(CYGPATH_W) '$(srcdir)/gcryptrnd.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gcryptrnd-gcryptrnd.Tpo $(DEPDIR)/gcryptrnd-gcryptrnd.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gcryptrnd.c' object='gcryptrnd-gcryptrnd.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gcryptrnd_CFLAGS) $(CFLAGS) -c -o gcryptrnd-gcryptrnd.obj `if test -f 'gcryptrnd.c'; then $(CYGPATH_W) 'gcryptrnd.c'; else $(CYGPATH_W) '$(srcdir)/gcryptrnd.c'; fi` - -hmac256-hmac256.o: hmac256.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmac256_CFLAGS) $(CFLAGS) -MT hmac256-hmac256.o -MD -MP -MF $(DEPDIR)/hmac256-hmac256.Tpo -c -o hmac256-hmac256.o `test -f 'hmac256.c' || echo '$(srcdir)/'`hmac256.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/hmac256-hmac256.Tpo $(DEPDIR)/hmac256-hmac256.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hmac256.c' object='hmac256-hmac256.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmac256_CFLAGS) $(CFLAGS) -c -o hmac256-hmac256.o `test -f 'hmac256.c' || echo '$(srcdir)/'`hmac256.c - -hmac256-hmac256.obj: hmac256.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmac256_CFLAGS) $(CFLAGS) -MT hmac256-hmac256.obj -MD -MP -MF $(DEPDIR)/hmac256-hmac256.Tpo -c -o hmac256-hmac256.obj `if test -f 'hmac256.c'; then $(CYGPATH_W) 'hmac256.c'; else $(CYGPATH_W) '$(srcdir)/hmac256.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/hmac256-hmac256.Tpo $(DEPDIR)/hmac256-hmac256.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hmac256.c' object='hmac256-hmac256.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmac256_CFLAGS) $(CFLAGS) -c -o hmac256-hmac256.obj `if test -f 'hmac256.c'; then $(CYGPATH_W) 'hmac256.c'; else $(CYGPATH_W) '$(srcdir)/hmac256.c'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-m4dataDATA: $(m4data_DATA) - @$(NORMAL_INSTALL) - test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)" - @list='$(m4data_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(m4dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(m4datadir)/$$f'"; \ - $(m4dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(m4datadir)/$$f"; \ - done - -uninstall-m4dataDATA: - @$(NORMAL_UNINSTALL) - @list='$(m4data_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(m4datadir)/$$f'"; \ - rm -f "$(DESTDIR)$(m4datadir)/$$f"; \ - done -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ - $(HEADERS) -install-binPROGRAMS: install-libLTLIBRARIES - -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool clean-sbinPROGRAMS mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-data-local install-includeHEADERS \ - install-m4dataDATA - -install-dvi: install-dvi-am - -install-exec-am: install-binPROGRAMS install-binSCRIPTS \ - install-libLTLIBRARIES install-sbinPROGRAMS - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-local uninstall-m4dataDATA uninstall-sbinPROGRAMS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-sbinPROGRAMS ctags distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-binPROGRAMS install-binSCRIPTS install-data \ - install-data-am install-data-local install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLTLIBRARIES install-m4dataDATA install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-sbinPROGRAMS install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-binSCRIPTS uninstall-includeHEADERS \ - uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \ - uninstall-sbinPROGRAMS - - -@HAVE_W32_SYSTEM_TRUE@.rc.lo: -@HAVE_W32_SYSTEM_TRUE@ $(LTRCCOMPILE) -i $< -o $@ - -@HAVE_W32_SYSTEM_TRUE@install-def-file: -@HAVE_W32_SYSTEM_TRUE@ $(INSTALL) $(srcdir)/libgcrypt.def $(DESTDIR)$(libdir)/libgcrypt.def - -@HAVE_W32_SYSTEM_TRUE@uninstall-def-file: -@HAVE_W32_SYSTEM_TRUE@ -rm $(DESTDIR)$(libdir)/libgcrypt.def -@HAVE_W32_SYSTEM_FALSE@install-def-file: -@HAVE_W32_SYSTEM_FALSE@uninstall-def-file: - -install-data-local: install-def-file - -uninstall-local: uninstall-def-file - -# FIXME: We need to figure out how to get the actual name (parsing -# libgcrypt.la?) and how to create the hmac file already at link time -# so that it can be used without installing libgcrypt first. -#install-exec-hook: -# ./hmac256 "What am I, a doctor or a moonshuttle conductor?" \ -# < $(DESTDIR)$(libdir)/libgcrypt.so.11.5.0 \ -# > $(DESTDIR)$(libdir)/.libgcrypt.so.11.5.0.hmac -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/Manifest b/plugins/MirOTR/libgcrypt-1.4.6/src/Manifest deleted file mode 100644 index 2d003d83e6..0000000000 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/Manifest +++ /dev/null @@ -1,58 +0,0 @@ -# Manifest - checksums of the src directory -# Copyright 2004 Free Software Foundation, Inc. -# -# This file is part of Libgcrypt. -# -# Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser general Public License as -# published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# Libgcrypt is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -# Checksums for all source files in this directory. Format is -# filename, blanks, base-64 part of an OpenPGP detached signature -# without the header lines. Blank lines and lines beginning with a -# hash mark are ignored. A tool to process this file is available by -# cvs -d :pserver:anoncvs@cvs.gnupg.org:/cvs/wk co misc-scripts/manifest-tool -# -# The special entry "$names$" holds a signature over all sorted -# filenames excluding itself. - -gcrypt.h iQCVAwUAQH5RsTEAnp832S/7AQK7xgP+Kc3NY9lipZkaAMrnHDkQVLdHYwTbZWuGOYdTLp8Xy7Auh9wtWV9hrWVUqs+kxDzT/2iF6XkO3WT3rf/PmQ/Q0TIGfOyjE3c/qvB/jVippaxoGda3tnGpODytdI3XPhfPS0Ss8nDzfCStPBGAEq0OVU7imnExrFzhRXt+Gljr0o0==Yagz -gcrypt-module.h iQCVAwUAQH5UXzEAnp832S/7AQJMQgQAzumz9aaZelhw+FxTCeVadphBxt1bbNQvMrnddYYblyJv+AcxZ9ZxGz2oPeusN58Qg54DQcaW3lYhTgnWfXultsi+Ruxlz7400OUrzSXOl3At7KssdODAoscFzZIgh94G9lzQxEBr9lTXI9R3LsPFJP6muNG4frcNBAA42yckK7w==BBp5 - -ath.c iQCVAwUAQH5E+DEAnp832S/7AQKFpgP+KSZHtVcnh9FFggIyHKbALUljW2FXauasZvFyN8Sk/mIMgKxyXFOG1THBAUzWLaKWIEWU+WkYU7uThqBtpnEImM5AenWzbQuJjftPC3gVHO8yjjmBWD4zmJj28htoKDoa/xDsoqumrHxae3FYcaCWtYGVjM/Pbl+OMRMOFAhp0ho==lQZ3 -ath.h iQCVAwUAQH5FODEAnp832S/7AQKiuQQAg4K+KOAn1LWBZN32MAhms4FeZKoce0fAuZW7BpyY4cCxIVgxqrtUC90CDykw8XegFfOyyYrgd0NmaMVdY7HZDncNOvIPxpgFQPCZrycsMOoAtoVwjK704RDeNo3zmeyxTKeDH+3M1J7JmLiafaEdSbOC8flX/W0icaV0Ol4dmBc==Ll6w - -cipher.h iQCVAwUAQH5FUzEAnp832S/7AQJKLgP9GSSk9f7EINIRqSQH1XKX+dYzt3phDHdqFTUGIfYNh7YzGdy0drvgFhG4k15nqDouKRuFVM/hKY3ZVY7JccmKXKGAH6+ZYShoG6LMFfIGgDX8zne0dNxc72PLfns3fVxNn/RlHmHBkrQ+ppjR9HnSthFmOqzbQaW1BKmc3Z2x5GU==lIeW -g10lib.h iQCVAwUAQH5FejEAnp832S/7AQJ75wP/ZjOybwRix5eoXdfVeXPjoPygejzpYJJdMUGN3Y5UtkfBu9mPREsKfvZ6tH+Evjx+3xfeAb4bU/k2mRMp0tiWnk2koToS08vI9uxnioKQr9oulZH6r28S+NLSgMQuEGN1JNUky6RQ9TTNRndeTjKKSrEjZ7V6bv+rb8A1bYCKChs==P5mk -mpi.h iQCVAwUAQH5FwzEAnp832S/7AQJJ4wP9E3jVkcO9M0YtSBHIbjG3hDWKWXzi86AlUh51qiE8/2XP0FfjA4TosyvmicZs7j48HitAByr9tHOSxnbeo7NBf17ICwAo6Eqty+wKDg+eyLeEGUy7VpVK3RJRQAA4H+kl3S2l3YMTKf3WJlbc7qkWSXZspdy5c9sAxeodCKrAubU==oALf - -global.c iQCVAwUAQH5HFzEAnp832S/7AQJc+QQAvi53ZkMCzLnVULHvhI6W+EX537zi9n8cplYguvIJqUhAZrP68yGAIyqyCONbZVDyB7wqeXdUMLzMk7W8fg+xuk5JSDpppAQf2m/bdQyze6XVqJso682eYBM8+b9z/IVEvLaFwhZcOKO1bcXudBlBCcJgVDpupfTtAWgPnewil9Q==Xwy1 -misc.c iQCVAwUAQH5IIjEAnp832S/7AQKNJAQAkEpyY3fCG7tvADJFAW9xA7DEQwLCa8YmiUhHvrEsWOI4YgvS7LUbWWc7VqK+ryORvXLKRAVieznbnHAuy0TKtqdnmA/kUmiurS0ah5SWqR/iuAeJtt0RGsmZaZ6oa2m4PZ2Y2GCHSTZqcclvwsetS9eq5AipxHxYFUltu5wGZNI==twM2 -missing-string.c iQCVAwUAQH5JfjEAnp832S/7AQI3ZQQAg55eEJbGQQHyBEJGxvt/FXpQiXcoDit3ZHzvdaQn/NUgdLjCHiWVzhyCXACGivLWMNModDaSaZk073NXxVkWfPcX9vkF//Wugwzidd5P3Bfu5k35o+Xxz82fsk5KuFGGq1mBUZ07xUYQ8KkKkhADUkr0QiQAuypp079Yq0uUC7Q==zvKn -module.c iQCVAwUAQH5JvjEAnp832S/7AQKlMgQAjZYTXMpWb5kHxCMXzRi069Ku/4/xnWsD+S0dje1LiKzCnRpwTTxARzc/y10Y8OcygkMuR4unEaWedO+9syjjty3fBCcue/j7YlLitq5EC9UE4o23poWvWCuX9Tadm2DK5qf4p7smMJ22O22cLTYTVCyAoYTQ2xC8ajzBsBRkX80==yRRD -secmem.c iQCVAwUAQH5LLDEAnp832S/7AQKtFwQAwY2wBr6WJC1cwqp/1DQoKzHx9C3plONxbZMazwR7VMI83NUbBAbv1mcxpeZWXmb2dRrnsR1VBbNPDSbJLN5T6czLQ2nIb6mnq9u8Ip4SAa+GCWfDV4AUtAJ4hN/yvWo8iEKu+KD5iJ6xJh31NdXjt5yk6vnk46SA6R4FkHdIEXc==UKVr -secmem.h iQCVAwUAQH5LTDEAnp832S/7AQIsJwQAkZUu4hvmh9NXCLNm98+tGZFzWYvZO/NffC2wdPE8Q/OTa/m3g+oBbEhaV1ze3oY4t1F/p7ZHFx5CsIp4zVjyPkxlni8AAVMUOQr/LopyxouHn2OjKO+dVqecWQf01+nPWjklbL2FZ3mQ99k2qeWZlVSkz0nm8u39F3v7z3OTCss==AJqE -sexp.c iQCVAwUAQH5LojEAnp832S/7AQKCTQQArlrj1KGwR2x93fcyN3M0iXuGkBq5R9KNu+1Bq04G4SLlpZ1RRY0OjV3L9To1BHTd01lXlO8MNz7NpRxWlG1Sw5FohbBlhWZQRcW8GdAawJPcfIY2Y8Ek6Yx8quZKbk9uD3bcBmStmg0P+TIA0nr20bmtfB3uX2KQVHQqWZQT5qU==P8FE -stdmem.c iQCVAwUAQH5LzjEAnp832S/7AQLOUAP9FU16itXBBrkfRDGmhUjAOeEEKdd+brQ3XdT8xoLvP/IH/6U1Kq3ampP2/xcL4kwVdz2rw6NRzP7jlL/yM3tW722lSS/JPJkH+2+qUkcb0fYNoql/WYPMYp1/Mzu6ttXnjag1cQGlKIyYAD+G6h3FtpLwQy0hEJopnF9+Ovd8U7A==CkiZ -stdmem.h iQCVAwUAQH5L8jEAnp832S/7AQIH0wP+Lyqh0tj++s2L79Tmf/gqgCK+HLMxTddcewF3XbsYf9T5FmLez1gz6Ggti4Ss9VjozOA3ti3trCiA/YNRmV9AYw4zLUPm+MsjJuveL/AgB9HdoD2v+RfJm0WwgSKiysp+8iyjg3Plopmhba4cGuOP5MJ3CWTqYwPmJVscUKC6g38==02MN - -types.h iQCVAwUAQH5MKTEAnp832S/7AQLqTAP6A3mUMD5MMkBkebq4bRY6Bq0KsgdKfZ8TLhc2o87gFay8YD0Uom3YJNG2LF/rAIct2ih4jYJaIb5dRfJ0KJoPi2ETd462J8OFCL4fjq9TaSjB2pXcB+kWoxzPasGNg2Ukk0dQ6lvF1tSYrtt32PVI7q/UaPsjTylgRmzLfX/VxrU==OMu3 - - -# Configuration -Makefile.am iQCVAwUAQH5WVjEAnp832S/7AQLmsQP/bbI8/UWAC5yITVhGcCOCbN/FaMqXVKjxESzo6GTs02jxK1y3RuuaoNU1ssQZGAxpFiMJW8u933V3yTHFMxWpwHemDnEyv/a8YACxJBQ0tQgpgHS716BjMbHOfcuOis2WlCOOm0ErjhAYNa4NQ1q3jwkOvTDLFpdnqaWI2wWn08U==Yjun -libgcrypt.m4 iQCVAwUAQH5MbTEAnp832S/7AQJ1uAQA1C6xI7qXiKVtUeXawhPytAldosrzcXmqz34xi7JklQqw83d68WtWHFMBEUa7MKfi4WCbuQb7FjGUvMRw5z/T9ez7CoDekHc63+cIIZLQ23weUK8GaA1uQLoD0scmT41J5RkBlJbH7ck1zRd3d04o75rWNEUNit6KBvrQ4Pd8oQ8==uMgB -libgcrypt-config.in iQCVAwUAQH5UbzEAnp832S/7AQJISgP+Nbd2AQnDM/k8sQLbvz8YZjwX3LigZM+AkF1VAwyAm6YOU3nrXnz5t+cXkQD2dkz4L2F0AAsIkFiJsrgmZgCp2h1L6LeFnH+hoId9RhbYw4NkDaHb+MC9JcalpcfFvvxq6vM/W37bSFimM78P+5RLKypXCytVQNAAaIRgZjVfXY8==IGDS -libgcrypt.vers iQCVAwUAQH5MjTEAnp832S/7AQKCdQQAotG6Z3zdcePI0V33YY2sh91uYkLBNhQw+PzyE3BRRAVhMGLOBD1nSWJHJvE3eyCVOqFY0ZmvpVex51Fa0D/TwsJOO4RVxf1L9bbAncu9OuEXaGXKytLZp54TliDTAWGDq0lvtx1TvDDgtM8TbbaXvMbjfQ4wXBxdLvaenFCTlR4==kgHq - -$names$ iQCVAwUAQH5UhDEAnp832S/7AQK/jwP9H7A3mI99M1NGuhD+16C+2gJIITB8GJeYeUd3vm8kWQ5n76WyMCdeA62qn0JUddIBjAbagtfvTL5aesnD9MlhEGaNlHauU7SINTIJ8njKf87EAAfDZrhS/tGDziC2nakMPweRxXQCLDWHkBPjYfrspSLLohjdegqBvTNyVM76+KE==3p9Z |