curl_gssapi: fix link error on macOS Monterey

Fixes #7657
Closes #7875
This commit is contained in:
Bo Anderson 2021-10-18 20:18:28 +01:00 committed by Daniel Stenberg
parent c75f14cb9d
commit 20e980f85b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -32,10 +32,12 @@
#include "curl_memory.h"
#include "memdebug.h"
static char spnego_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
gss_OID_desc Curl_spnego_mech_oid = { 6, &spnego_oid_bytes };
static char krb5_oid_bytes[] = "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02";
gss_OID_desc Curl_krb5_mech_oid = { 9, &krb5_oid_bytes };
gss_OID_desc Curl_spnego_mech_oid = {
6, "\x2b\x06\x01\x05\x05\x02"
};
gss_OID_desc Curl_krb5_mech_oid = {
9, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"
};
OM_uint32 Curl_gss_init_sec_context(
struct Curl_easy *data,