aboutsummaryrefslogtreecommitdiff
path: root/apps/req.c
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/req.c
parentd4a8f90cabb74cbc2d5eaa463f4e7f2a81f50db1 (diff)
downloadopenssl-ad55f581f93592705617039cd4b5ed8dc02b6192.zip
openssl-ad55f581f93592705617039cd4b5ed8dc02b6192.tar.gz
openssl-ad55f581f93592705617039cd4b5ed8dc02b6192.tar.bz2
fix offsets
Submitted by: Nils Larsch
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index c4bec05..79b1ded 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);