X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasn1%2Ft_pkey.c;h=3b2c9df8917f465f5a8ea9ce345d647946f12124;hp=5ae19ed78a5b5b9710e5b016d34be3af3c70c83a;hb=35da893f86a40d3711ed785bd8777c18238aee45;hpb=2039c421b0e5b75ffcf6a88e39cc09089b4303dc diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c index 5ae19ed78a..3b2c9df891 100644 --- a/crypto/asn1/t_pkey.c +++ b/crypto/asn1/t_pkey.c @@ -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)