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/x509name.c | |
| 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 '')
| -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 2b19aeb927..fa134a2a6a 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.24 2018/05/18 18:16:39 tb Exp $ */ | 1 | /* $OpenBSD: x509name.c,v 1.25 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 | * |
| @@ -188,7 +188,7 @@ X509_NAME_delete_entry(X509_NAME *name, int loc) | |||
| 188 | } | 188 | } |
| 189 | 189 | ||
| 190 | int | 190 | int |
| 191 | X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, | 191 | X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, |
| 192 | const unsigned char *bytes, int len, int loc, int set) | 192 | const unsigned char *bytes, int len, int loc, int set) |
| 193 | { | 193 | { |
| 194 | X509_NAME_ENTRY *ne; | 194 | X509_NAME_ENTRY *ne; |
