summaryrefslogtreecommitdiffstats
path: root/crypt.cpp
diff options
context:
space:
mode:
authorSuper User2008-05-01 10:35:20 +0200
committerSuper User2008-05-01 10:35:20 +0200
commit0efcf371b4a61fa1376e83d2b7404aeb47a36e26 (patch)
tree490134ca54abca5c1983b8d40648acdf03de3b39 /crypt.cpp
parentwork (diff)
downloadlcr-0efcf371b4a61fa1376e83d2b7404aeb47a36e26.tar.gz
lcr-0efcf371b4a61fa1376e83d2b7404aeb47a36e26.tar.xz
lcr-0efcf371b4a61fa1376e83d2b7404aeb47a36e26.zip
work on chan_lcr
modified: Makefile modified: action.cpp modified: action_efi.cpp modified: action_vbox.cpp modified: apppbx.cpp modified: apppbx.h modified: bchannel.c modified: bchannel.h new file: callerid.c new file: callerid.h modified: chan_lcr.c modified: chan_lcr.h modified: crypt.cpp modified: endpoint.cpp modified: endpointapp.cpp modified: interface.c modified: join.cpp modified: joinpbx.cpp modified: joinremote.cpp modified: mISDN.cpp modified: mail.c modified: main.h modified: message.h modified: port.cpp modified: route.c modified: route.h modified: socket_server.c modified: todo.txt modified: vbox.cpp modified: watch.c
Diffstat (limited to 'crypt.cpp')
-rw-r--r--crypt.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/crypt.cpp b/crypt.cpp
index 92f0c10..80ece0e 100644
--- a/crypt.cpp
+++ b/crypt.cpp
@@ -140,14 +140,10 @@ the message type is encoded as element
*/
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <sys/types.h>
+#include "main.h"
#ifdef CRYPTO
#include <openssl/rsa.h>
#endif
-#include "main.h"
/* convert key string to binary key vector
@@ -1831,7 +1827,7 @@ void EndpointAppPBX::encrypt_shared(void)
errstr = "No Remote ID";
goto reject;
}
- ret = parse_secrets((char *)e_ext.number, (char *)numberrize_callerinfo(port->p_callerinfo.id, port->p_callerinfo.ntype), &auth_pointer, &crypt_pointer, &key_pointer);
+ ret = parse_secrets((char *)e_ext.number, (char *)numberrize_callerinfo(port->p_callerinfo.id, port->p_callerinfo.ntype, options.national, options.international), &auth_pointer, &crypt_pointer, &key_pointer);
}
if (!ret)
{