diff src/protocols/simple/simple.h @ 12382:cfc808463763

[gaim-migrate @ 14688] Reimplement HTTP Digest Authentication (RFC 2617) as part of the Cipher API committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 07 Dec 2005 04:50:36 +0000
parents 2f379ed0c26b
children c5acba513363
line wrap: on
line diff
--- a/src/protocols/simple/simple.h	Wed Dec 07 01:47:31 2005 +0000
+++ b/src/protocols/simple/simple.h	Wed Dec 07 04:50:36 2005 +0000
@@ -25,8 +25,10 @@
 
 #include <glib.h>
 #include <time.h>
+
+#include <cipher.h>
 #include <prpl.h>
-#include <digcalc.h>
+
 #include "sipmsg.h"
 
 #define SIMPLE_BUF_INC 1024
@@ -50,11 +52,11 @@
 
 struct sip_auth {
 	int type; /* 1 = Digest / 2 = NTLM */
-        gchar *nonce;
-        gchar *realm;
+	gchar *nonce;
+	gchar *realm;
 	gchar *target;
 	int nc;
-        HASHHEX HA1;
+	gchar *digest_session_key;
 	int retries;
 };