Fix usage of dlerror to conform to POSIX.
authorWerner Koch <wk@gnupg.org>
Wed, 7 Nov 2012 20:38:27 +0000 (21:38 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 7 Nov 2012 20:38:27 +0000 (21:38 +0100)
commitc3a5448379cdf07b408a265fe8f477901524170d
tree667fdbc8a2c83ad85a19e8f063b889c79972f51a
parentb1abc01d4ad199258b3d2fb579ac06c6fea747fd
Fix usage of dlerror to conform to POSIX.

* cipher/idea-stub.c: Clear last error before dlsym.
--

This is required for NetBSD.

Reported-by: Thomas Klausner
cipher/idea-stub.c