diff options
| author | tb <> | 2018-05-19 10:54:40 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-19 10:54:40 +0000 |
| commit | a9544a8e60ce65f2234d9df77b9a17352a9c6d16 (patch) | |
| tree | 767cbdb2bfdd7e42781794f335e233a16c31d342 /src/lib/libcrypto/x509/x509.h | |
| parent | 9da339c3d57f404b00a27baa583df279073bdb1f (diff) | |
| download | openbsd-a9544a8e60ce65f2234d9df77b9a17352a9c6d16.tar.gz openbsd-a9544a8e60ce65f2234d9df77b9a17352a9c6d16.tar.bz2 openbsd-a9544a8e60ce65f2234d9df77b9a17352a9c6d16.zip | |
Add const to the 'obj' argument of X509_EXTENSION_create_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 | 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 e77d090d96..26568eacdd 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.65 2018/05/18 19:28:27 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.66 2018/05/19 10:54:40 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 | * |
| @@ -1186,7 +1186,7 @@ int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, | |||
| 1186 | X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, | 1186 | X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, |
| 1187 | int nid, int crit, ASN1_OCTET_STRING *data); | 1187 | int nid, int crit, ASN1_OCTET_STRING *data); |
| 1188 | X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, | 1188 | X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, |
| 1189 | ASN1_OBJECT *obj,int crit,ASN1_OCTET_STRING *data); | 1189 | const ASN1_OBJECT *obj, int crit, ASN1_OCTET_STRING *data); |
| 1190 | int X509_EXTENSION_set_object(X509_EXTENSION *ex, | 1190 | int X509_EXTENSION_set_object(X509_EXTENSION *ex, |
| 1191 | const ASN1_OBJECT *obj); | 1191 | const ASN1_OBJECT *obj); |
| 1192 | int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); | 1192 | int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); |
