shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shishi/lib authenticator.c


From: shishi-commit
Subject: shishi/lib authenticator.c
Date: Thu, 27 Nov 2003 13:14:19 -0500

CVSROOT:        /cvsroot/shishi
Module name:    shishi
Branch:         
Changes by:     Simon Josefsson <address@hidden>        03/11/27 13:14:19

Modified files:
        lib            : authenticator.c 

Log message:
        (shishi_authenticator_add_subkey): Remove unused code.  Fix.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/shishi/lib/authenticator.c.diff?tr1=1.46&tr2=1.47&r1=text&r2=text

Patches:
Index: shishi/lib/authenticator.c
diff -u shishi/lib/authenticator.c:1.46 shishi/lib/authenticator.c:1.47
--- shishi/lib/authenticator.c:1.46     Sat Sep  6 15:57:16 2003
+++ shishi/lib/authenticator.c  Thu Nov 27 13:14:19 2003
@@ -888,16 +888,13 @@
                                 Shishi_key * subkey)
 {
   int res;
-  int *etypes;
-
-  res = shishi_cfg_clientkdcetype (handle, &etypes);
-  if (res != SHISHI_OK)
-    return res;
 
   res = shishi_authenticator_set_subkey (handle, authenticator,
                                         shishi_key_type (subkey),
                                         shishi_key_value (subkey),
                                         shishi_key_length (subkey));
+  if (res != SHISHI_OK)
+    return res;
 
-  return res;
+  return SHISHI_OK;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]