From: Bodo Möller Date: Mon, 26 Aug 2002 11:25:14 +0000 (+0000) Subject: fix offsets X-Git-Tag: OpenSSL_0_9_7-beta4~168^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad55f581f93592705617039cd4b5ed8dc02b6192;p=oweals%2Fopenssl.git fix offsets Submitted by: Nils Larsch --- 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);