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/x509/x509name.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 '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509name.c b/src/lib/libcrypto/x509/x509name.c index 4e2695fd74..3912ca039e 100644 --- a/src/lib/libcrypto/x509/x509name.c +++ b/src/lib/libcrypto/x509/x509name.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509name.c,v 1.16 2018/04/04 11:59:26 schwarze Exp $ */ | 1 | /* $OpenBSD: x509name.c,v 1.17 2018/05/01 19:01:28 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 | * |
| @@ -388,7 +388,7 @@ X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, | |||
| 388 | } | 388 | } |
| 389 | 389 | ||
| 390 | ASN1_OBJECT * | 390 | ASN1_OBJECT * |
| 391 | X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne) | 391 | X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne) |
| 392 | { | 392 | { |
| 393 | if (ne == NULL) | 393 | if (ne == NULL) |
| 394 | return (NULL); | 394 | return (NULL); |
