summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-11-19 21:48:59 +0100
committerGravatar Martin Szulecki2009-11-19 21:48:59 +0100
commitf21026094deb8fed64021c000827ea867b50ceb6 (patch)
treed4a3c289a8becaaaf2c8534afef916a20b7b4978
parentf2d94b69d8c4ced70b2fb7cee7e6c9464e2717af (diff)
parent658856df1bf2282ff5243346218373f51edfedd1 (diff)
downloadlibimobiledevice-f21026094deb8fed64021c000827ea867b50ceb6.tar.gz
libimobiledevice-f21026094deb8fed64021c000827ea867b50ceb6.tar.bz2
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
-rw-r--r--.gitignore51
-rw-r--r--src/lockdown.c1
2 files changed, 52 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..73b722c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,51 @@
+# git-ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+*.[oa]
+*~
+*.po
+*.lo
+*.la
+autom4te.cache/*
+*.in
+*/.deps/*
+m4/*
+swig/*
+*.swp
+aclocal.m4
+config.h
+config.log
+config.sub
+config.guess
+config.status
+configure
+depcomp
+install-sh
+compile
+main
+ltmain.sh
+missing
+mkinstalldirs
+libtool
+*Makefile
+py-compile
+stamp-h1
+src/.libs
+src/ifuse
+src/iphoneclient
+src/lckd-client
+src/libiphone-initconf
+src/plutil
+docs/*
+libiphone-1.0.pc
+dev/.libs/*
+dev/afccheck
+dev/iphoneclient
+dev/iphonesyslog
+dev/lckd-client
+dev/msyncclient
+tools/.libs/*
+tools/iphone_id
+tools/iphoneinfo
+tools/iphonesyslog
diff --git a/src/lockdown.c b/src/lockdown.c
index 3bfd16f..d147f75 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -640,6 +640,7 @@ lockdownd_error_t lockdownd_client_new(iphone_device_t device, lockdownd_client_
lockdownd_client_t client_loc = (lockdownd_client_t) malloc(sizeof(struct lockdownd_client_int));
client_loc->connection = connection;
client_loc->ssl_session = NULL;
+ client_loc->ssl_certificate = NULL;
client_loc->in_SSL = 0;
if (LOCKDOWN_E_SUCCESS != lockdownd_query_type(client_loc)) {