https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228344

--- Comment #13 from Bernard Spil <br...@freebsd.org> ---
The OPENSSL_STACK issue can be resolved with a simple addition at the top of
the openssl11.h file

As taken from:
https://github.com/openssl/openssl/blob/master/include/openssl/stack.h#L17

> # LibreSSL 2.7 has stack_st but not OPENSSL_STACK
> #ifndef OPENSSL_STACK
> typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
> #endif

OPENSSL_INIT_SETTINGS is not defined in Libre but it is void in the signatures,
so  this works

> #ifndef OPENSSL_INIT_SETTINGS
> #define OPENSSL_INIT_SETTINGS void
> #endif

Ended up with 
> 78 #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 
> 0x20700000L
> 79 // LibreSSL 2.7 has stack_st but not OPENSSL_STACK
> 80 typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
> 81 // From the signature in LibreSSL
> 82 #define OPENSSL_INIT_SETTINGS void
> 83 // 
> https://github.com/openssl/openssl/blob/master/include/openssl/x509_vfy.h#L63
> 84 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
> 85 #endif
in
work/qtbase-everywhere-src-5.10.1/src/network/ssl/qsslsocket_openssl11_symbols_p.h

That leaves the BN_is_word and BN_abs_is_word to be solved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to