From ecfe93d790b6e4b886a039067c7fc2de09f6b29e Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 14 Dec 2012 09:55:12 +0100 Subject: [PATCH] check certificate CN name --- Classes/LinphoneManager.m | 5 +++-- submodules/externals/exosip | 2 +- submodules/linphone | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 96f7d73c5..860fa91b3 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -795,13 +795,14 @@ static LinphoneCoreVTable linphonec_vtable = { ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); } [LinphoneLogger logc:LinphoneLoggerLog format:"Create linphonecore"]; - linphone_core_set_user_agent([@"LinphoneIPhone" UTF8String], - [[[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey] UTF8String]); + theLinphoneCore = linphone_core_new (&linphonec_vtable , [confiFileName cStringUsingEncoding:[NSString defaultCStringEncoding]] , [factoryConfig cStringUsingEncoding:[NSString defaultCStringEncoding]] ,self); + linphone_core_set_user_agent(theLinphoneCore,"LinphoneIPhone", + [[[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey] UTF8String]); fastAddressBook = [[FastAddressBook alloc] init]; linphone_core_set_root_ca(theLinphoneCore, lRootCa); diff --git a/submodules/externals/exosip b/submodules/externals/exosip index cbb76acfe..cb5a82765 160000 --- a/submodules/externals/exosip +++ b/submodules/externals/exosip @@ -1 +1 @@ -Subproject commit cbb76acfe36aaa0e79911569e218d77c622fa9d4 +Subproject commit cb5a8276531d2436f35bdddaca99665b88ee6e95 diff --git a/submodules/linphone b/submodules/linphone index 3c4bd90ba..30e8bf54b 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 3c4bd90ba3ebbfd600a3180d45a4514e8f641e5d +Subproject commit 30e8bf54b81adb7e99cd5bf012c4ab63fdb8a884