mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
CLEANUP: ssl: Remove unused ssl_sock_create_cert function
This function is not used anymore, it can be removed.
This commit is contained in:
parent
2e7d1eb2a7
commit
36f80f6e0b
@ -108,7 +108,6 @@ int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg);
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SSL_CTX *ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key);
|
|
||||||
SSL_CTX *ssl_sock_assign_generated_cert(unsigned int key, struct bind_conf *bind_conf, SSL *ssl);
|
SSL_CTX *ssl_sock_assign_generated_cert(unsigned int key, struct bind_conf *bind_conf, SSL *ssl);
|
||||||
SSL_CTX *ssl_sock_get_generated_cert(unsigned int key, struct bind_conf *bind_conf);
|
SSL_CTX *ssl_sock_get_generated_cert(unsigned int key, struct bind_conf *bind_conf);
|
||||||
int ssl_sock_set_generated_cert(SSL_CTX *ctx, unsigned int key, struct bind_conf *bind_conf);
|
int ssl_sock_set_generated_cert(SSL_CTX *ctx, unsigned int key, struct bind_conf *bind_conf);
|
||||||
|
@ -2234,14 +2234,6 @@ ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
SSL_CTX *
|
|
||||||
ssl_sock_create_cert(struct connection *conn, const char *servername, unsigned int key)
|
|
||||||
{
|
|
||||||
struct bind_conf *bind_conf = __objt_listener(conn->target)->bind_conf;
|
|
||||||
struct ssl_sock_ctx *ctx = conn->xprt_ctx;
|
|
||||||
|
|
||||||
return ssl_sock_do_create_cert(servername, bind_conf, ctx->ssl);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Do a lookup for a certificate in the LRU cache used to store generated
|
/* Do a lookup for a certificate in the LRU cache used to store generated
|
||||||
* certificates and immediately assign it to the SSL session if not null. */
|
* certificates and immediately assign it to the SSL session if not null. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user