Deleted Added
full compact
req.c (68651) req.c (72613)
1/* apps/req.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 671 unchanged lines hidden (view full) ---

680 {
681 BIO_printf(bio_err,"unable to load X509 request\n");
682 goto end;
683 }
684 }
685
686 if (newreq || x509)
687 {
1/* apps/req.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 671 unchanged lines hidden (view full) ---

680 {
681 BIO_printf(bio_err,"unable to load X509 request\n");
682 goto end;
683 }
684 }
685
686 if (newreq || x509)
687 {
688#ifndef NO_DSA
689 if (pkey->type == EVP_PKEY_DSA)
690 digest=EVP_dss1();
691#endif
692
693 if (pkey == NULL)
694 {
695 BIO_printf(bio_err,"you need to specify a private key\n");
696 goto end;
697 }
688 if (pkey == NULL)
689 {
690 BIO_printf(bio_err,"you need to specify a private key\n");
691 goto end;
692 }
693#ifndef NO_DSA
694 if (pkey->type == EVP_PKEY_DSA)
695 digest=EVP_dss1();
696#endif
698 if (req == NULL)
699 {
700 req=X509_REQ_new();
701 if (req == NULL)
702 {
703 goto end;
704 }
705

--- 590 unchanged lines hidden ---
697 if (req == NULL)
698 {
699 req=X509_REQ_new();
700 if (req == NULL)
701 {
702 goto end;
703 }
704

--- 590 unchanged lines hidden ---