Android build: fix usage of NDK home variable ($ndk_var)
[openssl.git] / crypto / asn1 / t_pkey.c
index 5ae19ed78a5b5b9710e5b016d34be3af3c70c83a..3b2c9df8917f465f5a8ea9ce345d647946f12124 100644 (file)
@@ -18,7 +18,7 @@
 /* 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;
 
@@ -31,7 +31,7 @@ int ASN1_buf_print(BIO *bp, unsigned char *buf, size_t buflen, int indent)
         }
         /*
          * 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)