mirror of
https://github.com/curl/curl.git
synced 2026-05-15 22:26:21 +03:00
#ifdef out a few more functions when SSL is disabled.
This commit is contained in:
parent
c478200766
commit
bdfeaa0f95
2 changed files with 2 additions and 11 deletions
|
|
@ -390,7 +390,7 @@ CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
|
|||
}
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* USE_SSL */
|
||||
|
||||
void Curl_ssl_close_all(struct SessionHandle *data)
|
||||
{
|
||||
|
|
|
|||
11
lib/ssluse.c
11
lib/ssluse.c
|
|
@ -618,8 +618,6 @@ int Curl_ossl_check_cxn(struct connectdata *conn)
|
|||
return -1; /* connection status unknown */
|
||||
}
|
||||
|
||||
#endif /* USE_SSLEAY */
|
||||
|
||||
/* Selects an OpenSSL crypto engine
|
||||
*/
|
||||
CURLcode Curl_ossl_set_engine(struct SessionHandle *data, const char *engine)
|
||||
|
|
@ -654,7 +652,6 @@ CURLcode Curl_ossl_set_engine(struct SessionHandle *data, const char *engine)
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_SSLEAY
|
||||
/* Sets engine as default for all SSL operations
|
||||
*/
|
||||
CURLcode Curl_ossl_set_engine_default(struct SessionHandle *data)
|
||||
|
|
@ -674,7 +671,6 @@ CURLcode Curl_ossl_set_engine_default(struct SessionHandle *data)
|
|||
#endif
|
||||
return CURLE_OK;
|
||||
}
|
||||
#endif /* USE_SSLEAY */
|
||||
|
||||
/* Return list of OpenSSL crypto engine names.
|
||||
*/
|
||||
|
|
@ -701,8 +697,6 @@ struct curl_slist *Curl_ossl_engines_list(struct SessionHandle *data)
|
|||
}
|
||||
|
||||
|
||||
#ifdef USE_SSLEAY
|
||||
|
||||
/*
|
||||
* This function is called when an SSL connection is closed.
|
||||
*/
|
||||
|
|
@ -907,10 +901,7 @@ static int Curl_ASN1_UTCTIME_output(struct connectdata *conn,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* ====================================================== */
|
||||
#ifdef USE_SSLEAY
|
||||
|
||||
/*
|
||||
* Match a hostname against a wildcard pattern.
|
||||
|
|
@ -1150,7 +1141,7 @@ static CURLcode verifyhost(struct connectdata *conn,
|
|||
}
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
#endif /* USE_SSLEAY */
|
||||
|
||||
/* The SSL_CTRL_SET_MSG_CALLBACK doesn't exist in ancient OpenSSL versions
|
||||
and thus this cannot be done there. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue