diff options
| author | tb <> | 2018-05-18 17:56:12 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-18 17:56:12 +0000 |
| commit | b0ebce9ad3823756b0f7c2fa333109b711d07fdb (patch) | |
| tree | f45d3e424cfc0f9ef75d601d1cfe6f2770c9cd80 /src/lib/libcrypto/x509/x509.h | |
| parent | 13562d40acf1a1b1a493400341b5cb6789c211f9 (diff) | |
| download | openbsd-b0ebce9ad3823756b0f7c2fa333109b711d07fdb.tar.gz openbsd-b0ebce9ad3823756b0f7c2fa333109b711d07fdb.tar.bz2 openbsd-b0ebce9ad3823756b0f7c2fa333109b711d07fdb.zip | |
Add const to the argument of X509_NAME_ENTRY_get_data(3).
Tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 44585c943f..0b3a63b6ec 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509.h,v 1.52 2018/05/18 17:53:09 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.53 2018/05/18 17:56:12 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 | * |
| @@ -1123,7 +1123,7 @@ int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, | |||
| 1123 | int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, | 1123 | int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, |
| 1124 | const unsigned char *bytes, int len); | 1124 | const unsigned char *bytes, int len); |
| 1125 | ASN1_OBJECT * X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne); | 1125 | ASN1_OBJECT * X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne); |
| 1126 | ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); | 1126 | ASN1_STRING * X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne); |
| 1127 | int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne); | 1127 | int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne); |
| 1128 | 1128 | ||
| 1129 | int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x); | 1129 | int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x); |
