"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890./";
#ifdef SLAPD_CRYPT
-static const char *salt_format = NULL;
+static char *salt_format = NULL;
#endif
struct pw_scheme;
}
#endif
-int lutil_salt_format(const char *format)
+int lutil_salt_format( const char *format)
{
#ifdef SLAPD_CRYPT
- free(salt_format);
+ free( salt_format );
- salt_format = format != NULL ? strdup(format) : NULL;
+ salt_format = format != NULL ? strdup( format ) : NULL;
#endif
return 0;