Skip to content

Commit 16c694c

Browse files
wojnilowiczlsh123
authored andcommitted
Fix undefined GNUTLS_E_SUCCESS (lsh123#267)
If xmlsec1 is configured like below ./configure --disable-dsa --disable-rsa then it fails to build reporting that GNUTLS_E_SUCCESS is undefined.
1 parent cab1afa commit 16c694c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/xmlsec/gnutls/crypto.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
#include <xmlsec/keys.h>
1414
#include <xmlsec/transforms.h>
1515
#include <xmlsec/dl.h>
16-
#ifndef XMLSEC_NO_DSA
1716
#include <gnutls/gnutls.h>
17+
#ifndef XMLSEC_NO_DSA
1818
#include <gnutls/x509.h>
1919
#endif /* XMLSEC_NO_DSA */
2020
#ifndef XMLSEC_NO_RSA
21-
#include <gnutls/gnutls.h>
2221
#include <gnutls/x509.h>
2322
#endif /* XMLSEC_NO_RSA */
2423

0 commit comments

Comments
 (0)