mirror of
https://github.com/curl/curl.git
synced 2026-05-30 09:07:33 +03:00
gssapi: align global gss_OID_desc vars to silence ld warnings on macOS ventura
Refs #9975 which first reported this. Closes #10718
This commit is contained in:
parent
8b5f100db3
commit
adaec5d1d0
1 changed files with 8 additions and 2 deletions
|
|
@ -34,10 +34,16 @@
|
|||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
gss_OID_desc Curl_spnego_mech_oid = {
|
||||
#if defined(__GNUC__)
|
||||
#define CURL_ALIGN8 __attribute__ ((aligned(8)))
|
||||
#else
|
||||
#define CURL_ALIGN8
|
||||
#endif
|
||||
|
||||
gss_OID_desc Curl_spnego_mech_oid CURL_ALIGN8 = {
|
||||
6, (char *)"\x2b\x06\x01\x05\x05\x02"
|
||||
};
|
||||
gss_OID_desc Curl_krb5_mech_oid = {
|
||||
gss_OID_desc Curl_krb5_mech_oid CURL_ALIGN8 = {
|
||||
9, (char *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue