X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=crypt.cpp;h=e3b562b93fc94062c9adf644b84060331e734f55;hp=125b516b8691fc4ac1543bd2e33a2592e35b3ab3;hb=034d3a91404addedc1c7a3494862c79532b0b878;hpb=b0bd74e35e935aa976b68c594def4e8d2c22ef95 diff --git a/crypt.cpp b/crypt.cpp index 125b516..e3b562b 100644 --- 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; - int type, key_len; + int key_len; 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")) { - 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";