summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * src/ne_openssl.c: Fix GCC warning with OpenSSL build.HEADmasterJoe Orton2023-05-101-1/+1
|
* * src/ne_locks.c (ne_lock_refresh): Clear NE_REQFLAG_IDEMPOTENTJoe Orton2023-05-101-0/+3
| | | | request flag.
* test/makekeys.sh: fix POSIX complianceorbea2023-05-091-3/+3
| | | | | | | | | | Not all shells provide 'echo -e' and using printf is more portable. One shell that will fail is dash(1). ssl................... 10/63 FAIL - dname_readable (certificate subject dname was `-e H\0350llo World, Neon Hackers Ltd, Cambridge, Cambridgeshire, GB' not `Hèllo World, Neon Hackers Ltd, Cambridge, Cambridgeshire, GB' Gentoo-Issue: https://bugs.gentoo.org/832851
* ne_openssl: Fix the build with libresslorbea2023-04-241-1/+3
| | | | | * Libressl 3.7 currently doesn't provide EVP_sha512_256(). * Libressl 3.4 added SSL_CTX_set_post_handshake_auth().
* * macros/neon-test.m4 (NEON_TEST_WITHOUT_CHILD):Joe Orton2023-01-291-1/+1
| | | | Fix macro name.
* Allow suppressing build of test suite child/server handling functionsJoe Orton2023-01-293-1/+16
| | | | | | | | | for embedded neon build, via NEON_TEST_WITHOUT_CHILD m4 macro. * macros/neon-test.m4: Define NEON_TEST_WITHOUT_CHILD. * test/common/child.c, test/common/tests.c: Suppress code dealing with child/server processes if NEON_TEST_NO_CHILD is defined.
* * src/ne_auth.c (insert_challenge): Compare hash algorithmJoe Orton2023-01-231-1/+2
| | | | | strength correctly after d4f70fc3b25797041e57600893a93e5df20bc327 although it appears to work (usually?) correctly anyway.
* Test against Ubuntu 22.04, tweak triggers.Joe Orton2023-01-231-2/+8
|
* Prep for 0.32.5.Joe Orton2023-01-211-1/+1
|
* News for 0.32.5. [skip ci]Joe Orton2023-01-211-2/+5
|
* * doc/ref: Small docs update for session flags and request pages. [skip ci]Joe Orton2023-01-212-4/+9
|
* Test building against libkrb5-dev directly.Joe Orton2023-01-191-2/+1
|
* Add GSSAPI testing to CI matrix.Joe Orton2023-01-191-1/+6
|
* Fail configure if --with-gssapi is used but GSSAPI library detectionJoe Orton2023-01-193-2/+17
| | | | | | | | | fails [fixes #102, issue #52] * macros/neon.m4 (NEON_GSSAPI): Fail if --with-gssapi is passed but library detection fails. Use NE_*_SUPPORT. * configure.in: Report GSSAPI library detection result.
* Silence Red Hat's PwnedAlert false positives. [skip ci]Joe Orton2023-01-161-0/+8
|
* Create pull_request_template.md [skip ci]Joe Orton2023-01-111-0/+6
|
* Add Georgian translation to ALL_LINGUAGES, update-po.Joe Orton2023-01-0611-191/+191
|
* * configure.ac, macros/neon-test.m4, macros/neon.m4:Joe Orton2023-01-033-4/+1
| | | | Update to avoid warnings with autoconf 2.70+. No functional change.
* Remove mailing list references throughout, add GitHub repoJoe Orton2022-12-2217-34/+33
| | | | URL instead. Update copyright notices in a few places.
* po: Add Georgian translationNorwayFun2022-12-191-0/+661
|
* src/ne_socket.c: honour both USE_GETADDRINFO and need for socklen_tJim Klimov2022-10-051-0/+2
|
* macros/neon.m4: switch from AC_CHECK_HEADER to AC_CHECK_HEADERS to define ↵Jim Klimov2022-10-051-1/+1
| | | | HAVE_<NAME>_H macros - for wspiapi.h
* macros/neon.m4: require use of "$NEON_LIBS -lws2_32" for Windows builds with ↵Jim Klimov2022-10-051-2/+6
| | | | MSYS2/MINGW to facilitate shared DLL linking
* macros/neon.m4: suggest bolting PKG_CONFIG_PATH for Windows builds with ↵Jim Klimov2022-10-051-1/+1
| | | | MSYS2/MINGW
* macros/neon.m4: fix LFS 64-bit support detection for Windows builds with ↵Jim Klimov2022-10-051-1/+6
| | | | | | MSYS2/MINGW Lifted from https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-libneon/neon-0.29.1-mingw.patch?expand=1
* src/ne_socket.c: fix use of Windows headersJim Klimov2022-10-051-1/+1
| | | | Lifted from https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-libneon/neon-0.29.1-mingw.patch?expand=1
* macros/neon.m4: fix checking for Windows headersJim Klimov2022-10-051-0/+4
| | | | Lifted from https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-libneon/neon-0.29.1-mingw.patch?expand=1
* macros/neon.m4: treat semi-native building for Windows with MSYS2 same as MINGWJim Klimov2022-10-051-2/+2
|
* macros/neon.m4: detect cross-building (e.g. in Linux) for mingw (Windows) ↵Jim Klimov2022-10-051-0/+9
| | | | output products
* Prepare for 0.32.4 release (update-po).Joe Orton2022-09-1112-443/+449
|
* Use GnuTLS system trust function if available.Joe Orton2022-09-102-0/+5
| | | | | | | | * src/ne_gnutls.c (ne_ssl_trust_default_ca): Use gnutls_certificate_set_x509_system_trust() if available. * macros/neon.m4 (NEON_SSL): Check for presence of gnutls_certificate_set_x509_system_trust.
* Treat spaces as safe in Digest usernames.Joe Orton2022-09-103-30/+37
| | | | | | | | * src/mktable.c: Add safe_username generator. * src/ne_auth.c: Regenerate safe_username table. * test/auth.c (digest_username_star): Adjust test accordingly.
* Fix Digest auth failure without algorithm=Joe Orton2022-09-092-21/+29
| | | | | | | | | | | | | Regression in 0.32.3 / 2b8e2e4e3568d10cdb3ef07b3ae4c699540479ea (issue #88) * src/ne_auth.c (digest_challenge): Don't adjust the default algorithm here, fail if it is not set. Tweak test order. (auth_challenge): Initialize alg to MD5, leave unset for unknown values during parsing. * test/auth.c (make_digest, verify_digest_header): Split qop= and algorithm= into two separate flags. (digest): Add test case for 2617-style auth without implicit algorithm.
* Prepare for 0.32.3 release.0.32.3Joe Orton2022-09-032-1/+8
|
* Add character lookup table generator utility, and fix a extparamJoe Orton2022-09-035-136/+325
| | | | | | | | | | | | encoding issue. * src/mktable.c: New file. * src/ne_string.c: Use generated character lookup tables. Use lookup tables for base64 validity tests. Fix extparam encoding for numerals. * test/string-tests.c (strparam): Add test for numerals.
* neon.m4: Find pkg-config using AC_PATH_TOOL to enable cross-compilingHugh McMaster2022-08-151-2/+2
| | | | AC_PATH_TOOL considers the host prefix when searching for a given program.
* * src/ne_stubssl.c (ne_ssl_cert_digest): Fix warning with GCC 12.Joe Orton2022-07-201-1/+1
|
* * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for gettimeofday.Joe Orton2022-07-201-1/+1
|
* * src/ne_auth.c (get_cnonce): Fix memory leak introduced inJoe Orton2022-07-201-1/+4
| | | | 3cc1e6916bfba255ab7234ad32428b743b521b63.
* * src/ne_auth.c (get_cnonce): Fix non-SSL build and warnings inJoe Orton2022-07-201-3/+3
| | | | SSL build for regressions in 3cc1e6916bfba255ab7234ad32428b743b521b63.
* Enable tests on PRs again.Joe Orton2022-07-201-1/+1
|
* * src/ne_auth.c (get_cnonce): Stop using ne_md5* API, switch toJoe Orton2022-07-203-19/+7
| | | | | | ne_strhash(). * src/ne_openssl.c, test/auth.c: Drop unused ne_md5.h include.
* * src/ne_auth.c: Abstract out hash algorithm handling for Digest.Joe Orton2022-07-202-78/+58
| | | | | | | | | | (struct hashalg): New structure, replacing auth_algorithm enum, alg_to_hash and alg_to_name arrays. (struct auth_challenge): Use hashalg pointer. (get_digest_h_urp, digest_challenge): Adjust accordingly. * test/auth.c (digest_failures, fail_challenge): Tweak tests to reliably trigger desired failure cases.
* Relax strictness of usernames allowed with Digest without requiringJoe Orton2022-07-112-6/+45
| | | | | | | | | | userhash/ext-param quoting (closes #78): * src/ne_auth.c (unsafe_username): New function. (get_digest_h_urp): Use it, rather than ne_strparam() to determine whether the passed username is safe to use quoted. * test/auth.c (digest_username_star): Test for @ in usernames.
* * src/ne_openssl.c: Fix possible build failures w/o pthreads forJoe Orton2022-03-251-5/+4
| | | | OpenSSL 1.1.0+. (fixes #71)
* neon.mak: Support building libneon as a DLLChun-wei Fan2022-03-241-4/+29
| | | | Add a flag BUILD_DLL=yes so that we switch on building libneon as a DLL.
* ne_utils.h: Decorate public variables with NE_VARChun-wei Fan2022-03-241-2/+2
| | | | | | ...and replace their 'extern' attribute with NE_VAR as a result, since NE_VAR is defined appropriately for the compiler and build type used and include the 'extern' attribute for all cases.
* ne_defs.h: Add NE_VAR macroChun-wei Fan2022-03-241-0/+12
| | | | | | | | | | This adds a macro to decorate public variables that is defined as 'extern' when building on non-Visual Studio compilers or when libneon is built statically. However when libneon is built or used as a shared (DLL) build, the macro will be defined to be 'extern __declspec(dllexport)' and 'extern __declspec(dllimport)' so that the variables are correctly exported and imported from the DLL during linking.
* src: Add neon.defChun-wei Fan2022-03-241-0/+322
| | | | | This is the file that will be used to export symbols from the built DLL, for Visual Studio builds.
* autogen.sh: use 'command -v' instead of 'which'Piraty2022-03-231-1/+1
| | | | | | which is not standardized and can even be considered problematic [1] [1] https://lwn.net/Articles/874049/