Project

General

Profile

Bug #129

Build fails with >=gcrypt-1.6.0

Added by Harald Judt almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Operating System:
Linux
Affected version:
Affected revision:

Description

Build from git fails with newest gcrypt version because of a struct change. Attached you will find a patch that fixes the build. I did a quick test, and so far crypt functions seem to work (password generation?). Obviously one should check for the gcrypt version because with this applied I'm quite sure it breaks build with older versions of gcrypt. Unfortunately, I haven't found a way to check for version ranges.

0001-Fix-build-with-gcrypt-1.6.0.patch Magnifier (956 Bytes) Harald Judt, 12/20/2013 06:43 PM

Associated revisions

Revision 8c7e6552
Added by Felix Geyer over 3 years ago

Add compatibility with libgcrypt 1.6.

Closes #129

History

#1 Updated by Felix Geyer almost 4 years ago

Unfortunately, I haven't found a way to check for version ranges.

libgcrypt defines GCRYPT_VERSION_NUMBER

The libgcrypt documentation is not very helpful as it hasn't been updated to reflect the changes in 1.6.
It looks like the gcry_control(GCRYCTL_SET_THREAD_CBS, ...) call isn't necessary anymore but I'm not sure.

#2 Updated by Felix Geyer over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Felix Geyer over 3 years ago

  • Target version set to 2.0 Alpha 6

Also available in: Atom PDF