openssl-0.9.7/apps/ca.c
Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./* apps/ca.c */Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * All rights reserved.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * This package is an SSL implementation writtenToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * by Eric Young (eay@cryptsoft.com).Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * the following conditions are aheared to. The following conditionsToo many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * the code are not to be removed.Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * modification, are permitted provided that the following conditionsToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * are met:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * 1. Redistributions of source code must retain the copyrightToo many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * must display the following acknowledgement:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * "This product includes cryptographic software written byToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Eric Young (eay@cryptsoft.com)"Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * being used are not cryptographic related :-).Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALToo many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 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 17 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 17 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 17 configurations. Use --force to check all configurations. * SUCH DAMAGE.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 configurations. Use --force to check all configurations. * copied and put under another distribution licenceToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * [including the GNU Public Licence.]Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./* The PPKI stuff has been donated by Jeff Barber <jeffb@issl.atl.hp.com> */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <stdio.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <stdlib.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <string.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <ctype.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <sys/types.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <sys/stat.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/conf.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/bio.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/err.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/bn.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/txt_db.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/evp.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/x509.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/x509v3.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/objects.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/ocsp.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include <openssl/pem.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_WINDOWSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define strcasecmp _stricmpToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# ifdef NO_STRINGS_HToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int strcasecmp();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# include <strings.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# endif /* NO_STRINGS_H */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef W_OKToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# if defined(__DECC)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# include <unistd.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# include <unixlib.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# elif !defined(OPENSSL_SYS_VXWORKS) && !defined(OPENSSL_SYS_WINDOWS)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# include <sys/file.h>Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#include "apps.h"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef W_OKToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# define F_OK 0Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# define X_OK 1Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# define W_OK 2Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.# define R_OK 4Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#undef PROGToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define PROG ca_mainToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define BASE_SECTION "ca"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define CONFIG_FILE "openssl.cnf"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_CA "default_ca"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DIR "dir"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CERTS "certs"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CRL_DIR "crl_dir"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CA_DB "CA_DB"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_NEW_CERTS_DIR "new_certs_dir"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CERTIFICATE "certificate"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_SERIAL "serial"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CRL "crl"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_PRIVATE_KEY "private_key"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_RANDFILE "RANDFILE"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_DAYS "default_days"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_STARTDATE "default_startdate"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_ENDDATE "default_enddate"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_CRL_DAYS "default_crl_days"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_CRL_HOURS "default_crl_hours"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_MD "default_md"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DEFAULT_EMAIL_DN "email_in_dn"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_PRESERVE "preserve"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_POLICY "policy"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_EXTENSIONS "x509_extensions"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CRLEXT "crl_extensions"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_MSIE_HACK "msie_hack"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_NAMEOPT "name_opt"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_CERTOPT "cert_opt"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_EXTCOPY "copy_extensions"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define ENV_DATABASE "database"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_type 0Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_exp_date 1Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_rev_date 2Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_serial 3 /* index - unique */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_file 4 Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_name 5 /* index - unique for active */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_NUMBER 6Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_TYPE_REV 'R'Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_TYPE_EXP 'E'Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define DB_TYPE_VAL 'V'Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./* Additional revocation information types */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define REV_NONE 0 /* No addditional information */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define REV_CRL_REASON 1 /* Value is CRL reason code */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define REV_HOLD 2 /* Value is hold instruction */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define REV_KEY_COMPROMISE 3 /* Value is cert key compromise time */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define REV_CA_COMPROMISE 4 /* Value is CA key compromise time */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static char *ca_usage[]={Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations."usage: ca args\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations."\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -verbose - Talk alot while doing things\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -config file - A config file\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -name arg - The particular CA definition to use\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -gencrl - Generate a new CRL\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -crldays days - Days is when the next CRL is due\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -crlhours hours - Hours is when the next CRL is due\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -startdate YYMMDDHHMMSSZ - certificate validity notBefore\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -enddate YYMMDDHHMMSSZ - certificate validity notAfter (overrides -days)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -days arg - number of days to certify the certificate for\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -md arg - md to use, one of md2, md5, sha or sha1\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -policy arg - The CA 'policy' to support\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -keyfile arg - private key file\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -keyform arg - private key file format (PEM or ENGINE)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -key arg - key to decode the private key if it is encrypted\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -cert file - The CA certificate\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -in file - The input PEM encoded certificate request(s)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -out file - Where to put the output file(s)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -outdir dir - Where to put output certificates\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -infiles .... - The last argument, requests to process\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -spkac file - File contains DN and signed public key and challenge\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -ss_cert file - File contains a self signed cert to sign\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -preserveDN - Don't re-order the DN\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -noemailDN - Don't add the EMAIL field into certificate' subject\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -batch - Don't ask questions\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -msie_hack - msie modifications to handle all those universal strings\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -revoke file - Revoke a certificate (given in file)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -subj arg - Use arg instead of request's subject\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -extensions .. - Extension section (override value in config file)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -extfile file - Configuration file with X509v3 extentions to add\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -crlexts .. - CRL extension section (override value in config file)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -engine e - use engine e, possibly a hardware device.\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -status serial - Shows certificate status given the serial number\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations." -updatedb - Updates db for expired certificates\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.NULLToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.};Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef EFENCEToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.extern int EF_PROTECT_FREE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.extern int EF_PROTECT_BELOW;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.extern int EF_ALIGNMENT;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static void lookup_fail(char *name,char *tag);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static unsigned long index_serial_hash(const char **a);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_serial_cmp(const char **a, const char **b);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static unsigned long index_name_hash(const char **a);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_name_qual(char **a);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_name_cmp(const char **a,const char **b);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static BIGNUM *load_serial(char *serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int save_serial(char *serialfile, BIGNUM *serial);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify(X509 **xret, char *infile,EVP_PKEY *pkey,X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy,TXT_DB *db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *serial, char *subj, int email_dn, char *startdate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *enddate, long days, int batch, char *ext_sect, CONF *conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int verbose, unsigned long certopt, unsigned long nameopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int default_op, int ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify_cert(X509 **xret, char *infile,EVP_PKEY *pkey,X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. TXT_DB *db, BIGNUM *serial, char *subj, int email_dn,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *startdate, char *enddate, long days, int batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *ext_sect, CONF *conf,int verbose, unsigned long certopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long nameopt, int default_op, int ext_copy,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENGINE *e);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify_spkac(X509 **xret, char *infile,EVP_PKEY *pkey,X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. TXT_DB *db, BIGNUM *serial,char *subj, int email_dn,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *startdate, char *enddate, long days, char *ext_sect,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. CONF *conf, int verbose, unsigned long certopt, Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long nameopt, int default_op, int ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int fix_data(int nid, int *type);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static void write_new_certificate(BIO *bp, X509 *x, int output_der, int notext);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *policy, TXT_DB *db, BIGNUM *serial,char *subj,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int email_dn, char *startdate, char *enddate, long days, int batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int verbose, X509_REQ *req, char *ext_sect, CONF *conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long certopt, unsigned long nameopt, int default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_revoke(X509 *x509, TXT_DB *db, int ext, char *extval);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int get_certificate_status(const char *ser_status, TXT_DB *db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_updatedb(TXT_DB *db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int check_time_format(char *str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.char *make_revocation_str(int rev_type, char *rev_arg);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int make_revoked(X509_REVOKED *rev, char *str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int old_entry_print(BIO *bp, ASN1_OBJECT *obj, ASN1_STRING *str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static CONF *conf=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static CONF *extconf=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static char *section=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int preserve=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int msie_hack=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static IMPLEMENT_LHASH_HASH_FN(index_serial_hash,const char **)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static IMPLEMENT_LHASH_COMP_FN(index_serial_cmp,const char **)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static IMPLEMENT_LHASH_HASH_FN(index_name_hash,const char **)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static IMPLEMENT_LHASH_COMP_FN(index_name_cmp,const char **)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int MAIN(int, char **);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int MAIN(int argc, char **argv)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENGINE *e = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *key=NULL,*passargin=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int free_key = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int total=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int total_done=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int badops=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ret=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int email_dn=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int req=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int verbose=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int gencrl=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int dorevoke=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int doupdatedb=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long crldays=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long crlhours=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long errorline= -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *configfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *md=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *policy=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *keyfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *certfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int keyform=FORMAT_PEM;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *infile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *spkac_file=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *ss_cert_file=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *ser_status=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY *pkey=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int output_der = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *outfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *outdir=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *serialfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *extensions=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *extfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *subj=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *tmp_email_dn=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *crl_ext=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int rev_type = REV_NONE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *rev_arg = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *serial=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *startdate=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *enddate=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long days=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int batch=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int notext=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long nameopt = 0, certopt = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int default_op = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ext_copy = EXT_COPY_NONE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509 *x509=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509 *x=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *in=NULL,*out=NULL,*Sout=NULL,*Cout=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *dbfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. TXT_DB *db=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL *crl=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REVOKED *r=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_TIME *tmptm;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_INTEGER *tmpser;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char **pp,*p,*f;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i,j;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long l;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *attribs=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. STACK_OF(X509) *cert_sk=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#undef BSIZEToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define BSIZE 256Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. MS_STATIC char buf[3][BSIZE];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *randfile=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *engine = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *tofree=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef EFENCEToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.EF_PROTECT_FREE=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.EF_PROTECT_BELOW=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.EF_ALIGNMENT=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. apps_startup();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. conf = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. key = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. preserve=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. msie_hack=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (bio_err == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 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 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argc--;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argv++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (argc >= 1)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strcmp(*argv,"-verbose") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. verbose=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-config") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. configfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-name") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-subj") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. subj= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* preserve=1; */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-startdate") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. startdate= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-enddate") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. enddate= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-days") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. days=atoi(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-md") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. md= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-policy") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. policy= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-keyfile") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. keyfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-keyform") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. keyform=str2fmt(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-passin") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. passargin= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-key") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. key= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-cert") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. certfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-in") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. infile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-out") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. outfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-outdir") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. outdir= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-notext") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. notext=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-batch") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. batch=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-preserveDN") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. preserve=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-noemailDN") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. email_dn=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-gencrl") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. gencrl=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-msie_hack") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. msie_hack=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crldays") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crldays= atol(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crlhours") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crlhours= atol(*(++argv));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-infiles") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argc--;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argv++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv, "-ss_cert") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ss_cert_file = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv, "-spkac") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. spkac_file = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-revoke") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. infile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dorevoke=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-extensions") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-extfile") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extfile= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-status") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ser_status= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-updatedb") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. doupdatedb=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crlexts") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crl_ext= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crl_reason") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_arg = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_type = REV_CRL_REASON;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crl_hold") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_arg = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_type = REV_HOLD;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crl_compromise") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_arg = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_type = REV_KEY_COMPROMISE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-crl_CA_compromise") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_arg = *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_type = REV_CA_COMPROMISE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(*argv,"-engine") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (--argc < 1) goto bad;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. engine= *(++argv);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.bad:Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. badops=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argc--;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. argv++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (badops)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (pp=ca_usage; (*pp != NULL); pp++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s",*pp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_load_crypto_strings();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. e = setup_engine(bio_err, engine, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tofree=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (configfile == NULL) configfile = getenv("OPENSSL_CONF");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (configfile == NULL) configfile = getenv("SSLEAY_CONF");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (configfile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const char *s=X509_get_default_cert_area();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tofree=OPENSSL_malloc(strlen(s)+sizeof(CONFIG_FILE));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(tofree,s);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tofree=OPENSSL_malloc(strlen(s)+sizeof(CONFIG_FILE)+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(tofree,s);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(tofree,"/");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(tofree,CONFIG_FILE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. configfile=tofree;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Using configuration from %s\n",configfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. conf = NCONF_new(NULL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (NCONF_load(conf,configfile,&errorline) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (errorline <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error loading the config file '%s'\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. configfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error on line %ld of config file '%s'\n"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ,errorline,configfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(tofree)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(tofree);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!load_config(bio_err, conf))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Lets get the config section we are using */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (section == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section=NCONF_get_string(conf,BASE_SECTION,ENV_DEFAULT_CA);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (section == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(BASE_SECTION,ENV_DEFAULT_CA);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (conf != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=NCONF_get_string(conf,NULL,"oid_file");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (p == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (p != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *oid_bio;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. oid_bio=BIO_new_file(p,"r");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (oid_bio == NULL) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OBJ_create_objects(oid_bio);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free(oid_bio);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!add_oid_section(bio_err,conf)) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. randfile = NCONF_get_string(conf, BASE_SECTION, "RANDFILE");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (randfile == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. app_RAND_load_file(randfile, bio_err, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. in=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Sout=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Cout=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((in == NULL) || (out == NULL) || (Sout == NULL) || (Cout == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* report status of cert with serial number given on command line */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ser_status)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_DATABASE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_read_filename(in,dbfile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to open '%s'\n",dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db=TXT_DB_read(in,DB_NUMBER);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (db == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!make_serial_index(db))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (get_certificate_status(ser_status,db) != 1)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Error verifying serial %s!\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ser_status);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* we definitely need a public key, so let's get it */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((keyfile == NULL) && ((keyfile=NCONF_get_string(conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section,ENV_PRIVATE_KEY)) == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_PRIVATE_KEY);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!key)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. free_key = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!app_passwd(bio_err, passargin, NULL, &key, NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Error getting password\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pkey = load_key(bio_err, keyfile, keyform, 0, key, e, Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "CA private key");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (key) OPENSSL_cleanse(key,strlen(key));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (pkey == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* load_key() has already printed an appropriate message */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* we need a certificate */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((certfile == NULL) && ((certfile=NCONF_get_string(conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section,ENV_CERTIFICATE)) == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_CERTIFICATE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. x509=load_cert(bio_err, certfile, FORMAT_PEM, NULL, e,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "CA certificate");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (x509 == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_check_private_key(x509,pkey))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"CA certificate and CA private key do not match\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=NCONF_get_string(conf,BASE_SECTION,ENV_PRESERVE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (f == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((f != NULL) && ((*f == 'y') || (*f == 'Y')))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. preserve=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=NCONF_get_string(conf,BASE_SECTION,ENV_MSIE_HACK);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (f == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((f != NULL) && ((*f == 'y') || (*f == 'Y')))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. msie_hack=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=NCONF_get_string(conf,section,ENV_NAMEOPT);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (f)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!set_name_ex(&nameopt, f))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid name options: \"%s\"\n", f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. default_op = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=NCONF_get_string(conf,section,ENV_CERTOPT);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (f)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!set_cert_ex(&certopt, f))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid certificate options: \"%s\"\n", f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. default_op = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=NCONF_get_string(conf,section,ENV_EXTCOPY);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (f)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!set_ext_copy(&ext_copy, f))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* lookup where to write new certificates */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((outdir == NULL) && (req))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. struct stat sb;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((outdir=NCONF_get_string(conf,section,ENV_NEW_CERTS_DIR))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"there needs to be defined a directory for new certificate to be placed in\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* outdir is a directory spec, but access() for VMS demands aToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. filename. In any case, stat(), below, will catch the problemToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if outdir is not a directory spec, and the fopen() or open()Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. will catch an error if there is no write access.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Presumably, this problem could also be solved by using the DECToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. C routines to convert the directory syntax to Unixly, and giveToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. that to access(). However, time's too short to do that justToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. now.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (access(outdir,R_OK|W_OK|X_OK) != 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"I am unable to access the %s directory\n",outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (stat(outdir,&sb) != 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to stat(%s)\n",outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef S_IFDIRToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!(sb.st_mode & S_IFDIR))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s need to be a directory\n",outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* we need to load the database file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_DATABASE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_read_filename(in,dbfile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to open '%s'\n",dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db=TXT_DB_read(in,DB_NUMBER);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (db == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Lets check some fields */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<sk_num(db->data); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pp=(char **)sk_value(db->data,i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((pp[DB_type][0] != DB_TYPE_REV) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (pp[DB_rev_date][0] != '\0'))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"entry %d: not revoked yet, but has a revocation date\n",i+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((pp[DB_type][0] == DB_TYPE_REV) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. !make_revoked(NULL, pp[DB_rev_date]))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err," in entry %d\n", i+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!check_time_format(pp[DB_exp_date]))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"entry %d: invalid expiry date\n",i+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=pp[DB_serial];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=strlen(p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*p == '-')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j--;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((j&1) || (j < 2))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"entry %d: bad serial number length (%d)\n",i+1,j);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (*p)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!( ((*p >= '0') && (*p <= '9')) ||Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ((*p >= 'A') && (*p <= 'F')) ||Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ((*p >= 'a') && (*p <= 'f'))) )Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"entry %d: bad serial number characters, char pos %ld, char is '%c'\n",i+1,(long)(p-pp[DB_serial]),*p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_set_fp(out,stdout,BIO_NOCLOSE|BIO_FP_TEXT); /* cannot fail */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *tmpbio = BIO_new(BIO_f_linebuffer());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out = BIO_push(tmpbio, out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. TXT_DB_write(out,db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%d entries loaded from the database\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db->data->num);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"generating index\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!make_serial_index(db))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!TXT_DB_create_index(db, DB_name, index_name_qual,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. LHASH_HASH_FN(index_name_hash),Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. LHASH_COMP_FN(index_name_cmp)))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error creating name index:(%ld,%ld,%ld)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db->error,db->arg1,db->arg2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Update the db file for expired certificates */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (doupdatedb)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Updating %s ...\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i = do_updatedb(db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i == -1)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Malloc failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose) BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "No entries found to mark expired\n"); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out = BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (out == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = BIO_snprintf(buf[0], sizeof buf[0], "%s.new", dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = BIO_snprintf(buf[0], sizeof buf[0], "%s-new", dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0 || j >= sizeof buf[0])Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "file name too long\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(out,buf[0]) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to open '%s'\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=TXT_DB_write(out,db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j <= 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free(out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = BIO_snprintf(buf[1], sizeof buf[1], "%s.old", dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = BIO_snprintf(buf[1], sizeof buf[1], "%s-old", dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0 || j >= sizeof buf[1])Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "file name too long\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(dbfile,buf[1]) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dbfile, buf[1]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(buf[0],dbfile) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[0],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rename(buf[1],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose) BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "Done. %d entries marked as expired\n",i); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Read extentions config file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (extfile)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extconf = NCONF_new(NULL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (NCONF_load(extconf,extfile,&errorline) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (errorline <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "ERROR: loading the config file '%s'\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "ERROR: on line %ld of config file '%s'\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. errorline,extfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Successfully loaded extensions file %s\n", extfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We can have sections in the ext file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!extensions && !(extensions = NCONF_get_string(extconf, "default", "extensions")))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions = "default";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req || gencrl)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (outfile != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(Sout,outfile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(outfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_set_fp(Sout,stdout,BIO_NOCLOSE|BIO_FP_TEXT);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *tmpbio = BIO_new(BIO_f_linebuffer());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Sout = BIO_push(tmpbio, Sout);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((md == NULL) && ((md=NCONF_get_string(conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section,ENV_DEFAULT_MD)) == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_DEFAULT_MD);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((email_dn == 1) && ((tmp_email_dn=NCONF_get_string(conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section,ENV_DEFAULT_EMAIL_DN)) != NULL ))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(strcmp(tmp_email_dn,"no") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. email_dn=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((dgst=EVP_get_digestbyname(md)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"message digest is %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OBJ_nid2ln(dgst->type));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((policy == NULL) && ((policy=NCONF_get_string(conf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. section,ENV_POLICY)) == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_POLICY);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"policy is %s\n",policy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((serialfile=NCONF_get_string(conf,section,ENV_SERIAL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. lookup_fail(section,ENV_SERIAL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!extconf)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* no '-extfile' option, so we look for extensionsToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * in the main configuration file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!extensions)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions=NCONF_get_string(conf,section,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENV_EXTENSIONS);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!extensions)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (extensions)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Check syntax of file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_CTX ctx;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_ctx_test(&ctx);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, conf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509V3_EXT_add_nconf(conf, &ctx, extensions,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "Error Loading extension section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (startdate == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. startdate=NCONF_get_string(conf,section,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENV_DEFAULT_STARTDATE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (startdate == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (startdate && !ASN1_UTCTIME_set_string(NULL,startdate))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"start date is invalid, it should be YYMMDDHHMMSSZ\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (startdate == NULL) startdate="today";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (enddate == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. enddate=NCONF_get_string(conf,section,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENV_DEFAULT_ENDDATE);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (enddate == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (enddate && !ASN1_UTCTIME_set_string(NULL,enddate))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"end date is invalid, it should be YYMMDDHHMMSSZ\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (days == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(!NCONF_get_number(conf,section, ENV_DEFAULT_DAYS, &days))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. days = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!enddate && (days == 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"cannot lookup how many days to certify for\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((serial=load_serial(serialfile)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error while loading serial number\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BN_is_zero(serial))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"next serial number is 00\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((f=BN_bn2hex(serial)) == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"next serial number is %s\n",f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((attribs=NCONF_get_section(conf,policy)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to find 'section' for %s\n",policy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((cert_sk=sk_X509_new_null()) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (spkac_file != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=certify_spkac(&x,spkac_file,pkey,x509,dgst,attribs,db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serial,subj,email_dn,startdate,enddate,days,extensions,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. conf,verbose,certopt,nameopt,default_op,ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total_done++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!BN_add_word(serial,1)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!sk_X509_push(cert_sk,x))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (outfile)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. output_der = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. batch = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ss_cert_file != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=certify_cert(&x,ss_cert_file,pkey,x509,dgst,attribs,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db,serial,subj,email_dn,startdate,enddate,days,batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions,conf,verbose, certopt, nameopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. default_op, ext_copy, e);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total_done++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!BN_add_word(serial,1)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!sk_X509_push(cert_sk,x))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (infile != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=certify(&x,infile,pkey,x509,dgst,attribs,db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serial,subj,email_dn,startdate,enddate,days,batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions,conf,verbose, certopt, nameopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. default_op, ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total_done++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!BN_add_word(serial,1)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!sk_X509_push(cert_sk,x))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<argc; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=certify(&x,argv[i],pkey,x509,dgst,attribs,db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serial,subj,email_dn,startdate,enddate,days,batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. extensions,conf,verbose, certopt, nameopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. default_op, ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. total_done++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!BN_add_word(serial,1)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!sk_X509_push(cert_sk,x))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. } Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* we have a stack of newly certified certificatesToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * and a data base and serial number that needToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * updating */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (sk_X509_num(cert_sk) > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!batch)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\n%d out of %d certificate requests certified, commit? [y/n]",total_done,total);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (void)BIO_flush(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[0][0]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. fgets(buf[0],10,stdin);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((buf[0][0] != 'y') && (buf[0][0] != 'Y'))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"CERTIFICATION CANCELED\n"); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Write out database with %d new entries\n",sk_X509_num(cert_sk));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(strlen(serialfile) > BSIZE-5 || strlen(dbfile) > BSIZE-5)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"file name too long\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(buf[0],serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[0],"-new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[0],".new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!save_serial(buf[0],serial)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(buf[1],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[1],"-new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[1],".new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(out,buf[1]) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to open '%s'\n",dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. l=TXT_DB_write(out,db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (l <= 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"writing new certificates\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<sk_X509_num(cert_sk); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int k;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned char *n;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. x=sk_X509_value(cert_sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=x->cert_info->serialNumber->length;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=(char *)x->cert_info->serialNumber->data;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(strlen(outdir) >= (size_t)(j ? BSIZE-j*2-6 : BSIZE-8))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"certificate file name too long\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(buf[2],outdir);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[2],"/");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. n=(unsigned char *)&(buf[2][strlen(buf[2])]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j > 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (k=0; k<j; k++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sprintf((char *)n,"%02X",(unsigned char)*(p++));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. n+=2;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(n++)='0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(n++)='0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(n++)='.'; *(n++)='p'; *(n++)='e'; *(n++)='m';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *n='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"writing %s\n",buf[2]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(Cout,buf[2]) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(buf[2]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. write_new_certificate(Cout,x, 0, notext);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. write_new_certificate(Sout,x, output_der, notext);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (sk_X509_num(cert_sk))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Rename the database and the serial file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strncpy(buf[2],serialfile,BSIZE-4);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[2][BSIZE-4]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[2],"-old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[2],".old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free(in);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. in=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(serialfile,buf[2]) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serialfile,buf[2]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(buf[0],serialfile) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[0],serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rename(buf[2],serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strncpy(buf[2],dbfile,BSIZE-4);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[2][BSIZE-4]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[2],"-old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[2],".old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(dbfile,buf[2]) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dbfile,buf[2]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(buf[1],dbfile) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[1],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rename(buf[2],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Data Base Updated\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (gencrl)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int crl_v2 = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!crl_ext)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crl_ext=NCONF_get_string(conf,section,ENV_CRLEXT);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!crl_ext)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_clear_error();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (crl_ext)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Check syntax of file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_CTX ctx;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_ctx_test(&ctx);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, conf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509V3_EXT_add_nconf(conf, &ctx, crl_ext, NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "Error Loading CRL extension section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crl_ext);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!crldays && !crlhours)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!NCONF_get_number(conf,section,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENV_DEFAULT_CRL_DAYS, &crldays))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crldays = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!NCONF_get_number(conf,section,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ENV_DEFAULT_CRL_HOURS, &crlhours))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crlhours = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((crldays == 0) && (crlhours == 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"cannot lookup how long until the next CRL is issued\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose) BIO_printf(bio_err,"making CRL\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((crl=X509_CRL_new()) == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_CRL_set_issuer_name(crl, X509_get_subject_name(x509))) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tmptm = ASN1_TIME_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!tmptm) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_gmtime_adj(tmptm,0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL_set_lastUpdate(crl, tmptm); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_gmtime_adj(tmptm,(crldays*24+crlhours)*60*60);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL_set_nextUpdate(crl, tmptm); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_TIME_free(tmptm);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<sk_num(db->data); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pp=(char **)sk_value(db->data,i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (pp[DB_type][0] == DB_TYPE_REV)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((r=X509_REVOKED_new()) == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = make_revoked(r, pp[DB_rev_date]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!j) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j == 2) crl_v2 = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!BN_hex2bn(&serial, pp[DB_serial]))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tmpser = BN_to_ASN1_INTEGER(serial, NULL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BN_free(serial);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serial = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!tmpser)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REVOKED_set_serialNumber(r, tmpser);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_INTEGER_free(tmpser);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL_add0_revoked(crl,r);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* sort the data so it will be written in serialToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * number order */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL_sort(crl);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* we now have a CRL */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose) BIO_printf(bio_err,"signing CRL\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (md != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((dgst=EVP_get_digestbyname(md)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (pkey->type == EVP_PKEY_DSA) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dgst=EVP_dss1();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dgst=EVP_md5();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Add any extensions asked for */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (crl_ext)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_CTX crlctx;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_ctx(&crlctx, x509, NULL, NULL, crl, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_nconf(&crlctx, conf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509V3_EXT_CRL_add_nconf(conf, &crlctx,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. crl_ext, crl)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (crl_ext || crl_v2)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_CRL_set_version(crl, 1))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err; /* version 2 CRL */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_CRL_sign(crl,pkey,dgst)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. PEM_write_bio_X509_CRL(Sout,crl);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (dorevoke)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (infile == NULL) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"no input files\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509 *revcert;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. revcert=load_cert(bio_err, infile, FORMAT_PEM,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. NULL, e, infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (revcert == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=do_revoke(revcert,db, rev_type, rev_arg);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j <= 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_free(revcert);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(strlen(dbfile) > BSIZE-5)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"filename too long\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(buf[0],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[0],".new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[0],"-new");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(out,buf[0]) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to open '%s'\n",dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=TXT_DB_write(out,db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j <= 0) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(in);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. in = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strncpy(buf[1],dbfile,BSIZE-4);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[1][BSIZE-4]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_SYS_VMSToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[1],".old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(buf[1],"-old");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(dbfile,buf[1]) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n", dbfile, buf[1]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rename(buf[0],dbfile) < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to rename %s to %s\n", buf[0],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror("reason");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rename(buf[1],dbfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Data Base Updated\n"); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*****************************************************************/Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(tofree)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(tofree);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(Cout);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(Sout);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_free_all(in);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sk_X509_pop_free(cert_sk,X509_free);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ret) ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. app_RAND_write_file(randfile, bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (free_key)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(key);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BN_free(serial);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. TXT_DB_free(db);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pkey);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_free(x509);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CRL_free(crl);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. NCONF_free(conf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OBJ_cleanup();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. apps_shutdown();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_EXIT(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static void lookup_fail(char *name, char *tag)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static unsigned long index_serial_hash(const char **a)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const char *n;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. n=a[DB_serial];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (*n == '0') n++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(lh_strhash(n));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_serial_cmp(const char **a, const char **b)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const char *aa,*bb;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (aa=a[DB_serial]; *aa == '0'; aa++);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (bb=b[DB_serial]; *bb == '0'; bb++);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(strcmp(aa,bb));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static unsigned long index_name_hash(const char **a)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { return(lh_strhash(a[DB_name])); }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_name_qual(char **a)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { return(a[0][0] == 'V'); }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int index_name_cmp(const char **a, const char **b)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { return(strcmp(a[DB_name],Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. b[DB_name])); }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static BIGNUM *load_serial(char *serialfile)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *in=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *ret=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. MS_STATIC char buf[1024];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_INTEGER *ai=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((in=BIO_new(BIO_s_file())) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_read_filename(in,serialfile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ai=ASN1_INTEGER_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ai == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!a2i_ASN1_INTEGER(in,ai,buf,1024))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to load number from %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret=ASN1_INTEGER_to_BN(ai,NULL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ret == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error converting number from bin to BIGNUM\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (in != NULL) BIO_free(in);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ai != NULL) ASN1_INTEGER_free(ai);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int save_serial(char *serialfile, BIGNUM *serial)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *out;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ret=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_INTEGER *ai=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. out=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (out == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_write_filename(out,serialfile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(serialfile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((ai=BN_to_ASN1_INTEGER(serial,NULL)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error converting serial to ASN.1 format\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i2a_ASN1_INTEGER(out,ai);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_puts(out,"\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (out != NULL) BIO_free_all(out);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ai != NULL) ASN1_INTEGER_free(ai);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy, TXT_DB *db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *serial, char *subj, int email_dn, char *startdate, char *enddate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long days, int batch, char *ext_sect, CONF *lconf, int verbose,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long certopt, unsigned long nameopt, int default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ext_copy)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ *req=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO *in=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY *pktmp=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok= -1,i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. in=BIO_new(BIO_s_file());Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BIO_read_filename(in,infile) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. perror(infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((req=PEM_read_bio_X509_REQ(in,NULL,NULL,NULL)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Error reading certificate request in %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ_print(bio_err,req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Check that the request matches the signature\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((pktmp=X509_REQ_get_pubkey(req)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error unpacking public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i=X509_REQ_verify(req,pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature verification problems....\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature did not match the certificate request\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature ok\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=do_body(xret,pkey,x509,dgst,policy,db,serial,subj, email_dn,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. startdate,enddate,days,batch,verbose,req,ext_sect,lconf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. certopt, nameopt, default_op, ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req != NULL) X509_REQ_free(req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (in != NULL) BIO_free(in);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify_cert(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy, TXT_DB *db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *serial, char *subj, int email_dn, char *startdate, char *enddate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long days, int batch, char *ext_sect, CONF *lconf, int verbose,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long certopt, unsigned long nameopt, int default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ext_copy, ENGINE *e)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509 *req=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ *rreq=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY *pktmp=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok= -1,i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((req=load_cert(bio_err, infile, FORMAT_PEM, NULL, e, infile)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_print(bio_err,req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Check that the request matches the signature\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((pktmp=X509_get_pubkey(req)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error unpacking public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i=X509_verify(req,pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature verification problems....\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature did not match the certificate\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature ok\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((rreq=X509_to_X509_REQ(req,NULL,EVP_md5())) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=do_body(xret,pkey,x509,dgst,policy,db,serial,subj,email_dn,startdate,enddate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. days,batch,verbose,rreq,ext_sect,lconf, certopt, nameopt, default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rreq != NULL) X509_REQ_free(rreq);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req != NULL) X509_free(req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *policy, TXT_DB *db, BIGNUM *serial, char *subj,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int email_dn, char *startdate, char *enddate, long days, int batch,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int verbose, X509_REQ *req, char *ext_sect, CONF *lconf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long certopt, unsigned long nameopt, int default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ext_copy)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME *name=NULL,*CAname=NULL,*subject=NULL, *dn_subject=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME *tm,*tmptm;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_STRING *str,*str2;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT *obj;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509 *ret=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_CINF *ci;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY *ne;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY *tne,*push;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY *pktmp;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok= -1,i,j,last,nid;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *p;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. CONF_VALUE *cv;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *row[DB_NUMBER],**rrow,**irow=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char buf[25];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tmptm=ASN1_UTCTIME_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tmptm == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"malloc error\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[i]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (subj)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME *n = do_subject(subj, MBSTRING_ASC);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!n)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ_set_subject_name(req,n);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req->req_info->enc.modified = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(n);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (default_op)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The Subject's Distinguished Name is as follows\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. name=X509_REQ_get_subject_name(req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<X509_NAME_entry_count(name); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ne= X509_NAME_get_entry(name,i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str=X509_NAME_ENTRY_get_data(ne);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. obj=X509_NAME_ENTRY_get_object(ne);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (msie_hack)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* assume all type should be strings */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. nid=OBJ_obj2nid(ne->object);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (str->type == V_ASN1_UNIVERSALSTRING)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UNIVERSALSTRING_to_string(str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((str->type == V_ASN1_IA5STRING) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (nid != NID_pkcs9_emailAddress))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str->type=V_ASN1_T61STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid == NID_pkcs9_emailAddress) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (str->type == V_ASN1_PRINTABLESTRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str->type=V_ASN1_IA5STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* If no EMAIL is wanted in the subject */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((OBJ_obj2nid(obj) == NID_pkcs9_emailAddress) && (!email_dn))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. continue;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* check some things */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((OBJ_obj2nid(obj) == NID_pkcs9_emailAddress) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (str->type != V_ASN1_IA5STRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\nemailAddress type needs to be of type IA5STRING\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((str->type != V_ASN1_BMPSTRING) && (str->type != V_ASN1_UTF8STRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=ASN1_PRINTABLE_type(str->data,str->length);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ( ((j == V_ASN1_T61STRING) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (str->type != V_ASN1_T61STRING)) ||Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ((j == V_ASN1_IA5STRING) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (str->type == V_ASN1_PRINTABLESTRING)))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"\nThe string contains characters that are illegal for the ASN.1 type\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (default_op)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. old_entry_print(bio_err, obj, str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Ok, now we check the 'policy' stuff. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((subject=X509_NAME_new()) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* take a copy of the issuer name before we mess with it. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. CAname=X509_NAME_dup(x509->cert_info->subject);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (CAname == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str=str2=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<sk_CONF_VALUE_num(policy); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. cv=sk_CONF_VALUE_value(policy,i); /* get the object id */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((j=OBJ_txt2nid(cv->name)) == NID_undef)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s:unknown object type in 'policy' configuration\n",cv->name);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. obj=OBJ_nid2obj(j);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. last= -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (;;)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* lookup the object in the supplied name list */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=X509_NAME_get_index_by_OBJ(name,obj,last);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (last != -1) break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tne=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tne=X509_NAME_get_entry(name,j);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. last=j;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* depending on the 'policy', decide what to do. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. push=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strcmp(cv->value,"optional") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tne != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. push=tne;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(cv->value,"supplied") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tne == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The %s field needed to be supplied and was missing\n",cv->name);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. push=tne;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (strcmp(cv->value,"match") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int last2;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tne == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The mandatory %s field was missing\n",cv->name);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. last2= -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.again2:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=X509_NAME_get_index_by_OBJ(CAname,obj,last2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((j < 0) && (last2 == -1))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The %s field does not exist in the CA certificate,\nthe 'policy' is misconfigured\n",cv->name);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j >= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. push=X509_NAME_get_entry(CAname,j);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str=X509_NAME_ENTRY_get_data(tne);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str2=X509_NAME_ENTRY_get_data(push);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. last2=j;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ASN1_STRING_cmp(str,str2) != 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto again2;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The %s field needed to be the same in the\nCA certificate (%s) and the request (%s)\n",cv->name,((str2 == NULL)?"NULL":(char *)str2->data),((str == NULL)?"NULL":(char *)str->data));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s:invalid type in 'policy' configuration\n",cv->value);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (push != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_NAME_add_entry(subject,push, -1, 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (push != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY_free(push);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j < 0) break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (preserve)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(subject);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* subject=X509_NAME_dup(X509_REQ_get_subject_name(req)); */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. subject=X509_NAME_dup(name);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (subject == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"The subject name appears to be ok, checking data base for clashes\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Build the correct Subject if no e-mail is wanted in the subject */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* and add it later on because of the method extensions are added (altName) */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (email_dn)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. dn_subject = subject;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY *tmpne;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Its best to dup the subject DN and then delete any emailToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * addresses because this retains its structure.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!(dn_subject = X509_NAME_dup(subject)))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while((i = X509_NAME_get_index_by_NID(dn_subject,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. NID_pkcs9_emailAddress, -1)) >= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tmpne = X509_NAME_get_entry(dn_subject, i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_delete_entry(dn_subject, i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY_free(tmpne);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BN_is_zero(serial))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]=BUF_strdup("00");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]=BN_bn2hex(serial);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (row[DB_serial] == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow=TXT_DB_get_by_index(db,DB_name,row);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"ERROR:There is already a certificate for %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_name]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow=TXT_DB_get_by_index(db,DB_serial,row);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"ERROR:Serial number %s has already been issued,\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err," check the database/serial_file for corruption\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "The matching entry has the following details\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow[DB_type][0] == 'E')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p="Expired";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0] == 'R')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p="Revoked";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0] == 'V')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p="Valid";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p="\ninvalid type, Data base error\n";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Type :%s\n",p);;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow[DB_type][0] == 'R')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=rrow[DB_exp_date]; if (p == NULL) p="undef";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Was revoked on:%s\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=rrow[DB_exp_date]; if (p == NULL) p="undef";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Expires on :%s\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=rrow[DB_serial]; if (p == NULL) p="undef";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Serial Number :%s\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=rrow[DB_file]; if (p == NULL) p="undef";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"File name :%s\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=rrow[DB_name]; if (p == NULL) p="undef";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Subject Name :%s\n",p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok= -1; /* This is now a 'bad' error. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We are now totally happy, lets make and sign the certificate */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Everything appears to be ok, creating and signing the certificate\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((ret=X509_new()) == NULL) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ci=ret->cert_info;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifdef X509_V3Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Make it an X509 v3 certificate. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_set_version(x509,2)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BN_to_ASN1_INTEGER(serial,ci->serialNumber) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_set_issuer_name(ret,X509_get_subject_name(x509)))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strcmp(startdate,"today") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_gmtime_adj(X509_get_notBefore(ret),0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else ASN1_UTCTIME_set_string(X509_get_notBefore(ret),startdate);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (enddate == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_gmtime_adj(X509_get_notAfter(ret),(long)60*60*24*days);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else ASN1_UTCTIME_set_string(X509_get_notAfter(ret),enddate);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_set_subject_name(ret,subject)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pktmp=X509_REQ_get_pubkey(req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i = X509_set_pubkey(ret,pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!i) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Lets add the extensions, if there are any */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ext_sect)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_CTX ctx;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ci->version == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((ci->version=ASN1_INTEGER_new()) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_INTEGER_set(ci->version,2); /* version 3 certificate */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Free the current entries if any, there should notToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * be any I believe */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ci->extensions != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sk_X509_EXTENSION_pop_free(ci->extensions,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_EXTENSION_free);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ci->extensions = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Initialize the context structure */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_ctx(&ctx, x509, ret, req, NULL, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (extconf)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Extra configuration file found\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Use the extconf configuration db LHASH */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, extconf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Test the structure (needed?) */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* X509V3_set_ctx_test(&ctx); */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Adds exts contained in the configuration file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509V3_EXT_add_nconf(extconf, &ctx, ext_sect,ret))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "ERROR: adding extensions in section %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ext_sect);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Successfully added extensions from file.\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (ext_sect)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We found extensions to be set from config file */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509V3_set_nconf(&ctx, lconf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(!X509V3_EXT_add_nconf(lconf, &ctx, ext_sect, ret))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "ERROR: adding extensions in section %s\n", ext_sect);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (verbose) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Successfully added extensions from config\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Copy extensions from request (if any) */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!copy_extensions(ret, req, ext_copy))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "ERROR: adding extensions from request\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Set the right value for the noemailDN option */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if( email_dn == 0 )Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_set_subject_name(ret,dn_subject)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!default_op)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Certificate Details:\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Never print signature details because signature not present */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. certopt |= X509_FLAG_NO_SIGDUMP | X509_FLAG_NO_SIGNAME;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_print_ex(bio_err, ret, nameopt, certopt); Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Certificate is to be certified until ");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME_print(bio_err,X509_get_notAfter(ret));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (days) BIO_printf(bio_err," (%d days)",days);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!batch)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Sign the certificate? [y/n]:");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (void)BIO_flush(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf[0]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. fgets(buf,sizeof(buf)-1,stdin);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!((buf[0] == 'y') || (buf[0] == 'Y')))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"CERTIFICATE WILL NOT BE CERTIFIED\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#ifndef OPENSSL_NO_DSAToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (pkey->type == EVP_PKEY_DSA) dgst=EVP_dss1();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pktmp=X509_get_pubkey(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (EVP_PKEY_missing_parameters(pktmp) &&Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. !EVP_PKEY_missing_parameters(pkey))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_copy_parameters(pktmp,pkey);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_sign(ret,pkey,dgst))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We now just add it to the database */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type]=(char *)OPENSSL_malloc(2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tm=X509_get_notAfter(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_exp_date]=(char *)OPENSSL_malloc(tm->length+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. memcpy(row[DB_exp_date],tm->data,tm->length);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_exp_date][tm->length]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_rev_date]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* row[DB_serial] done already */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_file]=(char *)OPENSSL_malloc(8);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_name]=X509_NAME_oneline(X509_get_subject_name(ret),NULL,0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((row[DB_type] == NULL) || (row[DB_exp_date] == NULL) ||Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (row[DB_file] == NULL) || (row[DB_name] == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(row[DB_file],"unknown");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type][0]='V';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type][1]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((irow=(char **)OPENSSL_malloc(sizeof(char *)*(DB_NUMBER+1))) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. irow[i]=row[i];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[i]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. irow[DB_NUMBER]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!TXT_DB_insert(db,irow))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"failed to update database\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"TXT_DB error number %ld\n",db->error);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (row[i] != NULL) OPENSSL_free(row[i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (CAname != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(CAname);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (subject != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(subject);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((dn_subject != NULL) && !email_dn)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(dn_subject);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tmptm != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME_free(tmptm);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ok <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ret != NULL) X509_free(ret);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *xret=ret;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static void write_new_certificate(BIO *bp, X509 *x, int output_der, int notext)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (output_der)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (void)i2d_X509_bio(bp,x);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#if 0Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* ??? Not needed since X509_print prints all this stuff anyway */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=X509_NAME_oneline(X509_get_issuer_name(x),buf,256);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"issuer :%s\n",f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. f=X509_NAME_oneline(X509_get_subject_name(x),buf,256);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"subject:%s\n",f);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_puts(bp,"serial :");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i2a_ASN1_INTEGER(bp,x->cert_info->serialNumber);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_puts(bp,"\n\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#endifToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!notext)X509_print(bp,x);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. PEM_write_bio_X509(bp,x);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int certify_spkac(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy, TXT_DB *db,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *serial, char *subj, int email_dn, char *startdate, char *enddate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long days, char *ext_sect, CONF *lconf, int verbose, unsigned long certopt,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. unsigned long nameopt, int default_op, int ext_copy)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. STACK_OF(CONF_VALUE) *sk=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. LHASH *parms=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ *req=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. CONF_VALUE *cv=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. NETSCAPE_SPKI *spki = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ_INFO *ri;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *type,*buf;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY *pktmp=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME *n=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_ENTRY *ne=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok= -1,i,j;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. long errline;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int nid;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Load input file into a hash table. (This is just an easyToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * way to read and parse the file, then put it into a convenientToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * STACK format).Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. parms=CONF_load(NULL,infile,&errline);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (parms == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error on line %ld of %s\n",errline,infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sk=CONF_get_section(parms, "default");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (sk_CONF_VALUE_num(sk) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "no name/value pairs found in %s\n", infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. CONF_free(parms);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Now create a dummy X509 request structure. We don't actuallyToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * have an X509 request, but we have many of the componentsToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * (a public key, various DN components). The idea is that weToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * put these components into the right X509 request structureToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * and we can use the same code as if you had a real X509 request.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. req=X509_REQ_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Build up the subject name set.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ri=req->req_info;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. n = ri->subject;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i = 0; ; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (sk_CONF_VALUE_num(sk) <= i) break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. cv=sk_CONF_VALUE_value(sk,i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. type=cv->name;Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * multiple instancesToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (buf = cv->name; *buf ; buf++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((*buf == ':') || (*buf == ',') || (*buf == '.'))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*buf) type = buf;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. buf=cv->value;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid=OBJ_txt2nid(type)) == NID_undef)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strcmp(type, "SPKAC") == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. spki = NETSCAPE_SPKI_b64_decode(cv->value, -1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (spki == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"unable to load Netscape SPKAC structure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ERR_print_errors(bio_err);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. continue;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid == NID_pkcs9_emailAddress) && (email_dn == 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. continue;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=ASN1_PRINTABLE_type((unsigned char *)buf,-1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (fix_data(nid, &j) == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "invalid characters in string %s\n",buf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((ne=X509_NAME_ENTRY_create_by_NID(&ne,nid,j,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (unsigned char *)buf,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strlen(buf))) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_NAME_add_entry(n,ne,-1, 0)) goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (spki == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Netscape SPKAC structure not found in %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. infile);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /*Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * Now extract the key from the SPKI structure.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Check that the SPKAC request matches the signature\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((pktmp=NETSCAPE_SPKI_get_pubkey(spki)) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"error unpacking SPKAC public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j = NETSCAPE_SPKI_verify(spki, pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (j <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"signature verification failed on SPKAC public key\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Signature ok\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_REQ_set_pubkey(req,pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. EVP_PKEY_free(pktmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=do_body(xret,pkey,x509,dgst,policy,db,serial,subj,email_dn,startdate,enddate,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. days,1,verbose,req,ext_sect,lconf, certopt, nameopt, default_op,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ext_copy);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (req != NULL) X509_REQ_free(req);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (parms != NULL) CONF_free(parms);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (spki != NULL) NETSCAPE_SPKI_free(spki);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ne != NULL) X509_NAME_ENTRY_free(ne);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int fix_data(int nid, int *type)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (nid == NID_pkcs9_emailAddress)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *type=V_ASN1_IA5STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid == NID_commonName) && (*type == V_ASN1_IA5STRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *type=V_ASN1_T61STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid == NID_pkcs9_challengePassword) && (*type == V_ASN1_IA5STRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *type=V_ASN1_T61STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid == NID_pkcs9_unstructuredName) && (*type == V_ASN1_T61STRING))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (nid == NID_pkcs9_unstructuredName)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *type=V_ASN1_IA5STRING;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int check_time_format(char *str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME tm;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tm.data=(unsigned char *)str;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tm.length=strlen(str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tm.type=V_ASN1_UTCTIME;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ASN1_UTCTIME_check(&tm));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_revoke(X509 *x509, TXT_DB *db, int type, char *value)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME *tm=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *row[DB_NUMBER],**rrow,**irow;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *rev_str = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIGNUM *bn = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok=-1,i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[i]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_name]=X509_NAME_oneline(X509_get_subject_name(x509),NULL,0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. bn = ASN1_INTEGER_to_BN(X509_get_serialNumber(x509),NULL);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (BN_is_zero(bn))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]=BUF_strdup("00");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]=BN_bn2hex(bn);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BN_free(bn);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((row[DB_name] == NULL) || (row[DB_serial] == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We have to lookup by serial number because name lookupToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * skips revoked certsToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow=TXT_DB_get_by_index(db,DB_serial,row);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Adding Entry to DB for %s\n", row[DB_name]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* We now just add it to the database */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type]=(char *)OPENSSL_malloc(2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tm=X509_get_notAfter(x509);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_exp_date]=(char *)OPENSSL_malloc(tm->length+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. memcpy(row[DB_exp_date],tm->data,tm->length);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_exp_date][tm->length]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_rev_date]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* row[DB_serial] done already */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_file]=(char *)OPENSSL_malloc(8);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* row[DB_name] done already */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((row[DB_type] == NULL) || (row[DB_exp_date] == NULL) ||Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. (row[DB_file] == NULL))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(row[DB_file],"unknown");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type][0]='V';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_type][1]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((irow=(char **)OPENSSL_malloc(sizeof(char *)*(DB_NUMBER+1))) == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Memory allocation failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. irow[i]=row[i];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[i]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. irow[DB_NUMBER]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!TXT_DB_insert(db,irow))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"failed to update database\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"TXT_DB error number %ld\n",db->error);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Revoke Certificate */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok = do_revoke(x509,db, type, value);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (index_name_cmp((const char **)row,(const char **)rrow))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"ERROR:name does not match %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_name]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0]=='R')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"ERROR:Already revoked, serial number %s\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Revoking Certificate %s.\n", rrow[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rev_str = make_revocation_str(type, value);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!rev_str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Error in revocation arguments\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][0]='R';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][1]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_rev_date] = rev_str;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (row[i] != NULL) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(row[i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int get_certificate_status(const char *serial, TXT_DB *db)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *row[DB_NUMBER],**rrow;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int ok=-1,i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Free Resources */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[i]=NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Malloc needed char spaces */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial] = OPENSSL_malloc(strlen(serial) + 2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (row[DB_serial] == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Malloc failure\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strlen(serial) % 2)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Set the first char to 0 */;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial][0]='0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Copy String from serial to row[DB_serial] */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. memcpy(row[DB_serial]+1, serial, strlen(serial));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial][strlen(serial)+1]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Copy String from serial to row[DB_serial] */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. memcpy(row[DB_serial], serial, strlen(serial));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial][strlen(serial)]='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Make it Upper Case */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; row[DB_serial][i] != '\0'; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial][i] = toupper(row[DB_serial][i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Search for the certificate */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow=TXT_DB_get_by_index(db,DB_serial,row);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"Serial %s not present in db.\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=-1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0]=='V')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s=Valid (%c)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial], rrow[DB_type][0]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0]=='R')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s=Revoked (%c)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial], rrow[DB_type][0]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0]=='E')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s=Expired (%c)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial], rrow[DB_type][0]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (rrow[DB_type][0]=='S')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s=Suspended (%c)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial], rrow[DB_type][0]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,"%s=Unknown (%c).\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. row[DB_serial], rrow[DB_type][0]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ok=-1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i=0; i<DB_NUMBER; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (row[i] != NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(row[i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return(ok);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static int do_updatedb (TXT_DB *db)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME *a_tm = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i, cnt = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int db_y2k, a_y2k; /* flags = 1 if y >= 2000 */ Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char **rrow, *a_tm_s;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_tm = ASN1_UTCTIME_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* get actual time and make a string */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_tm = X509_gmtime_adj(a_tm, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_tm_s = (char *) OPENSSL_malloc(a_tm->length+1);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (a_tm_s == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. cnt = -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. memcpy(a_tm_s, a_tm->data, a_tm->length);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_tm_s[a_tm->length] = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strncmp(a_tm_s, "49", 2) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_y2k = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. a_y2k = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i = 0; i < sk_num(db->data); i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow = (char **) sk_value(db->data, i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rrow[DB_type][0] == 'V')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* ignore entries that are not valid */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strncmp(rrow[DB_exp_date], "49", 2) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db_y2k = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db_y2k = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (db_y2k == a_y2k)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* all on the same y2k side */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (strcmp(rrow[DB_exp_date], a_tm_s) <= 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][0] = 'E';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][1] = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. cnt++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "%s=Expired\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (db_y2k < a_y2k)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][0] = 'E';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_type][1] = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. cnt++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "%s=Expired\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rrow[DB_serial]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME_free(a_tm);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(a_tm_s);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return (cnt);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.static char *crl_reasons[] = {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* CRL reason strings */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "unspecified",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "keyCompromise",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "CACompromise",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "affiliationChanged",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "superseded", Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "cessationOfOperation",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "certificateHold",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "removeFromCRL",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Additional pseudo reasons */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "holdInstruction",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "keyTime",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "CAkeyTime"Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.};Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.#define NUM_REASONS (sizeof(crl_reasons) / sizeof(char *))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./* Given revocation information convert to a DB string.Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * The format of the string is:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * revtime[,reason,extra]. Where 'revtime' is theToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * revocation time (the current time). 'reason' is theToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * optional CRL reason and 'extra' is any additionalToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * argumentToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.char *make_revocation_str(int rev_type, char *rev_arg)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *reason = NULL, *other = NULL, *str;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT *otmp;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME *revtm = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. switch (rev_type)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. case REV_NONE:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. case REV_CRL_REASON:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i = 0; i < 8; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!strcasecmp(rev_arg, crl_reasons[i]))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason = crl_reasons[i];Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Unknown CRL reason %s\n", rev_arg);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. case REV_HOLD:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Argument is an OID */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. otmp = OBJ_txt2obj(rev_arg, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT_free(otmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (otmp == NULL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid object identifier %s\n", rev_arg);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason = "holdInstruction";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. other = rev_arg;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. case REV_KEY_COMPROMISE:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. case REV_CA_COMPROMISE:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* Argument is the key compromise time */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!ASN1_GENERALIZEDTIME_set_string(NULL, rev_arg))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Invalid time format %s. Need YYYYMMDDHHMMSSZ\n", rev_arg);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. other = rev_arg;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rev_type == REV_KEY_COMPROMISE)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason = "keyTime";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason = "CAkeyTime";Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. revtm = X509_gmtime_adj(NULL, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i = revtm->length + 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason) i += strlen(reason) + 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (other) i += strlen(other) + 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. str = OPENSSL_malloc(i);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!str) return NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcpy(str, (char *)revtm->data);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(str, ",");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(str, reason);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (other)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(str, ",");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. strcat(str, other);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_UTCTIME_free(revtm);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return str;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./* Convert revocation field to X509_REVOKED entry Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * return code:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * 0 errorToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * 1 OKToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. * 2 OK and some extensions added (i.e. V2 CRL)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int make_revoked(X509_REVOKED *rev, char *str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *tmp = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int reason_code = -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i, ret = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT *hold = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_GENERALIZEDTIME *comp_time = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_ENUMERATED *rtmp = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_TIME *revDate = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (i == 0)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rev && !X509_REVOKED_set_revocationDate(rev, revDate))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rtmp = ASN1_ENUMERATED_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!rtmp || !ASN1_ENUMERATED_set(rtmp, reason_code))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_REVOKED_add1_ext_i2d(rev, NID_crl_reason, rtmp, 0, 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rev && comp_time)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_REVOKED_add1_ext_i2d(rev, NID_invalidity_date, comp_time, 0, 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (rev && hold)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_REVOKED_add1_ext_i2d(rev, NID_hold_instruction_code, hold, 0, 0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret = 2;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else ret = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tmp) OPENSSL_free(tmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT_free(hold);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_GENERALIZEDTIME_free(comp_time);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_ENUMERATED_free(rtmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_TIME_free(revDate);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return ret;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations./*Too many #ifdef configurations - cppcheck only checks 12 of 17 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 17 configurations. Use --force to check all configurations. * where characters may be escaped by \Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.X509_NAME *do_subject(char *subject, long chtype)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. size_t buflen = strlen(subject)+1; /* to copy the types and values into. due to escaping, the copy can only become shorter */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *buf = OPENSSL_malloc(buflen);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. size_t max_ne = buflen / 2 + 1; /* maximum number of name elements */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char **ne_types = OPENSSL_malloc(max_ne * sizeof (char *));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char **ne_values = OPENSSL_malloc(max_ne * sizeof (char *));Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *sp = subject, *bp = buf;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i, ne_num = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME *n = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int nid;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!buf || !ne_types || !ne_values)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "malloc error\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*subject != '/')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Subject does not start with '/'.\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sp++; /* skip leading / */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (*sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. /* collect type */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ne_types[ne_num] = bp;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (*sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*sp == '\\') /* is there anything to escape in the type...? */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*++sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = *sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "escape character at end of string\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (*sp == '=')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = *sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!*sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "end of string encountered while processing type of subject name element #%d\n", ne_num);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ne_values[ne_num] = bp;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. while (*sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*sp == '\\')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (*++sp)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = *sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "escape character at end of string\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (*sp == '/')Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = *sp++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *bp++ = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ne_num++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!(n = X509_NAME_new()))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i = 0; i < ne_num; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((nid=OBJ_txt2nid(ne_types[i])) == NID_undef)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "Subject Attribute %s has no known NID, skipped\n", ne_types[i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. continue;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!*ne_values[i])Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "No value provided for Subject Attribute %s, skipped\n", ne_types[i]);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. continue;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!X509_NAME_add_entry_by_NID(n, nid, chtype, (unsigned char*)ne_values[i], -1,-1,0))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto error;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(ne_values);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(ne_types);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(buf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return n;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.error:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. X509_NAME_free(n);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ne_values)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(ne_values);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (ne_types)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(ne_types);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (buf)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. OPENSSL_free(buf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.}Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int old_entry_print(BIO *bp, ASN1_OBJECT *obj, ASN1_STRING *str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char buf[25],*pbuf, *p;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int j;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. j=i2a_ASN1_OBJECT(bp,obj);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. pbuf=buf;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (j=22-j; j>0; j--)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(pbuf++)=' ';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(pbuf++)=':';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *(pbuf++)='\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_puts(bp,buf);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (str->type == V_ASN1_PRINTABLESTRING)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"PRINTABLE:'");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (str->type == V_ASN1_T61STRING)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"T61STRING:'");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (str->type == V_ASN1_IA5STRING)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"IA5STRING:'");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (str->type == V_ASN1_UNIVERSALSTRING)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"UNIVERSALSTRING:'");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"ASN.1 %2d:'",str->type);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p=(char *)str->data;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (j=str->length; j>0; j--)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if ((*p >= ' ') && (*p <= '~'))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"%c",*p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (*p & 0x80)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"\\0x%02X",*p);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if ((unsigned char)*p == 0xf7)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"^?");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else BIO_printf(bp,"^%c",*p+'@');Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bp,"'\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int unpack_revinfo(ASN1_TIME **prevtm, int *preason, ASN1_OBJECT **phold, ASN1_GENERALIZEDTIME **pinvtm, char *str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *tmp = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. char *rtime_str, *reason_str = NULL, *arg_str = NULL, *p;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int reason_code = -1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. int i, ret = 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_OBJECT *hold = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ASN1_GENERALIZEDTIME *comp_time = NULL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. tmp = BUF_strdup(str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p = strchr(tmp, ',');Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. rtime_str = tmp;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (p)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *p = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p++;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_str = p;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. p = strchr(p, ',');Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (p)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *p = '\0';Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. arg_str = p + 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (prevtm)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. *prevtm = ASN1_UTCTIME_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!ASN1_UTCTIME_set_string(*prevtm, rtime_str))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "invalid revocation date %s\n", rtime_str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason_str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. for (i = 0; i < NUM_REASONS; i++)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if(!strcasecmp(reason_str, crl_reasons[i]))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_code = i;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. break;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "invalid reason code %s\n", reason_str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason_code == 7)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if (reason_code == 8) /* Hold instruction */Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!arg_str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "missing hold instruction\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. hold = OBJ_txt2obj(arg_str, 0);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!hold)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "invalid object identifier %s\n", arg_str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (phold) *phold = hold;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else if ((reason_code == 9) || (reason_code == 10))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!arg_str)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "missing compromised time\n");Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. comp_time = ASN1_GENERALIZEDTIME_new();Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!ASN1_GENERALIZEDTIME_set_string(comp_time, arg_str))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. { Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err, "invalid compromised time %s\n", arg_str);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. goto err;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (reason_code == 9)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. elseToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (preason) *preason = reason_code;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (pinvtm) *pinvtm = comp_time;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. else ASN1_GENERALIZEDTIME_free(comp_time);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. ret = 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. err:Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (tmp) OPENSSL_free(tmp);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!phold) ASN1_OBJECT_free(hold);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!pinvtm) ASN1_GENERALIZEDTIME_free(comp_time);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return ret;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.int make_serial_index(TXT_DB *db)Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. if (!TXT_DB_create_index(db, DB_serial, NULL,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. LHASH_HASH_FN(index_serial_hash),Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. LHASH_COMP_FN(index_serial_cmp)))Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. {Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. BIO_printf(bio_err,Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. "error creating serial number index:(%ld,%ld,%ld)\n",Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. db->error,db->arg1,db->arg2);Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return 0;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. return 1;Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. }