cURL / Mailing Lists / curl-library / Single Mail

curl-library

spnego_mech_oid & krb5_mech_oid

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
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
file.
- 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.

Cheers,
Patrick

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-23