From f71023876665c884b983f6c82d73948f5baa2831 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Wed, 20 Nov 2013 12:22:15 +0100
Subject: normal: fix normal_get_sep_nonce/normal_get_ap_nonce

---
 src/normal.c | 4 ++--
 1 file 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)
-- 
cgit v1.1-32-gdbae