struct berval name;
} oid_name;
-static oid_name oids[] = {
+static const oid_name oids[] = {
{ BER_BVC("2.5.4.3"), BER_BVC("cn") },
{ BER_BVC("2.5.4.4"), BER_BVC("sn") },
{ BER_BVC("2.5.4.6"), BER_BVC("c") },
#define LBER_TAG_UNIVERSAL ((ber_tag_t) 0x1cUL)
#define LBER_TAG_BMP ((ber_tag_t) 0x1eUL)
-static oid_name *
+static const oid_name *
find_oid( struct berval *oid )
{
int i;
int csize;
ber_tag_t tag;
ber_len_t len;
- oid_name *oidname;
+ const oid_name *oidname;
struct berval Oid, Val, oid2, *in = x509_name;