summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* explicit type conversions when neededNikos Mavrogiannopoulos2014-03-085-50/+51
|
* more fixes due to clangNikos Mavrogiannopoulos2014-03-088-10/+13
|
* silence some warningsNikos Mavrogiannopoulos2014-03-081-2/+2
|
* clang warning fixesNikos Mavrogiannopoulos2014-03-084-7/+16
|
* removed unused variables.Nikos Mavrogiannopoulos2014-03-081-6/+2
|
* Fix build failures on autogen'ed docsKevin Cernekee2014-03-081-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | autogen needs to be invoked with $(srcdir)/<FOO>-args.def or else it will not be able to find the input file if GnuTLS is built out of tree, e.g. mkdir build cd build ../configure make Also, add missing targets for %-args.h, to avoid this error: make[2]: Entering directory `/home/user/gnutls/src' autogen srptool-args.def autogen psk-args.def make[2]: *** No rule to make target `ocsptool-args.h', needed by `all'. Stop. make[2]: Leaving directory `/home/user/gnutls/src' make[1]: *** [all-recursive] Error 1 For portability's sake we will spell out the rule for each target instead of using a GNU '%' pattern rule: https://www.gnu.org/software/make/manual/html_node/Features.html#Features Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* Fix build failures involving doc/invoke-*.texiKevin Cernekee2014-03-082-117/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several problems were found in this area: 1) Currently, if SRC_DEF_* are undefined, autogen will get invoked with no input file and it will hang forever waiting for content from stdin: mv -f enums.texi-tmp enums.texi mkdir enums ../../doc/scripts/split-texi.pl enums enum < enums.texi echo stamp_enums > stamp_enums cd ../src/ && autogen -Tagtexi-cmd.tpl && \ rm -f ../doc/invoke-gnutls-cli.texi && \ ../doc/scripts/cleanup-autogen.pl <../src/invoke-gnutls-cli.texi >../doc/invoke-gnutls-cli.texi.tmp && \ mv -f ../doc/invoke-gnutls-cli.texi.tmp ../doc/invoke-gnutls-cli.texi && \ rm -f ../src/invoke-gnutls-cli.texi <HANG> Since these documents are @include'd by other documents, it is probably a good idea to make sure the targets are buildable in case they get listed as prerequisites. 2) SRC_DEF_* used relative paths which are correct for an in-place build, but incorrect for an out-of-tree build. They should use something like $(top_srcdir)/src to resolve the ambiguity. 3) cleanup-autogen.pl was also referenced using a relative pathname, breaking out-of-tree builds. 4) The non-portable "sed -i" flag was used. Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* README-alpha: Add gperf dependency for building from gitKevin Cernekee2014-03-081-1/+2
| | | | | | | Without gperf, priority-options.h does not get built and this results in a compile error. Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* updated gnulibKevin Cernekee2014-03-082-2/+3
| | | | | | | This pulls in upstream commit cb3c90598 (stdint, read-file: fix missing SIZE_MAX on Android). Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* more type separationNikos Mavrogiannopoulos2014-03-071-7/+12
|
* use psktool-argsNikos Mavrogiannopoulos2014-03-071-2/+2
|
* more type separationNikos Mavrogiannopoulos2014-03-071-8/+9
|
* separated types for easier verificationNikos Mavrogiannopoulos2014-03-071-26/+29
|
* Rename psk-args.def to psktool-args.defKevin Cernekee2014-03-075-6/+6
| | | | | | | | | Other utilities generate invoke-%.texi from %-args.def, but currently invoke-psktool.texi is generated from psk-args.def. If we make psktool conform to the same convention as the other utilities, we can use a generic pattern to handle all of them the same way. Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* doc: Fix enums.texi failure on out-of-tree buildsKevin Cernekee2014-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | enums.texi is a generated file so we should not look for it in $(srcdir). When we do, chaos ensues: mv -f enums.texi-tmp enums.texi mkdir enums ../../doc/scripts/split-texi.pl enums enum < ../../doc/enums.texi /bin/bash: ../../doc/enums.texi: No such file or directory make[4]: *** [stamp_enums] Error 1 make[4]: Leaving directory `/home/user/gnutls/build/doc' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/user/gnutls/build/doc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/user/gnutls/build/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/gnutls/build' make: *** [all] Error 2 Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* Ensure failure when no base64 data have been read. Suggested by Ramkumar ↵Nikos Mavrogiannopoulos2014-03-061-6/+11
| | | | Chinchani.
* xssl compilation fix; patch by Colin LeroyNikos Mavrogiannopoulos2014-03-061-1/+1
|
* Fixed checking the length of a null stringJason Spafford2014-03-061-3/+3
| | | | | | | | in cdk_strlist_add, it would check the strlen of the 'string' parameter before it checked if the parameter was null. Signed-off-by Jason Spafford nullprogrammer@gmail.com
* Added symbol check prior to release (after discussion with Andreas Metzler)Nikos Mavrogiannopoulos2014-03-062-0/+950
|
* updated docNikos Mavrogiannopoulos2014-03-062-55/+110
|
* updated build-aux filesNikos Mavrogiannopoulos2014-03-062-18/+28
|
* removed no-split as it causes issues in pdf buildingNikos Mavrogiannopoulos2014-03-061-1/+1
|
* removed all networking code from libglNikos Mavrogiannopoulos2014-03-0619-1036/+5
|
* Overridewq AUTOGEN under --enable-local-libopts only if autogen is not needed.Nick Alcock2014-03-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | After commit 6addbc3, specifying --enable-local-libopts unconditionally replaces the autogen-erated files with their distributed copies, and substitutes AUTOGEN to false. The assumption here is that if --enable-local-libopts is not specified, autogen cannot be installed, and that the distributed copies necessarily exist. Neither assumption is always correct. e.g. someone building a 32-bit copy of GnuTLS from git with a copy of autogen on their system will have a 64-bit copy of libopts, and a working /usr/bin/autogen, but not a 32-bit libopts. Since building autogen depends on Guile, this is a rather heavyweight pile of gear to require. (You can force a successful build in this case, but it requires providing AUTOGEN=/usr/bin/autogen to make(1), which is distinctly inelegant.) So fix things so that if any of the distributed copies do not exist, we do not substitute AUTOGEN, so as to let any copy of autogen that configure found on the system do its job if necessary, while not forcing the user to link against the copy of libopts which came with that autogen. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* session tickets can be disabledNikos Mavrogiannopoulos2014-03-057-1/+34
|
* increased code disabled from disable-ocsp and disable-openpgp optionsNikos Mavrogiannopoulos2014-03-057-4/+23
|
* NEW_PADDING has been removed.Nikos Mavrogiannopoulos2014-03-0518-654/+26
| | | | | | | This extension did not get accepted by IETF so it is now being removed. The gnutls_range API is kept in case length hiding is implemented in a different way at some point.
* doc: Add indices to the gnutls-guile manual.Ludovic Courtès2014-03-051-2/+15
|
* re-introduced rsa-export configure optionNikos Mavrogiannopoulos2014-03-041-0/+14
| | | | This broke backwards compatibility. Reported by Andreas Metzler.
* examples include both gnulibsNikos Mavrogiannopoulos2014-03-041-0/+2
|
* Added getpass in src/glNikos Mavrogiannopoulos2014-03-0428-2/+2939
|
* removed getpass from gl/Nikos Mavrogiannopoulos2014-03-0428-1603/+2
|
* more gl updatesNikos Mavrogiannopoulos2014-03-043-3/+7
|
* changes for new gnulib in src/Nikos Mavrogiannopoulos2014-03-041-1/+2
|
* corrent error print in win32Nikos Mavrogiannopoulos2014-03-041-2/+2
|
* Changes to account for the reduced included gnulibNikos Mavrogiannopoulos2014-03-042-15/+18
|
* added missing declarationNikos Mavrogiannopoulos2014-03-041-0/+1
|
* removed any dependencies to gnulib network stuffNikos Mavrogiannopoulos2014-03-041-7/+0
|
* avoid gnulib's insistence to replace strerrorNikos Mavrogiannopoulos2014-03-042-0/+6
|
* All socket options were moved to src/glNikos Mavrogiannopoulos2014-03-0487-2/+19607
|
* removed unused gnulib crapNikos Mavrogiannopoulos2014-03-04117-14332/+74
|
* fixed more memory leaks in crywrapNikos Mavrogiannopoulos2014-03-031-0/+10
|
* addressed memory leak in crywrap.cNikos Mavrogiannopoulos2014-03-031-2/+4
|
* check the blacklist for certificates provided in ↵Nikos Mavrogiannopoulos2014-03-021-0/+8
| | | | gnutls_x509_trust_list_verify_named_crt().
* corrected configure option.Nikos Mavrogiannopoulos2014-03-023-20/+8
|
* rsa-export is no moreNikos Mavrogiannopoulos2014-03-021-1/+0
|
* updated option for TPMNikos Mavrogiannopoulos2014-03-021-1/+1
|
* updatedNikos Mavrogiannopoulos2014-03-021-4/+4
|
* replace select() on windowsNikos Mavrogiannopoulos2014-03-021-13/+18
|
* print message before failing when the pull timeout function isn't replaced.Nikos Mavrogiannopoulos2014-03-021-1/+3
|