Browse Source

Resolves: #214728
Summary: Cleaning up obsolete macros in the build
Changes: eliminated macro CLIENT_AUTH (Comment #12)

Noriko Hosoi 19 years ago
parent
commit
275291284c
2 changed files with 0 additions and 16 deletions
  1. 0 13
      include/libaccess/nsauth.h
  2. 0 3
      include/libaccess/nsautherr.h

+ 0 - 13
include/libaccess/nsauth.h

@@ -48,16 +48,9 @@
  *	into and out of authentication interface functions.
  */
 
-#ifdef CLIENT_AUTH
-
 #include "ssl.h"
 
-#if 0
-/* Removed for new ns security */
-#include "sec.h"		/* SECCertificate */
-#endif
 #include "cert.h"               /* CERTCertificate for new ns security bin */
-#endif /* CLIENT_AUTH */
 
 #include "usi.h"		/* identifier list support */
 #include "attrec.h"		/* attribute record types */
@@ -308,13 +301,7 @@ struct ClAuth_s {
     char * cla_dns;		/* DNS name string pointer */
     UserObj_t * cla_uoptr;	/* authenticated user object pointer */
     GroupObj_t * cla_goptr;	/* pointer to list of group objects */
-#ifdef CLIENT_AUTH
-#if 0
-  /* Removed for new ns security  */
-    SECCertificate * cla_cert;	/* certificate from SSL client auth */
-#endif
     CERTCertificate * cla_cert;	/* certificate from SSL client auth */
-#endif /* CLIENT_AUTH */
 };
 
 #endif /* __nsauth_h */

+ 0 - 3
include/libaccess/nsautherr.h

@@ -71,7 +71,6 @@
 #define NSAUERR3320	3320		/* insufficient dynamic memory */
 #define NSAUERR3340	3340		/* error opening group database */
 
-#if defined(CLIENT_AUTH)
 /* nsadbOpenClients() */
 #define NSAUERR3400	3400		/* invalid function argument */
 #define NSAUERR3420	3420		/* insufficient dynamic memory */
@@ -94,8 +93,6 @@
 /* nsadbRemoveCertUser() */
 #define NSAUERR3900	3900		/* error deleting entry in database */
 
-#endif /*  defined(CLIENT_AUTH) */
-
 /* Define error ids generated by nsamgmt.c */
 
 /* nsadbRemoveUser() */