[exim-dev] OpenSSL 1.0.0 constness?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] OpenSSL 1.0.0 constness?
Looks like OpenSSL 1.0.0 has made SSL_get_current_cipher() return a
const value, but not updated the man-pages. The older OpenSSL which I
checked had the accessor functions take a const value, so I *believe*
that just using a const variable and casting, for backwards compat, is
safe.

http://git.exim.org/users/pdp/exim.git/commit/f5e37a7164d2bcde3bcd0eb458d8370c0391ab0c

Any comments or objections?

-Phil