mirror of
https://github.com/lammertb/libhttp.git
synced 2025-12-22 04:02:04 +03:00
Removed unnecessary function.
This commit is contained in:
@@ -10128,13 +10128,6 @@ initialize_ssl(struct mg_context *ctx)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pem_passwd_cb(char *buf, int size, int rwflag, void *password)
|
|
||||||
{
|
|
||||||
strncpy(buf, (char *)(password), size);
|
|
||||||
buf[size - 1] = '\0';
|
|
||||||
return(strlen(buf));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ssl_use_pem_file(struct mg_context *ctx, const char *pem)
|
ssl_use_pem_file(struct mg_context *ctx, const char *pem)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user