diff options
author | tb <> | 2018-05-19 10:58:08 +0000 |
---|---|---|
committer | tb <> | 2018-05-19 10:58:08 +0000 |
commit | 913d308dc1462b50d88ce669634b1c067ea18d48 (patch) | |
tree | e40295154710ff62110114044906448aa2ff16d2 /src/lib/libcrypto/x509/x509name.c | |
parent | 7e46400ff4b50669268226bc13b97860d5e8c7dd (diff) | |
download | openbsd-913d308dc1462b50d88ce669634b1c067ea18d48.tar.gz openbsd-913d308dc1462b50d88ce669634b1c067ea18d48.tar.bz2 openbsd-913d308dc1462b50d88ce669634b1c067ea18d48.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/x509name.c')
-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; |