projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e2947
)
Make TYPE_RSA the default type instead of just setting it when -new is
author
Richard Levitte
<levitte@openssl.org>
Sat, 9 Dec 2000 11:11:35 +0000
(11:11 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sat, 9 Dec 2000 11:11:35 +0000
(11:11 +0000)
given. That also allows the arguments to come in any order (-new
last, for example).
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index 7b8b4dbd60bc956ef848a183ca406542c300a07b..f740e01527da112efbed21b00164a8a9b66d96ec 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-150,7
+150,7
@@
int MAIN(int argc, char **argv)
X509 *x509ss=NULL;
X509_REQ *req=NULL;
EVP_PKEY *pkey=NULL;
- int i,badops=0,newreq=0,newkey= -1,pkey_type=
0
;
+ int i,badops=0,newreq=0,newkey= -1,pkey_type=
TYPE_RSA
;
BIO *in=NULL,*out=NULL;
int informat,outformat,verify=0,noout=0,text=0,keyform=FORMAT_PEM;
int nodes=0,kludge=0,newhdr=0,subject=0;
@@
-211,7
+211,6
@@
int MAIN(int argc, char **argv)
}
else if (strcmp(*argv,"-new") == 0)
{
- pkey_type=TYPE_RSA;
newreq=1;
}
else if (strcmp(*argv,"-config") == 0)