|
Fixes:
CC vtls/libcurl_la-wolfssl.lo
vtls/wolfssl.c: In function 'do_file_type':
vtls/wolfssl.c:207:12: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function); did you mean 'WOLFSSL_FILETYPE_PEM'?
return SSL_FILETYPE_PEM;
^~~~~~~~~~~~~~~~
WOLFSSL_FILETYPE_PEM
vtls/wolfssl.c:207:12: note: each undeclared identifier is reported only once for each function it appears in
vtls/wolfssl.c:211:12: error: 'SSL_FILETYPE_ASN1' undeclared (first use in this function); did you mean 'WOLFSSL_FILETYPE_ASN1'?
return SSL_FILETYPE_ASN1;
^~~~~~~~~~~~~~~~~
WOLFSSL_FILETYPE_ASN1
vtls/wolfssl.c: In function 'wolfssl_connect_step1':
vtls/wolfssl.c:407:50: error: 'SSL_VERIFY_PEER' undeclared (first use in this function); did you mean 'WOLFSSL_VERIFY_PEER'?
SSL_CONN_CONFIG(verifypeer)?SSL_VERIFY_PEER:
^~~~~~~~~~~~~~~
WOLFSSL_VERIFY_PEER
vtls/wolfssl.c:408:50: error: 'SSL_VERIFY_NONE' undeclared (first use in this function); did you mean 'WOLFSSL_VERIFY_NONE'?
SSL_VERIFY_NONE,
^~~~~~~~~~~~~~~
WOLFSSL_VERIFY_NONE
vtls/wolfssl.c: In function 'wolfssl_connect_step2':
vtls/wolfssl.c:564:15: error: 'SSL_FAILURE' undeclared (first use in this function); did you mean 'WOLFSSL_FAILURE'?
if(ret == SSL_FAILURE)
^~~~~~~~~~~
WOLFSSL_FAILURE
vtls/wolfssl.c:598:8: error: 'SSL_ERROR_WANT_READ' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_READ'?
if(SSL_ERROR_WANT_READ == detail) {
^~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_READ
vtls/wolfssl.c:602:13: error: 'SSL_ERROR_WANT_WRITE' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_WRITE'?
else if(SSL_ERROR_WANT_WRITE == detail) {
^~~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_WRITE
vtls/wolfssl.c: In function 'wolfssl_send':
vtls/wolfssl.c:814:10: error: 'SSL_ERROR_WANT_READ' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_READ'?
case SSL_ERROR_WANT_READ:
^~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_READ
vtls/wolfssl.c:815:10: error: 'SSL_ERROR_WANT_WRITE' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_WRITE'?
case SSL_ERROR_WANT_WRITE:
^~~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_WRITE
vtls/wolfssl.c: In function 'wolfssl_recv':
vtls/wolfssl.c:862:10: error: 'SSL_ERROR_ZERO_RETURN' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_ZERO_RETURN'?
case SSL_ERROR_ZERO_RETURN: /* no more data */
^~~~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_ZERO_RETURN
vtls/wolfssl.c:864:10: error: 'SSL_ERROR_WANT_READ' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_READ'?
case SSL_ERROR_WANT_READ:
^~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_READ
vtls/wolfssl.c:865:10: error: 'SSL_ERROR_WANT_WRITE' undeclared (first use in this function); did you mean 'WOLFSSL_ERROR_WANT_WRITE'?
case SSL_ERROR_WANT_WRITE:
^~~~~~~~~~~~~~~~~~~~
WOLFSSL_ERROR_WANT_WRITE
vtls/wolfssl.c: In function 'Curl_wolfssl_init':
vtls/wolfssl.c:903:29: error: 'SSL_SUCCESS' undeclared (first use in this function); did you mean 'WOLFSSL_SUCCESS'?
return (wolfSSL_Init() == SSL_SUCCESS);
^~~~~~~~~~~
WOLFSSL_SUCCESS
make[3]: *** [Makefile:2675: vtls/libcurl_la-wolfssl.lo] Error 1
make[3]: Leaving directory '/prokit/sessions/448429946/wd/tmp/src/lib'
make[2]: *** [Makefile:1077: all] Error 2
make[2]: Leaving directory '/prokit/sessions/448429946/wd/tmp/src/lib'
make[1]: *** [Makefile:996: all-recursive] Error 1
make[1]: Leaving directory '/prokit/sessions/448429946/wd/tmp/src'
make: *** [../build:12: build] Error 2
|