/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */#include<stdio.h>#include<stdlib.h>#include<time.h>#include<string.h>#include"apps.h"#include<openssl/bio.h>#include<openssl/evp.h>#include<openssl/conf.h>#include<openssl/err.h>#include<openssl/asn1.h>#include<openssl/x509.h>#include<openssl/x509v3.h>#include<openssl/objects.h>#include<openssl/pem.h>#include<openssl/bn.h>#ifndef OPENSSL_NO_RSA#include<openssl/rsa.h>#endif#ifndef OPENSSL_NO_DSA#include<openssl/dsa.h>#endif#define SECTION "req"#define BITS &qu