소스 검색

Removed unnecessary function.

Mateusz Gralka 9 년 전
부모
커밋
d19b6f2943
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      src/civetweb.c

+ 0 - 7
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)
 {