checking mpz_export return value properly
authorMartin Willi <martin@strongswan.org>
Wed, 17 Sep 2008 08:10:48 +0000 (08:10 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 17 Sep 2008 08:10:48 +0000 (08:10 -0000)
commit73f6886a509cd08c61ed0498deebae24a170a8a5
treea97d85ce61065fd5548874883a5501be41626509
parentb33c11b6c73e507adbb853a1c486fa0bdae29f6b
checking mpz_export return value properly
fixes a potential DoS attack if a DH value of zero gets processed
src/libstrongswan/plugins/gmp/gmp_diffie_hellman.c
src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
src/openac/openac.c