summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/x509.c
diff options
context:
space:
mode:
authorjsing <>2016-12-30 16:28:53 +0000
committerjsing <>2016-12-30 16:28:53 +0000
commit441431dac9bffeb437cf655728a9c95cb51deb52 (patch)
tree53027b19a4b27d8961caccc04971fecaf91c35d7 /src/usr.bin/openssl/x509.c
parent62206c334cfdab15b735c847201138f64f04d04e (diff)
downloadopenbsd-441431dac9bffeb437cf655728a9c95cb51deb52.tar.gz
openbsd-441431dac9bffeb437cf655728a9c95cb51deb52.tar.bz2
openbsd-441431dac9bffeb437cf655728a9c95cb51deb52.zip
Expand ASN1_ITEM_rptr macros here as well... used with NETSCAPE_X509 of all
things...
Diffstat (limited to 'src/usr.bin/openssl/x509.c')
-rw-r--r--src/usr.bin/openssl/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/x509.c b/src/usr.bin/openssl/x509.c
index da5f2c37ea..3daea89141 100644
--- a/src/usr.bin/openssl/x509.c
+++ b/src/usr.bin/openssl/x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.c,v 1.12 2015/10/17 15:00:11 doug Exp $ */ 1/* $OpenBSD: x509.c,v 1.13 2016/12/30 16:28:53 jsing 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 *
@@ -893,7 +893,7 @@ bad:
893 nx.header = &hdr; 893 nx.header = &hdr;
894 nx.cert = x; 894 nx.cert = x;
895 895
896 i = ASN1_item_i2d_bio(ASN1_ITEM_rptr(NETSCAPE_X509), out, &nx); 896 i = ASN1_item_i2d_bio(&NETSCAPE_X509_it, out, &nx);
897 } else { 897 } else {
898 BIO_printf(bio_err, "bad output format specified for outfile\n"); 898 BIO_printf(bio_err, "bad output format specified for outfile\n");
899 goto end; 899 goto end;