summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 12:22:15 +0100
committerGravatar Nikias Bassen2013-11-20 12:22:15 +0100
commitf71023876665c884b983f6c82d73948f5baa2831 (patch)
treef703973b07aa29d0be9b617b721d1d8d9fcf1fde
parent8c3acd56e16edb77f5d835971ad2b684968ef2fb (diff)
downloadidevicerestore-f71023876665c884b983f6c82d73948f5baa2831.tar.gz
idevicerestore-f71023876665c884b983f6c82d73948f5baa2831.tar.bz2
normal: fix normal_get_sep_nonce/normal_get_ap_nonce
-rw-r--r--src/normal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index 3b536ed..8fa64a4 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -384,11 +384,11 @@ static int normal_get_nonce_by_key(struct idevicerestore_client_t* client, const
}
int normal_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size) {
- return normal_get_nonce_by_key(client, "ApNonce", nonce, nonce_size);
+ return normal_get_nonce_by_key(client, "SEPNonce", nonce, nonce_size);
}
int normal_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size) {
- return normal_get_nonce_by_key(client, "SEPNonce", nonce, nonce_size);
+ return normal_get_nonce_by_key(client, "ApNonce", nonce, nonce_size);
}
int normal_is_image4_supported(struct idevicerestore_client_t* client)