mirror of
https://github.com/outbackdingo/parodus.git
synced 2026-01-27 10:20:04 +00:00
requestNewAuthToken will clear token if it fails
This commit is contained in:
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- Security: Mutual Authentication (mTLS or two way TLS)
|
||||
- Rename command line options for MTLS cert and Key
|
||||
- Update to use nanomsg v. 1.1.4
|
||||
- requestNewAuthToken will clear the token if it fails.
|
||||
|
||||
## [1.0.2] - 2019-02-08
|
||||
- Refactored connection.c and updated corresponding unit tests
|
||||
|
||||
@@ -66,6 +66,7 @@ int requestNewAuthToken(char *newToken, size_t len, int r_count)
|
||||
|
||||
struct token_data data;
|
||||
data.size = 0;
|
||||
newToken[0] = '\0';
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl)
|
||||
|
||||
Reference in New Issue
Block a user