1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Avoid 'using namespace std' causing name conflicts. Fixes #1363, fixes #1867

This commit is contained in:
dmiller
2019-12-30 04:03:03 +00:00
parent 085cd7fd34
commit ea4e2d6657
8 changed files with 8 additions and 14 deletions

View File

@@ -135,7 +135,6 @@
#include "nsock.h"
#include "EchoHeader.h"
#include <vector>
using namespace std;
/* SERVER STATE MACHINE */
/* _ */
@@ -204,7 +203,7 @@ class NEPContext {
u8 client_nonce[NONCE_LEN];
bool server_nonce_set;
bool client_nonce_set;
vector<fspec_t> fspecs;
std::vector<fspec_t> fspecs;
struct sockaddr_storage clnt_addr;
u8 *generateKey(int key_type, size_t *final_len);