summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-26 11:25:14 +0000
committerBodo Möller <bodo@openssl.org>2002-08-26 11:25:14 +0000
commitad55f581f93592705617039cd4b5ed8dc02b6192 (patch)
tree6078ac210a5b6701c49efda6d1d4382dfcdbd670 /apps
parentd4a8f90cabb74cbc2d5eaa463f4e7f2a81f50db1 (diff)
fix offsets
Submitted by: Nils Larsch
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index c4bec05436..79b1ded735 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -328,13 +328,13 @@ int MAIN(int argc, char **argv)
else
#endif
#ifndef OPENSSL_NO_ECDSA
- if (strncmp("ec:",p,4) == 0)
+ if (strncmp("ec:",p,3) == 0)
{
X509 *xtmp=NULL;
EVP_PKEY *dtmp;
pkey_type=TYPE_EC;
- p+=6;
+ p+=3;
if ((in=BIO_new_file(p,"r")) == NULL)
{
perror(p);