diff options
| author | tb <> | 2018-05-01 19:01:28 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-01 19:01:28 +0000 |
| commit | 7c375c1a832336c8d9c706ebe1c9cd62252a1d88 (patch) | |
| tree | e9d6db4dc429199f91cfda5cd0905819d2440282 /src/lib/libcrypto/asn1/t_x509.c | |
| parent | d43036dd09aeeef2500a4108c43e0d756c57038e (diff) | |
| download | openbsd-7c375c1a832336c8d9c706ebe1c9cd62252a1d88.tar.gz openbsd-7c375c1a832336c8d9c706ebe1c9cd62252a1d88.tar.bz2 openbsd-7c375c1a832336c8d9c706ebe1c9cd62252a1d88.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.c | 4 |
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 | ||
| 323 | int | 323 | int |
| 324 | X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) | 324 | X509_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) |
