summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index aac63ea92b..ffde40fbfc 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.49 2018/05/13 10:36:35 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.50 2018/05/18 14:19:46 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 *
@@ -1149,16 +1149,20 @@ void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
1149int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, 1149int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1150 unsigned long flags); 1150 unsigned long flags);
1151 1151
1152int X509_CRL_get_ext_count(X509_CRL *x); 1152int X509_CRL_get_ext_count(const X509_CRL *x);
1153int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos); 1153int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid,
1154int X509_CRL_get_ext_by_OBJ(X509_CRL *x,ASN1_OBJECT *obj,int lastpos); 1154 int lastpos);
1155int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos); 1155int X509_CRL_get_ext_by_OBJ(const X509_CRL *x,
1156X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc); 1156 const ASN1_OBJECT *obj, int lastpos);
1157int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit,
1158 int lastpos);
1159X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc);
1157X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc); 1160X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc);
1158int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc); 1161int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
1159void * X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx); 1162void * X509_CRL_get_ext_d2i(const X509_CRL *x, int nid, int *crit,
1160int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, 1163 int *idx);
1161 unsigned long flags); 1164int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value,
1165 int crit, unsigned long flags);
1162 1166
1163int X509_REVOKED_get_ext_count(X509_REVOKED *x); 1167int X509_REVOKED_get_ext_count(X509_REVOKED *x);
1164int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos); 1168int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos);