summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c0a87b2)
what older versions of ssl use.
method = TLSv1_client_method(); /* Not sure about this */
method = TLSv1_client_method(); /* Not sure about this */
- sslctx = SSL_CTX_new(method);
+ /* Older ssl takes a non-const arg. */
+ sslctx = SSL_CTX_new((SSL_METHOD *) method);
if (! sslctx) {
sm_end(NOTOK);
if (! sslctx) {
sm_end(NOTOK);