summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.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/apps.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/apps.c')
-rw-r--r--src/usr.bin/openssl/apps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c
index 8daf924f0f..ff14199f6e 100644
--- a/src/usr.bin/openssl/apps.c
+++ b/src/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: apps.c,v 1.40 2016/09/04 09:00:14 guenther Exp $ */ 1/* $OpenBSD: apps.c,v 1.41 2016/12/30 16:28:53 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -619,7 +619,7 @@ load_cert(BIO *err, const char *file, int format, const char *pass,
619 x = d2i_X509_bio(cert, NULL); 619 x = d2i_X509_bio(cert, NULL);
620 else if (format == FORMAT_NETSCAPE) { 620 else if (format == FORMAT_NETSCAPE) {
621 NETSCAPE_X509 *nx; 621 NETSCAPE_X509 *nx;
622 nx = ASN1_item_d2i_bio(ASN1_ITEM_rptr(NETSCAPE_X509), 622 nx = ASN1_item_d2i_bio(&NETSCAPE_X509_it,
623 cert, NULL); 623 cert, NULL);
624 if (nx == NULL) 624 if (nx == NULL)
625 goto end; 625 goto end;