From: Bodo Möller Date: Mon, 26 Aug 2002 11:25:14 +0000 (+0000) Subject: fix offsets X-Git-Tag: OpenSSL-engine-0_9_6h~26^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad55f581f93592705617039cd4b5ed8dc02b6192;p=thirdparty%2Fopenssl.git fix offsets Submitted by: Nils Larsch --- diff --git a/apps/req.c b/apps/req.c index c4bec05436a..79b1ded735f 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);