]> granicus.if.org Git - curl/commit
cyassl: define build macros before including ssl.h
authorMarcel Raad <raad@teamviewer.com>
Fri, 2 Jun 2017 21:02:54 +0000 (23:02 +0200)
committerMarcel Raad <raad@teamviewer.com>
Fri, 2 Jun 2017 22:39:46 +0000 (00:39 +0200)
commit7207affe28f414e4585230ba65d2e1b7ecc30ef5
treee00002223f3ac18f68a5f4ee59fad4081f51dc66
parent5233de9ac66035ad3bc0d04dffd81fb50d58fb5b
cyassl: define build macros before including ssl.h

cyassl/ssl.h needs the macros from cyassl/options.h, so define them
before including cyassl/ssl.h the first time, which happens in
urldata.h.
This broke the build on Ubuntu Xenial, which comes with WolfSSL 3.4.8
and therefore redefines the symbols from cyassl/options.h instead of
including the header.

Closes https://github.com/curl/curl/pull/1536
lib/vtls/cyassl.c