| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Needs include of _gnutls.h_ if HAVE_GNUTLS is defined.
Address an error that _key_ in the static PSK handler function is assigned a value that is never used in the case if the Gnu TLS libary is not present, i.e. HAVE_GNUTLS has not been defined. The intended behavior is such that calling the static callback handler function of the webserver guarantees that the user registered callback function is invoked.
Obviously, the example fails to run if enumaration values in _enum htttp:http_utils:cred_type_T_ are not defined. I would think the condtional compilation here is not a good idea. Anyhow. Without HAVE_GNUTLS beeing defined, the example will now compile but always returns with an error.
Set library dependency for Gnu TLS if it is present.
Added conditional for Gnu TLS.
Correct for formatting issues highlighted by cpplint.
Correct for formatting issues highlighted by cpplint.
Correct for formatting issues highlighted by cpplint.
Corrected for formatting issues highlighted by cpplint.
Fixing formatting issue highlighted by cpplint.
Correct for error from cpplint: "Missing space after , [whitespace/comma] [3]"
|
So, there remains one formatting issue indicated by cpplint, which seems to be a false-positive. Quite sad. And then there is some issue with a conftest program which fails to compile for some reason. I give up on that. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Identify the Bug adding a Feature
Description of the Change
Verification Process
Obviously without HAVE_GNUTLS beeing defined essential parts of the code are not compiled. This has been checked making sure that the flag is included in the config.h file that is created for the build process.
The error message from libmicrohttpd has dissappeared.
A mininimal example and test case for HTTPS PSK authentication has been added and test with the openssl command.