diff options
| author | tb <> | 2018-05-18 18:19:31 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-18 18:19:31 +0000 |
| commit | 0da252659237cff69d3016ea725f2722e8211f6e (patch) | |
| tree | 52d71fb12832099e86fdf9c1270795c6f913a667 /src/lib/libcrypto/x509/x509_obj.c | |
| parent | ecc55d8a076d40029e70d2d72357bfb4b922664c (diff) | |
| download | openbsd-0da252659237cff69d3016ea725f2722e8211f6e.tar.gz openbsd-0da252659237cff69d3016ea725f2722e8211f6e.tar.bz2 openbsd-0da252659237cff69d3016ea725f2722e8211f6e.zip | |
Add const to the 'name' argument of X509_NAME_oneline(3).
tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_obj.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_obj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_obj.c b/src/lib/libcrypto/x509/x509_obj.c index b34f25b013..5c53799020 100644 --- a/src/lib/libcrypto/x509/x509_obj.c +++ b/src/lib/libcrypto/x509/x509_obj.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_obj.c,v 1.17 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: x509_obj.c,v 1.18 2018/05/18 18:19:31 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 | * |
| @@ -66,7 +66,7 @@ | |||
| 66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
| 67 | 67 | ||
| 68 | char * | 68 | char * |
| 69 | X509_NAME_oneline(X509_NAME *a, char *buf, int len) | 69 | X509_NAME_oneline(const X509_NAME *a, char *buf, int len) |
| 70 | { | 70 | { |
| 71 | X509_NAME_ENTRY *ne; | 71 | X509_NAME_ENTRY *ne; |
| 72 | int i; | 72 | int i; |
