[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 177/219: url: Move the negotiate state type into a
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 177/219: url: Move the negotiate state type into a dedicated enum |
Date: |
Wed, 22 May 2019 19:18:36 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 0c73adfad3ef9ea2fe2a0ebf7eb0a78b5abb877c
Author: Steve Holme <address@hidden>
AuthorDate: Mon May 13 20:29:40 2019 +0100
url: Move the negotiate state type into a dedicated enum
---
lib/urldata.h | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/lib/urldata.h b/lib/urldata.h
index 44d25e03a..c7944c546 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -303,6 +303,14 @@ typedef enum {
NTLMSTATE_LAST
} curlntlm;
+typedef enum {
+ GSS_AUTHNONE,
+ GSS_AUTHRECV,
+ GSS_AUTHSENT,
+ GSS_AUTHDONE,
+ GSS_AUTHSUCC
+} curlnegotiate;
+
#if defined(CURL_DOES_CONVERSIONS) && defined(HAVE_ICONV)
#include <iconv.h>
#endif
@@ -358,9 +366,7 @@ struct ntlmdata {
struct negotiatedata {
/* When doing Negotiate (SPNEGO) auth, we first need to send a token
and then validate the received one. */
- enum {
- GSS_AUTHNONE, GSS_AUTHRECV, GSS_AUTHSENT, GSS_AUTHDONE, GSS_AUTHSUCC
- } state;
+ curlnegotiate state;
#ifdef HAVE_GSSAPI
OM_uint32 status;
gss_ctx_id_t context;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 177/219: url: Move the negotiate state type into a dedicated enum,
gnunet <=