/* Maximum indent */
#define ASN1_PRINT_MAX_INDENT 128
-int ASN1_buf_print(BIO *bp, unsigned char *buf, size_t buflen, int indent)
+int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent)
{
size_t i;
}
/*
* Use colon separators for each octet for compatibility as
- * this fuction is used to print out key components.
+ * this function is used to print out key components.
*/
if (BIO_printf(bp, "%02x%s", buf[i],
(i == buflen - 1) ? "" : ":") <= 0)