summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/x509/x509.h4
-rw-r--r--src/lib/libcrypto/x509/x509_v3.c6
2 files changed, 5 insertions, 5 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,
1186X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, 1186X509_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);
1188X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, 1188X509_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);
1190int X509_EXTENSION_set_object(X509_EXTENSION *ex, 1190int X509_EXTENSION_set_object(X509_EXTENSION *ex,
1191 const ASN1_OBJECT *obj); 1191 const ASN1_OBJECT *obj);
1192int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); 1192int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit);
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c
index 1b4e89e893..524d5511ed 100644
--- a/src/lib/libcrypto/x509/x509_v3.c
+++ b/src/lib/libcrypto/x509/x509_v3.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_v3.c,v 1.16 2018/05/18 16:55:58 tb Exp $ */ 1/* $OpenBSD: x509_v3.c,v 1.17 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 *
@@ -209,8 +209,8 @@ X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, int crit,
209} 209}
210 210
211X509_EXTENSION * 211X509_EXTENSION *
212X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, ASN1_OBJECT *obj, int crit, 212X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, const ASN1_OBJECT *obj,
213 ASN1_OCTET_STRING *data) 213 int crit, ASN1_OCTET_STRING *data)
214{ 214{
215 X509_EXTENSION *ret; 215 X509_EXTENSION *ret;
216 216