Print this page
3882 remove xmod & friends

*** 38,52 **** #include <ctype.h> #include <syslog.h> #include <sys/time.h> #include "ns_sldap.h" #include "ns_internal.h" - /* EXPORT DELETE START */ #include <crypt.h> - #define NS_DOMESTIC 1 - static char t1[ROTORSIZE]; static char t2[ROTORSIZE]; static char t3[ROTORSIZE]; static char hexdig[] = "0123456789abcdef"; --- 38,49 ----
*** 111,127 **** } theRes[theLen] = '\0'; *aResLen = theLen; return (theRes); } - /* EXPORT DELETE END */ static void c_setup() { - /* EXPORT DELETE START */ int ic, i, k, temp; unsigned random; char buf[13]; int seed; --- 108,122 ----
*** 188,205 **** s[i] = '\0'; if (mod_len != NULL) *mod_len = i; } return (s); - /* EXPORT DELETE END */ } char * evalue(char *ptr) { - /* EXPORT DELETE START */ char *modv, *str, *ev; int modv_len; size_t len; /* --- 183,198 ----
*** 223,245 **** } (void) snprintf(ev, len, CRYPTMARK "%s", str); free(str); str = NULL; return (ev); - #ifndef NS_DOMESTIC - /* EXPORT DELETE END */ - return (strdup(ptr)); - /* EXPORT DELETE START */ - #endif - /* EXPORT DELETE END */ } char * dvalue(char *ptr) { - /* EXPORT DELETE START */ char *modv, *str, *sb; int len; /* if cleartext return NULL (error!) */ if (TRUE == is_cleartext(ptr)) --- 216,231 ----
*** 251,262 **** str = ascii2hex(sb, &len); modv = modvalue(str, len, NULL); free(str); str = NULL; return (modv); - #ifndef NS_DOMESTIC - /* EXPORT DELETE END */ - return (strdup(ptr)); - /* EXPORT DELETE START */ - #endif - /* EXPORT DELETE END */ } --- 237,242 ----