mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:43:06 +03:00
GSSAPI: private export mechanisms OIDs. OS400: Make RPG binding up to date.
This commit is contained in:
parent
2cd0c2d244
commit
8efc11a0c1
4 changed files with 21 additions and 11 deletions
|
|
@ -175,6 +175,15 @@
|
|||
/* Define if you have GSS API. */
|
||||
#define HAVE_GSSAPI
|
||||
|
||||
/* Define if you have the GNU gssapi libraries */
|
||||
#undef HAVE_GSSGNU
|
||||
|
||||
/* Define if you have the Heimdal gssapi libraries */
|
||||
#define HAVE_GSSHEIMDAL
|
||||
|
||||
/* Define if you have the MIT gssapi libraries */
|
||||
#undef HAVE_GSSMIT
|
||||
|
||||
/* Define if you have the `ucb' library (-lucb). */
|
||||
#undef HAVE_LIBUCB
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@
|
|||
#include "curl_gssapi.h"
|
||||
#include "sendf.h"
|
||||
|
||||
static const char spengo_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
|
||||
gss_OID_desc spnego_mech_oid = { 6, &spengo_oid_bytes };
|
||||
static const char spnego_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
|
||||
gss_OID_desc Curl_spnego_mech_oid = { 6, &spnego_oid_bytes };
|
||||
static const char krb5_oid_bytes[] = "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02";
|
||||
gss_OID_desc krb5_mech_oid = { 9, &krb5_oid_bytes };
|
||||
gss_OID_desc Curl_krb5_mech_oid = { 9, &krb5_oid_bytes };
|
||||
|
||||
OM_uint32 Curl_gss_init_sec_context(
|
||||
struct SessionHandle *data,
|
||||
|
|
|
|||
|
|
@ -40,12 +40,12 @@
|
|||
#endif
|
||||
|
||||
#ifndef SPNEGO_MECHANISM
|
||||
CURL_EXTERN gss_OID_desc spnego_mech_oid;
|
||||
#define SPNEGO_MECHANISM &spnego_mech_oid
|
||||
extern gss_OID_desc Curl_spnego_mech_oid;
|
||||
#define SPNEGO_MECHANISM &Curl_spnego_mech_oid
|
||||
#endif
|
||||
#ifndef KRB5_MECHANISM
|
||||
CURL_EXTERN gss_OID_desc krb5_mech_oid;
|
||||
#define KRB5_MECHANISM &krb5_mech_oid
|
||||
extern gss_OID_desc Curl_krb5_mech_oid;
|
||||
#define KRB5_MECHANISM &Curl_krb5_mech_oid
|
||||
#endif
|
||||
|
||||
/* Common method for using GSS-API */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue