diff options
author | Nikias Bassen | 2009-11-18 13:48:47 +0100 |
---|---|---|
committer | Matt Colyer | 2009-11-19 12:07:50 -0800 |
commit | 658856df1bf2282ff5243346218373f51edfedd1 (patch) | |
tree | 95b1a22d0d1a63fde1d8aa6bce81f05d0b1daa88 | |
parent | 974754a6bf757af0a007044262b24b76bc0120c2 (diff) | |
download | libimobiledevice-658856df1bf2282ff5243346218373f51edfedd1.tar.gz libimobiledevice-658856df1bf2282ff5243346218373f51edfedd1.tar.bz2 |
set ssl_certificate to NULL in lockdownd_client_new
[#87 state:resolved]
-rw-r--r-- | src/lockdown.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) { |