From ad55f581f93592705617039cd4b5ed8dc02b6192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Mon, 26 Aug 2002 11:25:14 +0000 Subject: fix offsets Submitted by: Nils Larsch --- apps/req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/req.c') 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); -- cgit v1.1