diff options
author | jsing <> | 2016-12-30 16:28:53 +0000 |
---|---|---|
committer | jsing <> | 2016-12-30 16:28:53 +0000 |
commit | 441431dac9bffeb437cf655728a9c95cb51deb52 (patch) | |
tree | 53027b19a4b27d8961caccc04971fecaf91c35d7 /src/usr.bin/openssl/apps.c | |
parent | 62206c334cfdab15b735c847201138f64f04d04e (diff) | |
download | openbsd-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.c | 4 |
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; |