Ticket #3424: 001-handle-minimal-build.patch

File 001-handle-minimal-build.patch, 14.6 KB (added by Simon Josefsson <simon@…>, 10 years ago)

libgcrypt patches/ file to deal with build problems

  • cipher/pubkey.c

    Only in libgcrypt-1.4.1/cipher: ac.lo
    Only in libgcrypt-1.4.1/cipher: ac.o
    Only in libgcrypt-1.4.1/cipher: arcfour.lo
    Only in libgcrypt-1.4.1/cipher: arcfour.o
    Only in libgcrypt-1.4.1/cipher: cipher.lo
    Only in libgcrypt-1.4.1/cipher: cipher.o
    Only in libgcrypt-1.4.1/cipher: .deps
    Only in libgcrypt-1.4.1/cipher: des.lo
    Only in libgcrypt-1.4.1/cipher: des.o
    Only in libgcrypt-1.4.1/cipher: dsa.lo
    Only in libgcrypt-1.4.1/cipher: dsa.o
    Only in libgcrypt-1.4.1/cipher: libcipher.la
    Only in libgcrypt-1.4.1/cipher: .libs
    Only in libgcrypt-1.4.1/cipher: Makefile
    Only in libgcrypt-1.4.1/cipher: md5.lo
    Only in libgcrypt-1.4.1/cipher: md5.o
    Only in libgcrypt-1.4.1/cipher: md.lo
    Only in libgcrypt-1.4.1/cipher: md.o
    Only in libgcrypt-1.4.1/cipher: primegen.lo
    Only in libgcrypt-1.4.1/cipher: primegen.o
    diff -ur libgcrypt-1.4.1.orig/cipher/pubkey.c libgcrypt-1.4.1/cipher/pubkey.c
    old new  
    11/* pubkey.c  -  pubkey dispatcher 
    22 * Copyright (C) 1998, 1999, 2000, 2002, 2003, 
    3  *               2005, 2007 Free Software Foundation, Inc. 
     3 *               2005, 2007, 2008 Free Software Foundation, Inc. 
    44 * 
    55 * This file is part of Libgcrypt. 
    66 * 
     
    805805  return err; 
    806806} 
    807807 
     808#if USE_ECC 
    808809/* Internal function used for ecc.  Note, that this function makes use 
    809810   of its intimate knowledge about the ECC parameters from ecc.c. */ 
    810811static gcry_err_code_t 
     
    887888    } 
    888889  return err; 
    889890} 
    890  
     891#endif 
    891892 
    892893 
    893894/**************** 
     
    978979    err = gpg_err_code_from_errno (errno); 
    979980  if (!err) 
    980981    { 
     982#if USE_ECC 
    981983      if (is_ecc) 
    982984        err = sexp_elements_extract_ecc (list, elems, array); 
    983985      else 
     986#endif 
    984987        err = sexp_elements_extract (list, elems, array, pubkey->name); 
    985988    } 
    986989   
  • libgcrypt-1.4.1

    Only in libgcrypt-1.4.1/cipher: pubkey.c~
    Only in libgcrypt-1.4.1/cipher: pubkey.lo
    Only in libgcrypt-1.4.1/cipher: pubkey.o
    Only in libgcrypt-1.4.1/cipher: random.lo
    Only in libgcrypt-1.4.1/cipher: random.o
    Only in libgcrypt-1.4.1/cipher: rijndael.lo
    Only in libgcrypt-1.4.1/cipher: rijndael.o
    Only in libgcrypt-1.4.1/cipher: rmd160.lo
    Only in libgcrypt-1.4.1/cipher: rmd160.o
    Only in libgcrypt-1.4.1/cipher: rndhw.lo
    Only in libgcrypt-1.4.1/cipher: rndhw.o
    Only in libgcrypt-1.4.1/cipher: rndlinux.lo
    Only in libgcrypt-1.4.1/cipher: rndlinux.o
    Only in libgcrypt-1.4.1/cipher: rsa.lo
    Only in libgcrypt-1.4.1/cipher: rsa.o
    Only in libgcrypt-1.4.1/cipher: sha1.lo
    Only in libgcrypt-1.4.1/cipher: sha1.o
    Only in libgcrypt-1.4.1/cipher: sha256.lo
    Only in libgcrypt-1.4.1/cipher: sha256.o
    Only in libgcrypt-1.4.1: config.h
    Only in libgcrypt-1.4.1: config.log
    Only in libgcrypt-1.4.1: config.status
    Only in libgcrypt-1.4.1/doc: Makefile
    Only in libgcrypt-1.4.1: libtool
    Only in libgcrypt-1.4.1/m4: Makefile
    Only in libgcrypt-1.4.1: Makefile
    Only in libgcrypt-1.4.1/mpi: asm-syntax.h
    Only in libgcrypt-1.4.1/mpi: .deps
    Only in libgcrypt-1.4.1/mpi: ec.lo
    Only in libgcrypt-1.4.1/mpi: ec.o
    Only in libgcrypt-1.4.1/mpi: libmpi.la
    Only in libgcrypt-1.4.1/mpi: .libs
    Only in libgcrypt-1.4.1/mpi: Makefile
    Only in libgcrypt-1.4.1/mpi: mod-source-info.h
    Only in libgcrypt-1.4.1/mpi: mpi-add.lo
    Only in libgcrypt-1.4.1/mpi: mpi-add.o
    Only in libgcrypt-1.4.1/mpi: mpi-asm-defs.h
    Only in libgcrypt-1.4.1/mpi: mpi-bit.lo
    Only in libgcrypt-1.4.1/mpi: mpi-bit.o
    Only in libgcrypt-1.4.1/mpi: mpi-cmp.lo
    Only in libgcrypt-1.4.1/mpi: mpi-cmp.o
    Only in libgcrypt-1.4.1/mpi: mpicoder.lo
    Only in libgcrypt-1.4.1/mpi: mpicoder.o
    Only in libgcrypt-1.4.1/mpi: mpi-div.lo
    Only in libgcrypt-1.4.1/mpi: mpi-div.o
    Only in libgcrypt-1.4.1/mpi: mpi-gcd.lo
    Only in libgcrypt-1.4.1/mpi: mpi-gcd.o
    Only in libgcrypt-1.4.1/mpi: mpih-add1-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-add1-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-add1-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-div.lo
    Only in libgcrypt-1.4.1/mpi: mpih-div.o
    Only in libgcrypt-1.4.1/mpi: mpih-lshift-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-lshift-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-lshift-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-mul1-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-mul1-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-mul1-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-mul2-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-mul2-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-mul2-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-mul3-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-mul3-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-mul3-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-mul.lo
    Only in libgcrypt-1.4.1/mpi: mpih-mul.o
    Only in libgcrypt-1.4.1/mpi: mpih-rshift-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-rshift-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-rshift-asm.S
    Only in libgcrypt-1.4.1/mpi: mpih-sub1-asm.lo
    Only in libgcrypt-1.4.1/mpi: mpih-sub1-asm.o
    Only in libgcrypt-1.4.1/mpi: mpih-sub1-asm.S
    Only in libgcrypt-1.4.1/mpi: mpi-inline.lo
    Only in libgcrypt-1.4.1/mpi: mpi-inline.o
    Only in libgcrypt-1.4.1/mpi: mpi-inv.lo
    Only in libgcrypt-1.4.1/mpi: mpi-inv.o
    Only in libgcrypt-1.4.1/mpi: mpi-mod.lo
    Only in libgcrypt-1.4.1/mpi: mpi-mod.o
    Only in libgcrypt-1.4.1/mpi: mpi-mpow.lo
    Only in libgcrypt-1.4.1/mpi: mpi-mpow.o
    Only in libgcrypt-1.4.1/mpi: mpi-mul.lo
    Only in libgcrypt-1.4.1/mpi: mpi-mul.o
    Only in libgcrypt-1.4.1/mpi: mpi-pow.lo
    Only in libgcrypt-1.4.1/mpi: mpi-pow.o
    Only in libgcrypt-1.4.1/mpi: mpi-scan.lo
    Only in libgcrypt-1.4.1/mpi: mpi-scan.o
    Only in libgcrypt-1.4.1/mpi: mpiutil.lo
    Only in libgcrypt-1.4.1/mpi: mpiutil.o
    Only in libgcrypt-1.4.1/mpi: sysdep.h
    Only in libgcrypt-1.4.1/src: .deps
    Only in libgcrypt-1.4.1/src: dumpsexp
    Only in libgcrypt-1.4.1/src: dumpsexp.o
    Only in libgcrypt-1.4.1/src: libgcrypt-config
    Only in libgcrypt-1.4.1/src: libgcrypt.la
    Only in libgcrypt-1.4.1/src: libgcrypt_la-ath.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-ath.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-global.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-global.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-hwfeatures.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-hwfeatures.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-misc.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-misc.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-missing-string.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-missing-string.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-module.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-module.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-secmem.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-secmem.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-sexp.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-sexp.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-stdmem.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-stdmem.o
    Only in libgcrypt-1.4.1/src: libgcrypt_la-visibility.lo
    Only in libgcrypt-1.4.1/src: libgcrypt_la-visibility.o
    Only in libgcrypt-1.4.1/src: .libs
    Only in libgcrypt-1.4.1/src: Makefile
    Only in libgcrypt-1.4.1/src: versioninfo.rc
    Only in libgcrypt-1.4.1: stamp-h1
    Only in libgcrypt-1.4.1/tests: ac
    Only in libgcrypt-1.4.1/tests: ac-data
    Only in libgcrypt-1.4.1/tests: ac-data.o
    Only in libgcrypt-1.4.1/tests: ac.o
    Only in libgcrypt-1.4.1/tests: ac-schemes
    Only in libgcrypt-1.4.1/tests: ac-schemes.o
    Only in libgcrypt-1.4.1/tests: basic
    diff -ur libgcrypt-1.4.1.orig/tests/basic.c libgcrypt-1.4.1/tests/basic.c
    old new  
    11/* basic.c  -  basic regression tests 
    2  *      Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 
     2 *      Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. 
    33 * 
    44 * This file is part of Libgcrypt. 
    55 * 
     
    11371137    const char *expect; 
    11381138  } algos[] = 
    11391139    { 
     1140#if USE_MD4 
    11401141      { GCRY_MD_MD4, "", 
    11411142        "\x31\xD6\xCF\xE0\xD1\x6A\xE9\x31\xB7\x3C\x59\xD7\xE0\xC0\x89\xC0" }, 
    11421143      { GCRY_MD_MD4, "a", 
    11431144        "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46\x24\x5e\x05\xfb\xdb\xd6\xfb\x24" }, 
    11441145      { GCRY_MD_MD4, "message digest", 
    11451146        "\xd9\x13\x0a\x81\x64\x54\x9f\xe8\x18\x87\x48\x06\xe1\xc7\x01\x4b" }, 
     1147#endif 
     1148#if USE_MD4 
    11461149      { GCRY_MD_MD5, "", 
    11471150        "\xD4\x1D\x8C\xD9\x8F\x00\xB2\x04\xE9\x80\x09\x98\xEC\xF8\x42\x7E" }, 
    11481151      { GCRY_MD_MD5, "a", 
     
    11511154        "\x90\x01\x50\x98\x3C\xD2\x4F\xB0\xD6\x96\x3F\x7D\x28\xE1\x7F\x72" }, 
    11521155      { GCRY_MD_MD5, "message digest", 
    11531156        "\xF9\x6B\x69\x7D\x7C\xB7\x93\x8D\x52\x5A\x2F\x31\xAA\xF1\x61\xD0" }, 
     1157#endif 
     1158#if USE_SHA1 
    11541159      { GCRY_MD_SHA1, "abc", 
    11551160        "\xA9\x99\x3E\x36\x47\x06\x81\x6A\xBA\x3E" 
    11561161        "\x25\x71\x78\x50\xC2\x6C\x9C\xD0\xD8\x9D" }, 
     
    11611166      { GCRY_MD_SHA1, "!" /* kludge for "a"*1000000 */ , 
    11621167        "\x34\xAA\x97\x3C\xD4\xC4\xDA\xA4\xF6\x1E" 
    11631168        "\xEB\x2B\xDB\xAD\x27\x31\x65\x34\x01\x6F" }, 
     1169#endif 
     1170#if USE_SHA224 
    11641171      /* From RFC3874 */ 
    11651172      { GCRY_MD_SHA224, "abc", 
    11661173        "\x23\x09\x7d\x22\x34\x05\xd8\x22\x86\x42\xa4\x77\xbd\xa2\x55\xb3" 
     
    11721179      { GCRY_MD_SHA224, "!", 
    11731180        "\x20\x79\x46\x55\x98\x0c\x91\xd8\xbb\xb4\xc1\xea\x97\x61\x8a\x4b" 
    11741181        "\xf0\x3f\x42\x58\x19\x48\xb2\xee\x4e\xe7\xad\x67" }, 
     1182#endif 
     1183#if USE_SHA256 
    11751184      { GCRY_MD_SHA256, "abc", 
    11761185        "\xba\x78\x16\xbf\x8f\x01\xcf\xea\x41\x41\x40\xde\x5d\xae\x22\x23" 
    11771186        "\xb0\x03\x61\xa3\x96\x17\x7a\x9c\xb4\x10\xff\x61\xf2\x00\x15\xad" }, 
     
    11821191      { GCRY_MD_SHA256, "!", 
    11831192        "\xcd\xc7\x6e\x5c\x99\x14\xfb\x92\x81\xa1\xc7\xe2\x84\xd7\x3e\x67" 
    11841193        "\xf1\x80\x9a\x48\xa4\x97\x20\x0e\x04\x6d\x39\xcc\xc7\x11\x2c\xd0" }, 
     1194#endif 
     1195#if USE_SHA384 
    11851196      { GCRY_MD_SHA384, "abc", 
    11861197        "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b\xb5\xa0\x3d\x69\x9a\xc6\x50\x07" 
    11871198        "\x27\x2c\x32\xab\x0e\xde\xd1\x63\x1a\x8b\x60\x5a\x43\xff\x5b\xed" 
    11881199        "\x80\x86\x07\x2b\xa1\xe7\xcc\x23\x58\xba\xec\xa1\x34\xc8\x25\xa7" }, 
     1200#endif 
     1201#if USE_SHA512 
    11891202      { GCRY_MD_SHA512, "abc", 
    11901203        "\xDD\xAF\x35\xA1\x93\x61\x7A\xBA\xCC\x41\x73\x49\xAE\x20\x41\x31" 
    11911204        "\x12\xE6\xFA\x4E\x89\xA9\x7E\xA2\x0A\x9E\xEE\xE6\x4B\x55\xD3\x9A" 
    11921205        "\x21\x92\x99\x2A\x27\x4F\xC1\xA8\x36\xBA\x3C\x23\xA3\xFE\xEB\xBD" 
    11931206        "\x45\x4D\x44\x23\x64\x3C\xE8\x0E\x2A\x9A\xC9\x4F\xA5\x4C\xA4\x9F" }, 
     1207#endif 
    11941208      { GCRY_MD_RMD160, "", 
    11951209        "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28" 
    11961210        "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31" }, 
     
    12031217      { GCRY_MD_RMD160, "message digest", 
    12041218        "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8" 
    12051219        "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36" }, 
     1220#if USE_CRC 
    12061221      { GCRY_MD_CRC32, "", "\x00\x00\x00\x00" }, 
    12071222      { GCRY_MD_CRC32, "foo", "\x8c\x73\x65\x21" }, 
    12081223      { GCRY_MD_CRC32_RFC1510, "", "\x00\x00\x00\x00" }, 
     
    12221237#endif 
    12231238      { GCRY_MD_CRC24_RFC2440, "", "\xb7\x04\xce" }, 
    12241239      { GCRY_MD_CRC24_RFC2440, "foo", "\x4f\xc2\x55" }, 
     1240#endif 
     1241#if USE_TIGER 
    12251242      { GCRY_MD_TIGER, "", 
    12261243        "\x24\xF0\x13\x0C\x63\xAC\x93\x32\x16\x16\x6E\x76" 
    12271244        "\xB1\xBB\x92\x5F\xF3\x73\xDE\x2D\x49\x58\x4E\x7A" }, 
     
    12581275        "TUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-", 
    12591276        "\x00\xB8\x3E\xB4\xE5\x34\x40\xC5\x76\xAC\x6A\xAE" 
    12601277        "\xE0\xA7\x48\x58\x25\xFD\x15\xE7\x0A\x59\xFF\xE4" }, 
     1278#endif 
     1279#if USE_WHIRLPOOL 
    12611280      { GCRY_MD_WHIRLPOOL, "", 
    12621281        "\x19\xFA\x61\xD7\x55\x22\xA4\x66\x9B\x44\xE3\x9C\x1D\x2E\x17\x26" 
    12631282        "\xC5\x30\x23\x21\x30\xD4\x07\xF8\x9A\xFE\xE0\x96\x49\x97\xF7\xA7" 
     
    12851304        "\x29\x05\x7F\xD8\x6B\x20\xBF\xD6\x2D\xEC\xA0\xF1\xCC\xEA\x4A\xF5" 
    12861305        "\x1F\xC1\x54\x90\xED\xDC\x47\xAF\x32\xBB\x2B\x66\xC3\x4F\xF9\xAD" 
    12871306        "\x8C\x60\x08\xAD\x67\x7F\x77\x12\x69\x53\xB2\x26\xE4\xED\x8B\x01" }, 
     1307#endif 
    12881308      { 0 }, 
    12891309    }; 
    12901310  int i; 
     
    15231543        "\xaa\xaa\xaa", 
    15241544        "\x3a\x85\x41\x66\xac\x5d\x9f\x02\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd" 
    15251545        "\x94\x67\x70\xdb\x9c\x2b\x95\xc9\xf6\xf5\x65\xd1" }, 
     1546#if USE_SHA384 
    15261547      { GCRY_MD_SHA384, "what do ya want for nothing?", "Jefe", 
    15271548        "\xaf\x45\xd2\xe3\x76\x48\x40\x31\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b" 
    15281549        "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47\xe4\x2e\xc3\x73\x63\x22\x44\x5e" 
     
    15821603        "\x66\x17\x17\x8e\x94\x1f\x02\x0d\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c" 
    15831604        "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a\xdc\xce\xbb\x82\x46\x1e\x99\xc5" 
    15841605        "\xa6\x78\xcc\x31\xe7\x99\x17\x6d\x38\x60\xe6\x11\x0c\x46\x52\x3e" }, 
     1606#endif 
     1607#if USE_SHA512 
    15851608      { GCRY_MD_SHA512, "what do ya want for nothing?", "Jefe", 
    15861609        "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3" 
    15871610        "\x87\xbd\x64\x22\x2e\x83\x1f\xd6\x10\x27\x0c\xd7\xea\x25\x05\x54" 
     
    16471670        "\xde\xbd\x71\xf8\x86\x72\x89\x86\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44" 
    16481671        "\xb6\x02\x2c\xac\x3c\x49\x82\xb1\x0d\x5e\xeb\x55\xc3\xe4\xde\x15" 
    16491672        "\x13\x46\x76\xfb\x6d\xe0\x44\x60\x65\xc9\x74\x40\xfa\x8c\x6a\x58" }, 
     1673#endif 
    16501674      { 0 }, 
    16511675    }; 
    16521676  int i; 
     
    19311955          "\xc6\x39\x83\x1a\x43\xe5\x05\x5d\xc6\xd8" 
    19321956          "\x4a\xa6\xf9\xeb\x23\xbf\xa9\x12\x2d\x5b" } 
    19331957      }, 
     1958#if USE_ELGAMAL 
    19341959      { 
    19351960        GCRY_PK_ELG, FLAG_SIGN | FLAG_CRYPT, 
    19361961 
     
    19621987          "\xa7\x99\x61\xeb\x88\x83\xd2\xf4\x05\xc8" 
    19631988          "\x4f\xba\x06\xf8\x78\x09\xbc\x1e\x20\xe5" } 
    19641989      }, 
     1990#endif 
    19651991    }; 
    19661992  int i; 
    19671993  if (verbose) 
  • tests/pubkey.c

    Only in libgcrypt-1.4.1/tests: basic.c~
    Only in libgcrypt-1.4.1/tests: basic.o
    Only in libgcrypt-1.4.1/tests: benchmark
    Only in libgcrypt-1.4.1/tests: benchmark.o
    Only in libgcrypt-1.4.1/tests: .deps
    Only in libgcrypt-1.4.1/tests: hmac
    Only in libgcrypt-1.4.1/tests: hmac.o
    Only in libgcrypt-1.4.1/tests: keygen
    Only in libgcrypt-1.4.1/tests: keygen.o
    Only in libgcrypt-1.4.1/tests: keygrip
    Only in libgcrypt-1.4.1/tests: keygrip.o
    Only in libgcrypt-1.4.1/tests: .libs
    Only in libgcrypt-1.4.1/tests: Makefile
    Only in libgcrypt-1.4.1/tests: mpitests
    Only in libgcrypt-1.4.1/tests: mpitests.o
    Only in libgcrypt-1.4.1/tests: prime
    Only in libgcrypt-1.4.1/tests: prime.o
    Only in libgcrypt-1.4.1/tests: pubkey
    diff -ur libgcrypt-1.4.1.orig/tests/pubkey.c libgcrypt-1.4.1/tests/pubkey.c
    old new  
    11/* pubkey.c - Public key encryption/decryption tests 
    2  *      Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 
     2 *      Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. 
    33 * 
    44 * This file is part of Libgcrypt. 
    55 * 
     
    326326  gcry_sexp_release (pkey); 
    327327  gcry_sexp_release (skey); 
    328328 
     329#if USE_ELGAMAL 
    329330  if (verbose) 
    330331    fprintf (stderr, "Checking generated Elgamal key.\n"); 
    331332  get_elg_key_new (&pkey, &skey, 0); 
     
    339340  check_keys (pkey, skey, 800, 0); 
    340341  gcry_sexp_release (pkey); 
    341342  gcry_sexp_release (skey); 
     343#endif 
    342344} 
    343345 
    344346