aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/lib/curl_gssapi.c
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-22 17:10:22 +0100
committerGitHub <noreply@github.com>2023-12-22 17:10:22 +0100
commit148f920350c60c0ca2d89b637a5aea9093eee450 (patch)
tree6314b1433dac833398c333731e83f0ad77e81a0b /contrib/libs/curl/lib/curl_gssapi.c
parent7116d46ae7c0259b5f9d489de263f8701e432b1c (diff)
downloadydb-148f920350c60c0ca2d89b637a5aea9093eee450.tar.gz
Library import 2 (#639)
Diffstat (limited to 'contrib/libs/curl/lib/curl_gssapi.c')
-rw-r--r--contrib/libs/curl/lib/curl_gssapi.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/contrib/libs/curl/lib/curl_gssapi.c b/contrib/libs/curl/lib/curl_gssapi.c
index 614f66e124..3e8936bf86 100644
--- a/contrib/libs/curl/lib/curl_gssapi.c
+++ b/contrib/libs/curl/lib/curl_gssapi.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -34,16 +34,10 @@
#include "curl_memory.h"
#include "memdebug.h"
-#if defined(__GNUC__)
-#define CURL_ALIGN8 __attribute__ ((aligned(8)))
-#else
-#define CURL_ALIGN8
-#endif
-
-gss_OID_desc Curl_spnego_mech_oid CURL_ALIGN8 = {
+gss_OID_desc Curl_spnego_mech_oid = {
6, (char *)"\x2b\x06\x01\x05\x05\x02"
};
-gss_OID_desc Curl_krb5_mech_oid CURL_ALIGN8 = {
+gss_OID_desc Curl_krb5_mech_oid = {
9, (char *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"
};