diff options
author | bodo <bodo> | 2002-08-26 11:25:14 +0000 |
---|---|---|
committer | bodo <bodo> | 2002-08-26 11:25:14 +0000 |
commit | 1985756f5bd0e838412b9f1b5e9b84b707b4eae8 (patch) | |
tree | c70cf426b62df3eae7f42bf2f96b55a7e694c3c8 /apps/req.c | |
parent | 130a7e64ef4bcc4b9db8c3a506f184bff84da27e (diff) | |
download | openssl-1985756f5bd0e838412b9f1b5e9b84b707b4eae8.tar.gz |
fix offsets
Submitted by: Nils Larsch
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c index c4bec0543..79b1ded73 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); |