https://issues.dlang.org/show_bug.cgi?id=12931

Martin Nowak <c...@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@dawg.eu

--- Comment #17 from Martin Nowak <c...@dawg.eu> ---
Just had to fix openssl bindings.
https://github.com/MartinNowak/openssl/commit/b3a334b5bcea8afc7a68573d4363891e7e0bc422

Translating
    const EVP_CIPHER *EVP_rc4_hmac_md5(void);
to
    const EVP_CIPHER *EVP_rc4_hmac_md5();
instead of
    const(EVP_CIPHER)* EVP_rc4_hmac_md5();

It's a common mistake during C header translation.
Since 2.066.0 the compiler at least warns that const can only be applied to
member functions.

--

Reply via email to