*/
size_t fr_base64_encode(char *out, size_t outlen, uint8_t const *in, size_t inlen)
{
- static char const b64str[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklm"
- "nopqrstuvwxyz0123456789+/";
+ static char const b64str[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
char *p = out;
if (outlen < (FR_BASE64_ENC_LENGTH(inlen) + 1)) {
return;
}
-static char const *tabs = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
+static char const tabs[] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
static void print_hex_data(uint8_t const *ptr, int attrlen, int depth)
{
return 1; /* success */
}
-static char const *tabs = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
+static char const tabs[] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
/*
* FIXME: Recurse && indent?
return output;
}
-static char const *parse_spaces = " ";
+static char const parse_spaces[] = " ";
/** Validation function for ipaddr conffile types
*
static size_t config_escape_func(UNUSED REQUEST *request, char *out, size_t outlen, char const *in, UNUSED void *arg)
{
size_t len = 0;
- static char const *disallowed = "%{}\\'\"`";
+ static char const disallowed[] = "%{}\\'\"`";
while (in[0]) {
/*
"xlat"
};
-static char const *modcall_spaces = " ";
+static char const modcall_spaces[] = " ";
#define MODCALL_STACK_MAX (32)
}
#ifdef DEBUG_XLAT
-static const char *xlat_spaces = " ";
+static const char xlat_spaces[] = " ";
#endif
static char *xlat_aprint(TALLOC_CTX *ctx, REQUEST *request, xlat_exp_t const * const node,
0x65, 0x20, 0x69, 0x74, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6F,
0x6E};
- static char const hex[16] = "0123456789ABCDEF";
+ static char const hex[] = "0123456789ABCDEF";
size_t i;
uint8_t challenge[8];
#include "smbdes.h"
-static char const * hex = "0123456789ABCDEF";
+static char const hex[] = "0123456789ABCDEF";
/*
* FIXME: use functions in freeradius