diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-09-20 23:05:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-09-20 23:19:07 +0200 |
commit | f3df524b625c1492a9d72ec5d36cb08471296e47 (patch) | |
tree | 94332bc4eb0c0042d214c1b24f6f12147f46cfe4 /tests/libtest/lib552.c | |
parent | c47148f14213505b964d1fa928e3603143423e00 (diff) |
configure: check for gcrypt if using GnuTLS
1 - libcurl assumes that there are gcrypt functions available when
GnuTLS is.
2 - GnuTLS can be built to use libnettle instead as crypto library,
which breaks assumption (1)
This change makes configure make sure that if GnuTLS is requested and
detected, it also makes sure that gcrypt is present or it errors
out. This is mostly a way to make the user more aware of this flaw, the
correct fix would be to detect which crypto layer that is in use and
adapt our code to use that instead of blindly assuming gcrypt.
Reported by: Michal Gorny
Bug: http://curl.haxx.se/bug/view.cgi?id=3071038
Diffstat (limited to 'tests/libtest/lib552.c')
0 files changed, 0 insertions, 0 deletions