summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/t_x509.c
diff options
context:
space:
mode:
authortb <>2018-05-01 19:01:28 +0000
committertb <>2018-05-01 19:01:28 +0000
commita25a0cc2cb4d355062b3c8b6944d4e2da213facd (patch)
treee9d6db4dc429199f91cfda5cd0905819d2440282 /src/lib/libcrypto/asn1/t_x509.c
parent9b39dce8f6a1410a06e212d7ed7364d9dc7e3f13 (diff)
downloadopenbsd-a25a0cc2cb4d355062b3c8b6944d4e2da213facd.tar.gz
openbsd-a25a0cc2cb4d355062b3c8b6944d4e2da213facd.tar.bz2
openbsd-a25a0cc2cb4d355062b3c8b6944d4e2da213facd.zip
Convert a handful of X509_*() functions to take const as in OpenSSL.
tested in a bulk by sthen ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/t_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c
index 9ad3625653..59b308e763 100644
--- a/src/lib/libcrypto/asn1/t_x509.c
+++ b/src/lib/libcrypto/asn1/t_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_x509.c,v 1.29 2018/04/25 19:58:53 tb Exp $ */ 1/* $OpenBSD: t_x509.c,v 1.30 2018/05/01 19:01:27 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -321,7 +321,7 @@ X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent)
321} 321}
322 322
323int 323int
324X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) 324X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig)
325{ 325{
326 int sig_nid; 326 int sig_nid;
327 if (BIO_puts(bp, " Signature Algorithm: ") <= 0) 327 if (BIO_puts(bp, " Signature Algorithm: ") <= 0)