diff options
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; |