From d19b6f294366fc1d3e3c1a8c898a2110cd0b90d4 Mon Sep 17 00:00:00 2001 From: Mateusz Gralka Date: Thu, 3 Dec 2015 12:22:37 +0100 Subject: [PATCH] Removed unnecessary function. --- src/civetweb.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/civetweb.c b/src/civetweb.c index 565a8ec9..9f34306d 100755 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -10128,13 +10128,6 @@ initialize_ssl(struct mg_context *ctx) 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 ssl_use_pem_file(struct mg_context *ctx, const char *pem) {