I hereby claim:
- I am nikias on github.
- I am pimskeks (https://keybase.io/pimskeks) on keybase.
- I have a public key ASC1RzBJDf07VVAl2X9geXfcwN7kQKuZwvk-wRmGwXMd5Ao
To claim this, I am signing this object:
#!/bin/bash | |
# If you like this script and my work on libimobiledevice, please | |
# consider becoming a patron at https://patreon.com/nikias - Thanks <3 | |
REV=1.0.19 | |
if test "`echo -e Test`" != "Test" 2>&1; then | |
echo Please run this with zsh or bash. | |
exit 1 |
I hereby claim:
To claim this, I am signing this object:
diff --git a/configure.ac b/configure.ac | |
index 2b31499..006d85d 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -41,6 +41,7 @@ PKG_CHECK_MODULES(libplist, libplist >= $LIBPLIST_VERSION) | |
PKG_CHECK_MODULES(libzip, libzip >= $LIBZIP_VERSION) | |
PKG_CHECK_MODULES(libcurl, libcurl >= $LIBCURL_VERSION) | |
PKG_CHECK_MODULES(openssl, openssl >= $OPENSSL_VERSION) | |
+PKG_CHECK_MODULES(zlib, zlib) |
diff --git a/configure.ac b/configure.ac | |
index 0a405e0..f44e26c 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -64,7 +64,7 @@ AC_TYPE_UINT8_T | |
# Checks for library functions. | |
AC_FUNC_MALLOC | |
AC_FUNC_REALLOC | |
-AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) | |
+AC_CHECK_FUNCS([strcasecmp strdup strerror strndup sleep]) |
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c | |
index 26ec418..56683b5 100644 | |
--- a/tools/ideviceprovision.c | |
+++ b/tools/ideviceprovision.c | |
@@ -87,30 +87,47 @@ enum { | |
static void asn1_next_item(unsigned char** p) | |
{ | |
- if (*(*p+1) & 0x80) { | |
- *p += 4; |
#include <stdio.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <libimobiledevice/libimobiledevice.h> | |
#include <libimobiledevice/lockdown.h> | |
#ifdef WIN32 | |
#include <windows.h> |