Update from fips2 branch.
[openssl.git] / crypto / x509v3 / v3_utl.c
index 7c1d26fc398bb57e15c66e17be5d77c8a48c92d2..3dba0557b86d87bb77d274c7a381af7f9b5638ac 100644 (file)
@@ -365,7 +365,7 @@ char *hex_to_string(unsigned char *buffer, long len)
        char *tmp, *q;
        unsigned char *p;
        int i;
-       static char hexdig[] = "0123456789ABCDEF";
+       const static char hexdig[] = "0123456789ABCDEF";
        if(!buffer || !len) return NULL;
        if(!(tmp = OPENSSL_malloc(len * 3 + 1))) {
                X509V3err(X509V3_F_HEX_TO_STRING,ERR_R_MALLOC_FAILURE);