check certificate CN name

This commit is contained in:
Jehan Monnier 2012-12-14 09:55:12 +01:00
parent 3606d826e3
commit ecfe93d790
3 changed files with 5 additions and 4 deletions

View file

@ -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);

@ -1 +1 @@
Subproject commit cbb76acfe36aaa0e79911569e218d77c622fa9d4
Subproject commit cb5a8276531d2436f35bdddaca99665b88ee6e95

@ -1 +1 @@
Subproject commit 3c4bd90ba3ebbfd600a3180d45a4514e8f641e5d
Subproject commit 30e8bf54b81adb7e99cd5bf012c4ab63fdb8a884