The newer versions of curl are referencing a sk_pop symbol and the HP OpenSSL library has the symbols in uppercase only.

This patch is for setup-vms.h to hack around it.

Tested on Alpha, VAX, and Itanium.

EAGLE> newcurl --version
curl 7.32.0-20130709 (ALPHA-HP-VMS) libcurl/7.32.0-20130709 OpenSSL/0.9.8w zlib/1.2.7 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

LION> newcurl --version
curl 7.31.0 (IA64-HP-VMS) libcurl/7.31.0 OpenSSL/0.9.8w zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

TOAD> newcurl --version
curl 7.31.0 (VAX-HP-VMS) libcurl/7.31.0 OpenSSL/0.9.6g zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: NTLM SSL libz

Regards,
-John
wb8tyw@qsl.network
Personal Opinion Only
--- /src_root/curl/lib/setup-vms.h      Wed Feb  6 22:00:17 2013
+++ /vms_root/curl/lib/setup-vms.h      Thu Jul 11 17:28:00 2013
@@ -315,6 +315,7 @@
 #define d2i_PKCS12_fp D2I_PKCS12_FP
 #define i2t_ASN1_OBJECT I2T_ASN1_OBJECT
 #define sk_num SK_NUM
+#define sk_pop SK_POP
 #define sk_pop_free SK_POP_FREE
 #define sk_value SK_VALUE
 
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to