projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Data-Over-Voice
[lcr.git]
/
crypt.cpp
diff --git
a/crypt.cpp
b/crypt.cpp
index
125b516
..
e3b562b
100644
(file)
--- a/
crypt.cpp
+++ b/
crypt.cpp
@@
-1722,7
+1722,7
@@
void EndpointAppPBX::encrypt_shared(void)
struct lcr_msg *message;
const char *errstr = "";
class Port *port;
struct lcr_msg *message;
const char *errstr = "";
class Port *port;
- int
type,
key_len;
+ int key_len;
unsigned char *key;
char *auth_pointer, *crypt_pointer, *key_pointer;
int ret;
unsigned char *key;
char *auth_pointer, *crypt_pointer, *key_pointer;
int ret;
@@
-1779,7
+1779,7
@@
void EndpointAppPBX::encrypt_shared(void)
goto reject;
}
if (!strcasecmp(crypt_pointer, "blowfish")) {
goto reject;
}
if (!strcasecmp(crypt_pointer, "blowfish")) {
-
type = CC_ACTBF_REQ;
+
//
type = CC_ACTBF_REQ;
if (key_len < 4) {
PDEBUG(DEBUG_EPOINT, "EPOINT(%d) Key too short.\n", ea_endpoint->ep_serial);
errstr = "Key Too Short";
if (key_len < 4) {
PDEBUG(DEBUG_EPOINT, "EPOINT(%d) Key too short.\n", ea_endpoint->ep_serial);
errstr = "Key Too Short";