diff options
author | tb <> | 2018-05-13 15:35:46 +0000 |
---|---|---|
committer | tb <> | 2018-05-13 15:35:46 +0000 |
commit | a63de23e1f0e03f20ea5ec136638a8ce4d3c09d2 (patch) | |
tree | 64bf8c044b97ffc13771ae2ab62d2314a8fb1e64 /src/lib/libcrypto/ts/ts.h | |
parent | b0e9b80efde53e09ba0e6da43a3086b062ae877e (diff) | |
download | openbsd-a63de23e1f0e03f20ea5ec136638a8ce4d3c09d2.tar.gz openbsd-a63de23e1f0e03f20ea5ec136638a8ce4d3c09d2.tar.bz2 openbsd-a63de23e1f0e03f20ea5ec136638a8ce4d3c09d2.zip |
Add const to the ASN1_OBJECT argument of TS_TST_INFO_get_ext_by_OBJ(3).
Should have been part of the previous commit. Omission noted by schwarze.
tested in bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ts/ts.h')
-rw-r--r-- | src/lib/libcrypto/ts/ts.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ts/ts.h b/src/lib/libcrypto/ts/ts.h index 3a010d517b..fa8eb949a4 100644 --- a/src/lib/libcrypto/ts/ts.h +++ b/src/lib/libcrypto/ts/ts.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts.h,v 1.9 2018/05/13 15:04:05 tb Exp $ */ | 1 | /* $OpenBSD: ts.h,v 1.10 2018/05/13 15:35:46 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL |
3 | * project 2002, 2003, 2004. | 3 | * project 2002, 2003, 2004. |
4 | */ | 4 | */ |
@@ -439,7 +439,8 @@ STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a); | |||
439 | void TS_TST_INFO_ext_free(TS_TST_INFO *a); | 439 | void TS_TST_INFO_ext_free(TS_TST_INFO *a); |
440 | int TS_TST_INFO_get_ext_count(TS_TST_INFO *a); | 440 | int TS_TST_INFO_get_ext_count(TS_TST_INFO *a); |
441 | int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos); | 441 | int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos); |
442 | int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos); | 442 | int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, |
443 | int lastpos); | ||
443 | int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos); | 444 | int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos); |
444 | X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc); | 445 | X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc); |
445 | X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc); | 446 | X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc); |