openssl-0.9.7/apps/req.c
Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations./* apps/req.c */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations./* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * All rights reserved.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. *Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * This package is an SSL implementation writtenToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * by Eric Young (eay@cryptsoft.com).Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * The implementation was written so as to conform with Netscapes SSL.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * This library is free for commercial and non-commercial use as long asToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * the following conditions are aheared to. The following conditionsToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * apply to all code found in this distribution, be it the RC4, RSA,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * lhash, DES, etc., code; not just the SSL code. The SSL documentationToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * included with this distribution is covered by the same copyright termsToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * except that the holder is Tim Hudson (tjh@cryptsoft.com).Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Copyright remains Eric Young's, and as such any Copyright notices inToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * the code are not to be removed.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * If this package is used in a product, Eric Young should be given attributionToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * as the author of the parts of the library used.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * This can be in the form of a textual message at program startup orToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * in documentation (online or textual) provided with the package.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Redistribution and use in source and binary forms, with or withoutToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * modification, are permitted provided that the following conditionsToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * are met:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * 1. Redistributions of source code must retain the copyrightToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * notice, this list of conditions and the following disclaimer.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * 2. Redistributions in binary form must reproduce the above copyrightToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * notice, this list of conditions and the following disclaimer in theToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * documentation and/or other materials provided with the distribution.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * 3. All advertising materials mentioning features or use of this softwareToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * must display the following acknowledgement:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * "This product includes cryptographic software written byToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Eric Young (eay@cryptsoft.com)"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * The word 'cryptographic' can be left out if the rouines from the libraryToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * being used are not cryptographic related :-).Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * 4. If you include any Windows specific code (or a derivative thereof) from Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * the apps directory (application code) you must include an acknowledgement:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' ANDToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSEToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLEToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODSToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICTToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAYToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OFToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * SUCH DAMAGE.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * The licence and distribution terms for any publically available version orToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * derivative of this code cannot be changed. i.e. this code cannot simply beToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * copied and put under another distribution licenceToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * [including the GNU Public Licence.]Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <stdio.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <stdlib.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <time.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <string.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef OPENSSL_NO_STDIOToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define APPS_WIN16Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include "apps.h"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/bio.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/evp.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/conf.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/err.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/asn1.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/x509.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/x509v3.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/objects.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include <openssl/pem.h>Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#include "../crypto/cryptlib.h"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define SECTION "req"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define BITS "default_bits"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define KEYFILE "default_keyfile"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define PROMPT "prompt"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define DISTINGUISHED_NAME "distinguished_name"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define ATTRIBUTES "attributes"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define V3_EXTENSIONS "x509_extensions"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define REQ_EXTENSIONS "req_extensions"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define STRING_MASK "string_mask"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define UTF8_IN "utf8"Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define DEFAULT_KEY_LENGTH 512Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define MIN_KEY_LENGTH 384Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#undef PROGToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define PROG req_mainToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations./* -inform arg - input format - default PEM (DER or PEM)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -outform arg - output format - default PEMToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -in arg - input file - default stdinToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -out arg - output file - default stdoutToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -verify - check request signatureToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -noout - don't print stuff out.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -text - print out human readable text.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -nodes - no des encryptionToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -config file - Load configuration file.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -key file - make a request using key in file (or use it for verification).Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -keyform arg - key file format.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -rand file(s) - load the file(s) into the PRNG.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -newkey - make a key and a request.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -modulus - print RSA modulus.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -pubkey - output Public Key.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -x509 - output a self signed X509 structure instead.Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * -asn1-kludge - output new certificate request in a format that some CA'sToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * require. This format is wrongToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int make_REQ(X509_REQ *req,EVP_PKEY *pkey,char *dn,int attribs,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int build_subject(X509_REQ *req, char *subj, unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int prompt_info(X509_REQ *req,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *dn_sk, char *dn_sect,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *attr_sk, char *attr_sect, int attribs,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *sk,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *attr, int attribs,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int add_attribute_object(X509_REQ *req, char *text,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *def, char *value, int nid, int n_min,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int n_max, unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int nid,int n_min,int n_max, unsigned long chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_RSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static void MS_CALLBACK req_cb(int p,int n,void *arg);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int req_check_len(int len,int n_min,int n_max);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int check_end(char *str, char *end);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef MONOLITHToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static char *default_config_file=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static CONF *req_conf=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int batch=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define TYPE_RSA 1Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define TYPE_DSA 2Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#define TYPE_DH 3Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.int MAIN(int, char **);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.int MAIN(int argc, char **argv)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ENGINE *e = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. DSA *dsa_params=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long nmflag = 0, reqflag = 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int ex=1,x509=0,days=30;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509 *x509ss=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_REQ *req=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY *pkey=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int i=0,badops=0,newreq=0,verbose=0,pkey_type=TYPE_RSA;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. long newkey = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO *in=NULL,*out=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int informat,outformat,verify=0,noout=0,text=0,keyform=FORMAT_PEM;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int nodes=0,kludge=0,newhdr=0,subject=0,pubkey=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *infile,*outfile,*prog,*keyfile=NULL,*template=NULL,*keyout=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *engine=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *extensions = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *req_exts = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. const EVP_CIPHER *cipher=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ASN1_INTEGER *serial = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int modulus=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *inrand=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *passargin = NULL, *passargout = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *passin = NULL, *passout = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *p;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *subj = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. const EVP_MD *md_alg=NULL,*digest=EVP_md5();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype = MBSTRING_ASC;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef MONOLITHToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *to_free;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. long errline;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_conf = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DESToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. cipher=EVP_des_ede3_cbc();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. apps_startup();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (bio_err == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((bio_err=BIO_new(BIO_s_file())) != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. infile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. outfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. informat=FORMAT_PEM;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. outformat=FORMAT_PEM;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. prog=argv[0];Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. argc--;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. argv++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. while (argc >= 1)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (strcmp(*argv,"-inform") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. informat=str2fmt(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-outform") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. outformat=str2fmt(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-engine") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. engine= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-key") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. keyfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-pubkey") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pubkey=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-new") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newreq=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-config") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. { Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. template= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-keyform") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. keyform=str2fmt(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-in") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. infile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-out") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. outfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-keyout") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. keyout= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-passin") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. passargin= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-passout") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. passargout= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-rand") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. inrand= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-newkey") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int is_numeric;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. is_numeric = p[0] >= '0' && p[0] <= '9';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (strncmp("rsa:",p,4) == 0 || is_numeric)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey_type=TYPE_RSA;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!is_numeric)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p+=4;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newkey= atoi(p);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (strncmp("dsa:",p,4) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509 *xtmp=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY *dtmp;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey_type=TYPE_DSA;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p+=4;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((in=BIO_new_file(p,"r")) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. perror(p);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((dsa_params=PEM_read_bio_DSAparams(in,NULL,NULL,NULL)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (void)BIO_reset(in);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((xtmp=PEM_read_bio_X509(in,NULL,NULL,NULL)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to load DSA parameters from file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((dtmp=X509_get_pubkey(xtmp)) == NULL) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (dtmp->type == EVP_PKEY_DSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. dsa_params=DSAparams_dup(dtmp->pkey.dsa);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(dtmp);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_free(xtmp);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (dsa_params == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Certificate does not contain DSA parameters\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_free(in);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newkey=BN_num_bits(dsa_params->p);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. in=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DHToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (strncmp("dh:",p,4) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey_type=TYPE_DH;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p+=3;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey_type=TYPE_RSA;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newreq=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-batch") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. batch=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-newhdr") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newhdr=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-modulus") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. modulus=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-verify") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. verify=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-nodes") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. nodes=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-noout") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. noout=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-verbose") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. verbose=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-utf8") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. chtype = MBSTRING_UTF8;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-nameopt") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!set_name_ex(&nmflag, *(++argv))) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-reqopt") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!set_cert_ex(&reqflag, *(++argv))) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-subject") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. subject=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-text") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. text=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-x509") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. x509=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-asn1-kludge") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. kludge=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-no-asn1-kludge") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. kludge=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-subj") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. subj= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-days") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. days= atoi(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (days == 0) days=30;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-set_serial") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. serial = s2i_ASN1_INTEGER(NULL, *(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!serial) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if ((md_alg=EVP_get_digestbyname(&((*argv)[1]))) != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* ok */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. digest=md_alg;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-extensions") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. extensions = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-reqexts") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_exts = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unknown option %s\n",*argv);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. badops=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. argc--;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. argv++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (badops)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.bad:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"where options are\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -inform arg input format - DER or PEM\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -outform arg output format - DER or PEM\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -in arg input file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -out arg output file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -text text form of request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -pubkey output public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -noout do not output REQ\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -verify verify signature on REQ\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -modulus RSA modulus\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -nodes don't encrypt the output key\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -engine e use engine e, possibly a hardware device\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -subject output the request's subject\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -passin private key password source\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -key file use the private key contained in file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -keyform arg key file format\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -keyout arg file to send the key to\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," load the file (or the files in the directory) into\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," the random number generator\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -newkey rsa:bits generate a new RSA key of 'bits' in size\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -newkey dsa:file generate a new DSA key, parameters taken from CA in 'file'\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -[digest] Digest to sign with (md5, sha1, md2, mdc2, md4)\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -config file request template file.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -subj arg set or modify request subject\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -new new request.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -batch do not ask anything during request generation\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -x509 output a x509 structure instead of a cert. req.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -days number of days a certificate generated by -x509 is valid for.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -set_serial serial number to use for a certificate generated by -x509.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -newhdr output \"NEW\" in the header lines\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -asn1-kludge Output the 'request' in a format that is wrong but some CA's\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," have been reported as requiring\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -extensions .. specify certificate extension section (override value in config file)\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -reqexts .. specify request extension section (override value in config file)\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -utf8 input characters are UTF8 (default ASCII)\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -nameopt arg - various certificate name options\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err," -reqopt arg - various request text options\n\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_load_crypto_strings();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Error getting passwords\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef MONOLITH /* else this has happened in openssl.c (global `config') */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Lets load up our environment a little */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=getenv("OPENSSL_CONF");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=getenv("SSLEAY_CONF");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=to_free=make_config_name();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. default_config_file=p;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. config=NCONF_new(NULL);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=NCONF_load(config, p, &errline);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (template != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. long errline = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if( verbose )Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Using configuration from %s\n",template);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_conf=NCONF_new(NULL);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=NCONF_load(req_conf,template,&errline);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error on line %ld of %s\n",errline,template);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_conf=config;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if( verbose )Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Using configuration from %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. default_config_file);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (req_conf == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Unable to load config info\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (req_conf != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!load_config(bio_err, req_conf))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=NCONF_get_string(req_conf,NULL,"oid_file");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO *oid_bio;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. oid_bio=BIO_new_file(p,"r");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (oid_bio == NULL) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"problems opening %s for extra oid's\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OBJ_create_objects(oid_bio);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_free(oid_bio);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!add_oid_section(bio_err, req_conf)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (md_alg == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=NCONF_get_string(req_conf,SECTION,"default_md");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((md_alg=EVP_get_digestbyname(p)) != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. digest=md_alg;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!extensions)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. extensions = NCONF_get_string(req_conf, SECTION, V3_EXTENSIONS);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!extensions)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (extensions) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Check syntax of file */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_CTX ctx;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_ctx_test(&ctx);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, req_conf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!X509V3_EXT_add_nconf(req_conf, &ctx, extensions, NULL)) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. "Error Loading extension section %s\n", extensions);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!passin)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. passin = NCONF_get_string(req_conf, SECTION, "input_password");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!passin)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!passout)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. passout = NCONF_get_string(req_conf, SECTION, "output_password");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!passout)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p = NCONF_get_string(req_conf, SECTION, STRING_MASK);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!p)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(p && !ASN1_STRING_set_default_mask_asc(p)) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid global string mask setting %s\n", p);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (chtype != MBSTRING_UTF8)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p = NCONF_get_string(req_conf, SECTION, UTF8_IN);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!p)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (!strcmp(p, "yes"))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. chtype = MBSTRING_UTF8;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!req_exts)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_exts = NCONF_get_string(req_conf, SECTION, REQ_EXTENSIONS);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!req_exts)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(req_exts) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Check syntax of file */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_CTX ctx;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_ctx_test(&ctx);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, req_conf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!X509V3_EXT_add_nconf(req_conf, &ctx, req_exts, NULL)) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. "Error Loading request extension section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_exts);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. in=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. out=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((in == NULL) || (out == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. e = setup_engine(bio_err, engine, 0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (keyfile != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey = load_key(bio_err, keyfile, keyform, 0, passin, e,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. "Private Key");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!pkey)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* load_key() has already printed an appropriateToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. message */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (randfile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. app_RAND_load_file(randfile, bio_err, 0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (newreq && (pkey == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (randfile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. app_RAND_load_file(randfile, bio_err, 0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (inrand)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. app_RAND_load_files(inrand);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (newkey <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!NCONF_get_number(req_conf,SECTION,BITS, &newkey))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newkey=DEFAULT_KEY_LENGTH;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (newkey < MIN_KEY_LENGTH)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"private key length is too short,\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"it needs to be at least %d bits, not %d\n",MIN_KEY_LENGTH,newkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Generating a %d bit %s private key\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. newkey,(pkey_type == TYPE_RSA)?"RSA":"DSA");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((pkey=EVP_PKEY_new()) == NULL) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_RSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey_type == TYPE_RSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!EVP_PKEY_assign_RSA(pkey,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. RSA_generate_key(newkey,0x10001,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_cb,bio_err)))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey_type == TYPE_DSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!DSA_generate_key(dsa_params)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!EVP_PKEY_assign_DSA(pkey,dsa_params)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. dsa_params=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. app_RAND_write_file(randfile, bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey == NULL) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (keyout == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. keyout=NCONF_get_string(req_conf,SECTION,KEYFILE);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (keyout == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (keyout == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"writing new private key to stdout\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_set_fp(out,stdout,BIO_NOCLOSE);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO *tmpbio = BIO_new(BIO_f_linebuffer());Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. out = BIO_push(tmpbio, out);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"writing new private key to '%s'\n",keyout);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (BIO_write_filename(out,keyout) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. perror(keyout);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=NCONF_get_string(req_conf,SECTION,"encrypt_rsa_key");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=NCONF_get_string(req_conf,SECTION,"encrypt_key");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((p != NULL) && (strcmp(p,"no") == 0))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. cipher=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (nodes) cipher=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.loop:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!PEM_write_bio_PrivateKey(out,pkey,cipher,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. NULL,0,NULL,passout))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((ERR_GET_REASON(ERR_peek_error()) ==Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. PEM_R_PROBLEMS_GETTING_PASSWORD) && (i < 3))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto loop;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"-----\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!newreq)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Since we are using a pre-existing certificateToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * request, the kludge 'format' info should not beToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * changed. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. kludge= -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (infile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_set_fp(in,stdin,BIO_NOCLOSE);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (BIO_read_filename(in,infile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. perror(infile);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (informat == FORMAT_ASN1)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req=d2i_X509_REQ_bio(in,NULL);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (informat == FORMAT_PEM)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req=PEM_read_bio_X509_REQ(in,NULL,NULL,NULL);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"bad input format specified for X509 request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (req == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to load X509 request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (newreq || x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"you need to specify a private key\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey->type == EVP_PKEY_DSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. digest=EVP_dss1();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (req == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req=X509_REQ_new();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (req == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=make_REQ(req,pkey,subj,!x509, chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. subj=NULL; /* done processing '-subj' option */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((kludge > 0) && !sk_X509_ATTRIBUTE_num(req->req_info->attributes))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sk_X509_ATTRIBUTE_free(req->req_info->attributes);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req->req_info->attributes = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!i)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"problems making Certificate Request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY *tmppkey;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_CTX ext_ctx;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((x509ss=X509_new()) == NULL) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Set version to V3 */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!X509_set_version(x509ss, 2)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (serial)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_set_serialNumber(x509ss, serial)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!ASN1_INTEGER_set(X509_get_serialNumber(x509ss),0L)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_set_issuer_name(x509ss, X509_REQ_get_subject_name(req))) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_gmtime_adj(X509_get_notBefore(x509ss),0)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_gmtime_adj(X509_get_notAfter(x509ss), (long)60*60*24*days)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_set_subject_name(x509ss, X509_REQ_get_subject_name(req))) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tmppkey = X509_REQ_get_pubkey(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!tmppkey || !X509_set_pubkey(x509ss,tmppkey)) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(tmppkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Set up V3 context struct */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_ctx(&ext_ctx, x509ss, x509ss, NULL, NULL, 0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_nconf(&ext_ctx, req_conf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Add extensions */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(extensions && !X509V3_EXT_add_nconf(req_conf, Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. &ext_ctx, extensions, x509ss))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. "Error Loading extension section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. extensions);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!(i=X509_sign(x509ss,pkey,digest)))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_CTX ext_ctx;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Set up V3 context struct */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, 0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509V3_set_nconf(&ext_ctx, req_conf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Add extensions */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(req_exts && !X509V3_EXT_REQ_add_nconf(req_conf, Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. &ext_ctx, req_exts, req))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. "Error Loading extension section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req_exts);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!(i=X509_REQ_sign(req,pkey,digest)))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (subj && x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Cannot modifiy certificate subject\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (subj && !x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Modifying Request's Subject\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. print_name(bio_err, "old subject=", X509_REQ_get_subject_name(req), nmflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (build_subject(req, subj, chtype) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "ERROR: cannot modify subject\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ex=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. req->req_info->enc.modified = 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. print_name(bio_err, "new subject=", X509_REQ_get_subject_name(req), nmflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (verify && !x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int tmp=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey=X509_REQ_get_pubkey(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tmp=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pkey == NULL) goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=X509_REQ_verify(req,pkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (tmp) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(pkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. pkey=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (i < 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"verify failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else /* if (i > 0) */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"verify OK\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (noout && !text && !modulus && !subject && !pubkey)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ex=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (outfile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_set_fp(out,stdout,BIO_NOCLOSE);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO *tmpbio = BIO_new(BIO_f_linebuffer());Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. out = BIO_push(tmpbio, out);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((keyout != NULL) && (strcmp(outfile,keyout) == 0))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=(int)BIO_append_filename(out,outfile);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=(int)BIO_write_filename(out,outfile);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!i)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. perror(outfile);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (pubkey)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY *tpubkey; Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tpubkey=X509_REQ_get_pubkey(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (tpubkey == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Error getting public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. PEM_write_bio_PUBKEY(out, tpubkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(tpubkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (text)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_print_ex(out, x509ss, nmflag, reqflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_REQ_print_ex(out, req, nmflag, reqflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(subject) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. print_name(out, "subject=", X509_get_subject_name(x509ss), nmflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. print_name(out, "subject=", X509_REQ_get_subject_name(req), nmflag);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (modulus)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY *tpubkey;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tpubkey=X509_get_pubkey(x509ss);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tpubkey=X509_REQ_get_pubkey(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (tpubkey == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fprintf(stdout,"Modulus=unavailable\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end; Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fprintf(stdout,"Modulus=");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_RSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (tpubkey->type == EVP_PKEY_RSA)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BN_print(out,tpubkey->pkey.rsa->n);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fprintf(stdout,"Wrong Algorithm type");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(tpubkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fprintf(stdout,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!noout && !x509)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (outformat == FORMAT_ASN1)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=i2d_X509_REQ_bio(out,req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (outformat == FORMAT_PEM) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(newhdr) i=PEM_write_bio_X509_REQ_NEW(out,req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else i=PEM_write_bio_X509_REQ(out,req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. } else {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"bad output format specified for outfile\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!i)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to write X509 request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!noout && x509 && (x509ss != NULL))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (outformat == FORMAT_ASN1)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=i2d_X509_bio(out,x509ss);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (outformat == FORMAT_PEM)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=PEM_write_bio_X509(out,x509ss);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"bad output format specified for outfile\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!i)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to write X509 certificate\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto end;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ex=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.end:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef MONOLITHToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(to_free)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OPENSSL_free(to_free);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (ex)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((req_conf != NULL) && (req_conf != config)) NCONF_free(req_conf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_free(in);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_free_all(out);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. EVP_PKEY_free(pkey);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_REQ_free(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_free(x509ss);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ASN1_INTEGER_free(serial);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(passargin && passin) OPENSSL_free(passin);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(passargout && passout) OPENSSL_free(passout);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OBJ_cleanup();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (dsa_params != NULL) DSA_free(dsa_params);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. apps_shutdown();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OPENSSL_EXIT(ex);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int attribs,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int ret=0,i;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char no_prompt = 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *dn_sk, *attr_sk = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *tmp, *dn_sect,*attr_sect;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tmp=NCONF_get_string(req_conf,SECTION,PROMPT);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (tmp == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if((tmp != NULL) && !strcmp(tmp, "no")) no_prompt = 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. dn_sect=NCONF_get_string(req_conf,SECTION,DISTINGUISHED_NAME);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (dn_sect == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to find '%s' in config\n",Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. DISTINGUISHED_NAME);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. dn_sk=NCONF_get_section(req_conf,dn_sect);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (dn_sk == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to get '%s' section\n",dn_sect);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. attr_sect=NCONF_get_string(req_conf,SECTION,ATTRIBUTES);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (attr_sect == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error(); Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. attr_sk=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. attr_sk=NCONF_get_section(req_conf,attr_sect);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (attr_sk == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to get '%s' section\n",attr_sect);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* setup version number */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_REQ_set_version(req,0L)) goto err; /* version 1 */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (no_prompt) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i = auto_info(req, dn_sk, attr_sk, attribs, chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (subj)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i = build_subject(req, subj, chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i = prompt_info(req, dn_sk, dn_sect, attr_sk, attr_sect, attribs, chtype);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!i) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_REQ_set_pubkey(req,pkey)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ret=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(ret);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations./*Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * subject is expected to be in the format /type0=value0/type1=value1/type2=...Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * where characters may be escaped by \Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int build_subject(X509_REQ *req, char *subject, unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_NAME *n;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!(n = do_subject(subject, chtype)))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_REQ_set_subject_name(req, n))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_NAME_free(n);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_NAME_free(n);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.}Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int prompt_info(X509_REQ *req,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *dn_sk, char *dn_sect,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *attr_sk, char *attr_sect, int attribs,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int i;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *p,*q;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char buf[100];Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int nid;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. long n_min,n_max;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *type,*def,*value;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. CONF_VALUE *v;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_NAME *subj;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. subj = X509_REQ_get_subject_name(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!batch)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"You are about to be asked to enter information that will be incorporated\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"into your certificate request.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"What you are about to enter is what is called a Distinguished Name or a DN.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"There are quite a few fields but you can leave some blank\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"For some fields there will be a default value,\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"If you enter '.', the field will be left blank.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"-----\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (sk_CONF_VALUE_num(dn_sk))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i= -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.start: for (;;)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (sk_CONF_VALUE_num(dn_sk) <= i) break;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. v=sk_CONF_VALUE_value(dn_sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=q=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. type=v->name;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!check_end(type,"_min") || !check_end(type,"_max") ||Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. !check_end(type,"_default") ||Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. !check_end(type,"_value")) continue;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Skip past any leading X. X: X, etc to allow forToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * multiple instances Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. for(p = v->name; *p ; p++) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((*p == ':') || (*p == ',') ||Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (*p == '.')) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(*p) type = p;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* If OBJ not recognised ignore it */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((nid=OBJ_txt2nid(type)) == NID_undef) goto start;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(strlen(v->name) > sizeof buf-9)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Name '%s' too long\n",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_default",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((def=NCONF_get_string(req_conf,dn_sect,buf)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. def="";Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_value",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((value=NCONF_get_string(req_conf,dn_sect,buf)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. value=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_min",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!NCONF_get_number(req_conf,dn_sect,buf, &n_min))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. n_min = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_max",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!NCONF_get_number(req_conf,dn_sect,buf, &n_max))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. n_max = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!add_DN_object(subj,v->value,def,value,nid,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. n_min,n_max, chtype))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (X509_NAME_entry_count(subj) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error, no objects specified in config file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (attribs)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((attr_sk != NULL) && (sk_CONF_VALUE_num(attr_sk) > 0) && (!batch))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\nPlease enter the following 'extra' attributes\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"to be sent with your certificate request\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i= -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.start2: for (;;)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((attr_sk == NULL) ||Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (sk_CONF_VALUE_num(attr_sk) <= i))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. v=sk_CONF_VALUE_value(attr_sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. type=v->name;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((nid=OBJ_txt2nid(type)) == NID_undef)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto start2;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(strlen(v->name) > sizeof buf-9)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Name '%s' too long\n",v->name);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_default",type);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((def=NCONF_get_string(req_conf,attr_sect,buf))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. def="";Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_value",type);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((value=NCONF_get_string(req_conf,attr_sect,buf))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. value=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_min",type);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!NCONF_get_number(req_conf,attr_sect,buf, &n_min))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. n_min = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. sprintf(buf,"%s_max",type);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!NCONF_get_number(req_conf,attr_sect,buf, &n_max))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. n_max = -1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!add_attribute_object(req,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. v->value,def,value,nid,n_min,n_max, chtype))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"No template, please set one up.\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *attr_sk, int attribs, unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int i;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *p,*q;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *type;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. CONF_VALUE *v;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. X509_NAME *subj;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. subj = X509_REQ_get_subject_name(req);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. for (i = 0; i < sk_CONF_VALUE_num(dn_sk); i++)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. v=sk_CONF_VALUE_value(dn_sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=q=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. type=v->name;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. /* Skip past any leading X. X: X, etc to allow forToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. * multiple instances Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. for(p = v->name; *p ; p++) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef CHARSET_EBCDICToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((*p == ':') || (*p == ',') || (*p == '.')) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((*p == os_toascii[':']) || (*p == os_toascii[',']) || (*p == os_toascii['.'])) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(*p) type = p;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_NAME_add_entry_by_txt(subj,type, chtype,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (unsigned char *) v->value,-1,-1,0)) return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_NAME_entry_count(subj))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error, no objects specified in config file\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (attribs)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. for (i = 0; i < sk_CONF_VALUE_num(attr_sk); i++)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. v=sk_CONF_VALUE_value(attr_sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!X509_REQ_add1_attr_by_txt(req, v->name, chtype,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (unsigned char *)v->value, -1)) return 0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int nid, int n_min, int n_max, unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int i,ret=0;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. MS_STATIC char buf[1024];Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.start:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!batch) BIO_printf(bio_err,"%s [%s]:",text,def);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (void)BIO_flush(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(value != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OPENSSL_assert(strlen(value) < sizeof buf-2);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcpy(buf,value);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcat(buf,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s\n",value);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[0]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!batch)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fgets(buf,sizeof buf,stdin);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[0] = '\n';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[1] = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (buf[0] == '\0') return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (buf[0] == '\n')Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((def == NULL) || (def[0] == '\0'))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcpy(buf,def);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcat(buf,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=strlen(buf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (buf[i-1] != '\n')Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"weird input :-(\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[--i]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef CHARSET_EBCDICToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ebcdic2ascii(buf, buf, i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!req_check_len(i, n_min, n_max)) goto start;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!X509_NAME_add_entry_by_NID(n,nid, chtype,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (unsigned char *) buf, -1,-1,0)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ret=1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(ret);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int add_attribute_object(X509_REQ *req, char *text,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *def, char *value, int nid, int n_min,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int n_max, unsigned long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int i;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. static char buf[1024];Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.start:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!batch) BIO_printf(bio_err,"%s [%s]:",text,def);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (void)BIO_flush(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (value != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. OPENSSL_assert(strlen(value) < sizeof buf-2);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcpy(buf,value);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcat(buf,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s\n",value);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[0]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (!batch)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. fgets(buf,sizeof buf,stdin);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[0] = '\n';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[1] = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (buf[0] == '\0') return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if (buf[0] == '\n')Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((def == NULL) || (def[0] == '\0'))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcpy(buf,def);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. strcat(buf,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. i=strlen(buf);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (buf[i-1] != '\n')Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"weird input :-(\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. buf[--i]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef CHARSET_EBCDICToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ebcdic2ascii(buf, buf, i);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!req_check_len(i, n_min, n_max)) goto start;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(!X509_REQ_add1_attr_by_NID(req, nid, chtype,Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (unsigned char *)buf, -1)) {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Error adding attribute\n");Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_RSAToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static void MS_CALLBACK req_cb(int p, int n, void *arg)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char c='*';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == 0) c='.';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == 1) c='+';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == 2) c='*';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if (p == 3) c='\n';Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_write((BIO *)arg,&c,1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. (void)BIO_flush((BIO *)arg);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#ifdef LINTToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. p=n;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int req_check_len(int len, int n_min, int n_max)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((n_min > 0) && (len < n_min))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"string is too short, it needs to be at least %d bytes long\n",n_min);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if ((n_max >= 0) && (len > n_max))Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. BIO_printf(bio_err,"string is too long, it needs to be less than %d bytes long\n",n_max);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return(1);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations./* Check if the end of a string matches 'end' */Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.static int check_end(char *str, char *end)Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.{Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. int elen, slen; Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. char *tmp;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. elen = strlen(end);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. slen = strlen(str);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. if(elen > slen) return 1;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. tmp = str + slen - elen;Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. return strcmp(tmp, end);Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.}