diff options
| author | tb <> | 2018-05-19 10:58:08 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-19 10:58:08 +0000 |
| commit | 554519e920a1c07a8209f40cd835e4e692ef7627 (patch) | |
| tree | e40295154710ff62110114044906448aa2ff16d2 /src/lib/libcrypto/x509/x509.h | |
| parent | a9544a8e60ce65f2234d9df77b9a17352a9c6d16 (diff) | |
| download | openbsd-554519e920a1c07a8209f40cd835e4e692ef7627.tar.gz openbsd-554519e920a1c07a8209f40cd835e4e692ef7627.tar.bz2 openbsd-554519e920a1c07a8209f40cd835e4e692ef7627.zip | |
Add const to the obj argument of X509_NAME_add_entry_by_OBJ()
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 26568eacdd..877f80eecc 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.66 2018/05/19 10:54:40 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.67 2018/05/19 10:58:08 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 | * |
| @@ -1107,8 +1107,8 @@ X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc); | |||
| 1107 | X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); | 1107 | X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); |
| 1108 | int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, | 1108 | int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, |
| 1109 | int loc, int set); | 1109 | int loc, int set); |
| 1110 | int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, | 1110 | int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, |
| 1111 | const unsigned char *bytes, int len, int loc, int set); | 1111 | int type, const unsigned char *bytes, int len, int loc, int set); |
| 1112 | int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, | 1112 | int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, |
| 1113 | const unsigned char *bytes, int len, int loc, int set); | 1113 | const unsigned char *bytes, int len, int loc, int set); |
| 1114 | X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, | 1114 | X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, |
