mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-19 07:04:19 +00:00
Compile the crypto, config, DNS, ACL and plugin modules as C++
Rename netutils, jconf, stream, aead, aead2022, aead2022_udp, crypto, acl, plugin, plugin_disabled and resolv from .c to .cpp without changing their contents, and update source lists, snippet references, test comments and debian/copyright. The Doxygen source list and scripts/check_cli_docs.py now accept either extension for each module, so the remaining programs can move one at a time. The new .cpp files are added to the no-heap ratchet baseline.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ int verbose = 0;
|
||||
|
||||
#include "crypto.h"
|
||||
|
||||
/* Provide nonce_cache symbol needed by crypto.c */
|
||||
/* Provide nonce_cache symbol needed by crypto.cpp */
|
||||
struct cache *nonce_cache = NULL;
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user