projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new option "openssl ciphers -V"
[openssl.git]
/
apps
/
req.c
diff --git
a/apps/req.c
b/apps/req.c
index 511be7de74fb610e5deaa3fe92655e0777fb55cd..f58e65ec852f9d87177d48685be32fa8b3146c0f 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-79,6
+79,13
@@
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/pem.h>
+#include <openssl/bn.h>
+#ifndef OPENSSL_NO_RSA
+#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
+#include <openssl/dsa.h>
+#endif
#define SECTION "req"
#define SECTION "req"
@@
-724,7
+731,9
@@
bad:
if (newreq && (pkey == NULL))
{
if (newreq && (pkey == NULL))
{
+#ifndef OPENSSL_NO_RSA
BN_GENCB cb;
BN_GENCB cb;
+#endif
char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
if (randfile == NULL)
ERR_clear_error();
char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
if (randfile == NULL)
ERR_clear_error();