cURL / Mailing Lists / curl-library / Single Mail


spnego_mech_oid & krb5_mech_oid

From: Patrick Monnerat <>
Date: Wed, 23 Jul 2014 15:40:33 +0200

Hi friends,
I know a lot of work has been done around GSSAPI these last weeks.
Unfortunately libcurl does not link anymore on OS/400.
The problem is about the definitions of spnego_mech_oid & krb5_mech_oid:
in curl_gssapi.h, they are defined as CURL_EXTERN.
I don't know exactly what are the goals and constraints here, but IMHO
there should be some update there:
- If we need them accessible to the calling application, they should be
named curl_... and be declared as CURL_EXTERN in some PUBLIC header
- If they are intended for internal use only, they should be named
Curl_... and be declared extern, not CURL_EXTERN.
In addition, spengo_oid_bytes should probably be named spnego_oid_bytes
(in curl_gssapi.c): just a typo.

I'm 98% sure the OS/400 linking problem can be resolved by either these
two ways. Please confirm one or the other and I'll fix it. Thanks.


List admin:
Received on 2014-07-23