亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? apps.c

?? pkcs8格式文件的編解碼軟件
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* apps/apps.c *//* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. *  * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to.  The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code.  The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). *  * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. *  * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *    "This product includes cryptographic software written by *     Eric Young (eay@cryptsoft.com)" *    The word 'cryptographic' can be left out if the rouines from the library *    being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from  *    the apps directory (application code) you must include an acknowledgement: *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" *  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed.  i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] */#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#define NON_MAIN#include "apps.h"#undef NON_MAIN#include <openssl/err.h>#include <openssl/x509.h>#include <openssl/pem.h>#include <openssl/pkcs12.h>#include <openssl/safestack.h>#ifdef WINDOWS#  include "bss_file.c"#endifint app_init(long mesgwin);#ifdef undef /* never finished - probably never will be :-) */int args_from_file(char *file, int *argc, char **argv[])	{	FILE *fp;	int num,i;	unsigned int len;	static char *buf=NULL;	static char **arg=NULL;	char *p;	struct stat stbuf;	if (stat(file,&stbuf) < 0) return(0);	fp=fopen(file,"r");	if (fp == NULL)		return(0);	*argc=0;	*argv=NULL;	len=(unsigned int)stbuf.st_size;	if (buf != NULL) OPENSSL_free(buf);	buf=(char *)OPENSSL_malloc(len+1);	if (buf == NULL) return(0);	len=fread(buf,1,len,fp);	if (len <= 1) return(0);	buf[len]='\0';	i=0;	for (p=buf; *p; p++)		if (*p == '\n') i++;	if (arg != NULL) OPENSSL_free(arg);	arg=(char **)OPENSSL_malloc(sizeof(char *)*(i*2));	*argv=arg;	num=0;	p=buf;	for (;;)		{		if (!*p) break;		if (*p == '#') /* comment line */			{			while (*p && (*p != '\n')) p++;			continue;			}		/* else we have a line */		*(arg++)=p;		num++;		while (*p && ((*p != ' ') && (*p != '\t') && (*p != '\n')))			p++;		if (!*p) break;		if (*p == '\n')			{			*(p++)='\0';			continue;			}		/* else it is a tab or space */		p++;		while (*p && ((*p == ' ') || (*p == '\t') || (*p == '\n')))			p++;		if (!*p) break;		if (*p == '\n')			{			p++;			continue;			}		*(arg++)=p++;		num++;		while (*p && (*p != '\n')) p++;		if (!*p) break;		/* else *p == '\n' */		*(p++)='\0';		}	*argc=num;	return(1);	}#endifint str2fmt(char *s)	{	if 	((*s == 'D') || (*s == 'd'))		return(FORMAT_ASN1);	else if ((*s == 'T') || (*s == 't'))		return(FORMAT_TEXT);	else if ((*s == 'P') || (*s == 'p'))		return(FORMAT_PEM);	else if ((*s == 'N') || (*s == 'n'))		return(FORMAT_NETSCAPE);	else if ((*s == 'S') || (*s == 's'))		return(FORMAT_SMIME);	else if ((*s == '1')		|| (strcmp(s,"PKCS12") == 0) || (strcmp(s,"pkcs12") == 0)		|| (strcmp(s,"P12") == 0) || (strcmp(s,"p12") == 0))		return(FORMAT_PKCS12);	else		return(FORMAT_UNDEF);	}#if defined(MSDOS) || defined(WIN32) || defined(WIN16)void program_name(char *in, char *out, int size)	{	int i,n;	char *p=NULL;	n=strlen(in);	/* find the last '/', '\' or ':' */	for (i=n-1; i>0; i--)		{		if ((in[i] == '/') || (in[i] == '\\') || (in[i] == ':'))			{			p= &(in[i+1]);			break;			}		}	if (p == NULL)		p=in;	n=strlen(p);	/* strip off trailing .exe if present. */	if ((n > 4) && (p[n-4] == '.') &&		((p[n-3] == 'e') || (p[n-3] == 'E')) &&		((p[n-2] == 'x') || (p[n-2] == 'X')) &&		((p[n-1] == 'e') || (p[n-1] == 'E')))		n-=4;	if (n > size-1)		n=size-1;	for (i=0; i<n; i++)		{		if ((p[i] >= 'A') && (p[i] <= 'Z'))			out[i]=p[i]-'A'+'a';		else			out[i]=p[i];		}	out[n]='\0';	}#else#ifdef VMSvoid program_name(char *in, char *out, int size)	{	char *p=in, *q;	char *chars=":]>";	while(*chars != '\0')		{		q=strrchr(p,*chars);		if (q > p)			p = q + 1;		chars++;		}	q=strrchr(p,'.');	if (q == NULL)		q = p + strlen(p);	strncpy(out,p,size-1);	if (q-p >= size)		{		out[size-1]='\0';		}	else		{		out[q-p]='\0';		}	}#elsevoid program_name(char *in, char *out, int size)	{	char *p;	p=strrchr(in,'/');	if (p != NULL)		p++;	else		p=in;	strncpy(out,p,size-1);	out[size-1]='\0';	}#endif#endif#ifdef WIN32int WIN32_rename(char *from, char *to)	{#ifdef WINNT	int ret;/* Note: MoveFileEx() doesn't work under Win95, Win98 */	ret=MoveFileEx(from,to,MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED);	return(ret?0:-1);#else	unlink(to);	return MoveFile(from, to);#endif	}#endifint chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])	{	int num,len,i;	char *p;	*argc=0;	*argv=NULL;	len=strlen(buf);	i=0;	if (arg->count == 0)		{		arg->count=20;		arg->data=(char **)OPENSSL_malloc(sizeof(char *)*arg->count);		}	for (i=0; i<arg->count; i++)		arg->data[i]=NULL;	num=0;	p=buf;	for (;;)		{		/* first scan over white space */		if (!*p) break;		while (*p && ((*p == ' ') || (*p == '\t') || (*p == '\n')))			p++;		if (!*p) break;		/* The start of something good :-) */		if (num >= arg->count)			{			arg->count+=20;			arg->data=(char **)OPENSSL_realloc(arg->data,				sizeof(char *)*arg->count);			if (argc == 0) return(0);			}		arg->data[num++]=p;		/* now look for the end of this */		if ((*p == '\'') || (*p == '\"')) /* scan for closing quote */			{			i= *(p++);			arg->data[num-1]++; /* jump over quote */			while (*p && (*p != i))				p++;			*p='\0';			}		else			{			while (*p && ((*p != ' ') &&				(*p != '\t') && (*p != '\n')))				p++;			if (*p == '\0')				p--;			else				*p='\0';			}		p++;		}	*argc=num;	*argv=arg->data;	return(1);	}#ifndef APP_INITint app_init(long mesgwin)	{	return(1);	}#endifint dump_cert_text (BIO *out, X509 *x){	char buf[256];	X509_NAME_oneline(X509_get_subject_name(x),buf,256);	BIO_puts(out,"subject=");	BIO_puts(out,buf);	X509_NAME_oneline(X509_get_issuer_name(x),buf,256);	BIO_puts(out,"\nissuer= ");	BIO_puts(out,buf);	BIO_puts(out,"\n");        return 0;}static char *app_get_pass(BIO *err, char *arg, int keepbio);int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2){	int same;	if(!arg2 || !arg1 || strcmp(arg1, arg2)) same = 0;	else same = 1;	if(arg1) {		*pass1 = app_get_pass(err, arg1, same);		if(!*pass1) return 0;	} else if(pass1) *pass1 = NULL;	if(arg2) {		*pass2 = app_get_pass(err, arg2, same ? 2 : 0);		if(!*pass2) return 0;	} else if(pass2) *pass2 = NULL;	return 1;}static char *app_get_pass(BIO *err, char *arg, int keepbio){	char *tmp, tpass[APP_PASS_LEN];	static BIO *pwdbio = NULL;	int i;	if(!strncmp(arg, "pass:", 5)) return BUF_strdup(arg + 5);	if(!strncmp(arg, "env:", 4)) {		tmp = getenv(arg + 4);		if(!tmp) {			BIO_printf(err, "Can't read environment variable %s\n", arg + 4);			return NULL;		}		return BUF_strdup(tmp);	}	if(!keepbio || !pwdbio) {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99视频热这里只有精品免费| 免费在线看成人av| 精品国产一二三| 欧洲另类一二三四区| 国产99精品国产| 精品一区二区三区久久| 日韩不卡手机在线v区| 亚洲一卡二卡三卡四卡无卡久久| 中文字幕成人av| 久久一区二区三区国产精品| 一本久久a久久精品亚洲| 奇米在线7777在线精品| 性感美女久久精品| 亚洲成在人线免费| 亚洲一区二区av在线| 亚洲男同性视频| 一区二区三区欧美日韩| 亚洲美女淫视频| 怡红院av一区二区三区| 亚洲综合清纯丝袜自拍| 一区二区三区欧美在线观看| 亚洲在线中文字幕| 亚洲欧洲日韩av| 国产欧美日韩精品a在线观看| 久久一二三国产| 国产日韩欧美高清在线| 国产精品天干天干在观线| 国产精品毛片大码女人| 樱桃视频在线观看一区| 午夜成人免费电影| 蜜臀精品久久久久久蜜臀| 乱一区二区av| 风间由美性色一区二区三区| 不卡一区二区中文字幕| 在线免费观看一区| 欧美精品久久99久久在免费线| 91精品国产福利在线观看| 欧美色视频在线观看| 色丁香久综合在线久综合在线观看| 日本伦理一区二区| 欧美久久一区二区| 久久综合狠狠综合久久激情| 国产精品乱人伦| 亚洲一区在线观看视频| 精品一区二区三区不卡| 欧美亚洲国产bt| 精品1区2区在线观看| 国产精品国产三级国产三级人妇 | 国产91丝袜在线18| av资源网一区| 欧美一区三区二区| 国产精品女上位| 午夜国产精品影院在线观看| 久久不见久久见免费视频1| 国产·精品毛片| 欧美性大战久久久久久久蜜臀| 欧美www视频| 一区二区三区免费看视频| 九色综合国产一区二区三区| 91在线观看下载| 日韩欧美卡一卡二| 一区二区三区蜜桃| 日本午夜一本久久久综合| 精品制服美女久久| 欧美性大战久久久久久久| 中文一区一区三区高中清不卡| 五月婷婷激情综合| av亚洲精华国产精华精| 欧美tickling挠脚心丨vk| 伊人一区二区三区| 成人一区二区三区中文字幕| 日韩一区二区麻豆国产| 亚洲天堂av一区| 日本大胆欧美人术艺术动态| 色综合中文字幕| 国产精品入口麻豆九色| 久久不见久久见免费视频7 | 欧美在线观看一区| 欧美激情一区在线观看| 国产精品一区不卡| 91精品国产综合久久福利软件| 中文字幕不卡三区| 成人午夜视频网站| 国产欧美一区二区在线| 国产麻豆视频一区二区| 久久综合久久综合久久| 国产精品一区二区x88av| 久久先锋影音av| 国产在线精品一区在线观看麻豆| 欧美一卡二卡在线观看| 日韩精品视频网| 欧美精品在线观看播放| 亚洲国产一区二区视频| 欧洲国内综合视频| 五月天婷婷综合| 91丨porny丨在线| 日韩欧美一区二区视频| 久久99精品国产麻豆婷婷| 日韩精品在线网站| 国产美女av一区二区三区| 欧美日韩成人在线一区| 亚洲不卡av一区二区三区| av不卡在线播放| 亚洲人成小说网站色在线| 91黄色激情网站| 午夜精品久久久久久久99樱桃| 欧美男男青年gay1069videost| 午夜精品爽啪视频| 精品国产123| av影院午夜一区| 亚洲国产精品久久久男人的天堂| 不卡电影一区二区三区| 久久久久一区二区三区四区| 成人自拍视频在线观看| 亚洲欧美另类小说视频| 欧美一区二区成人6969| 国产精品自拍网站| 亚洲欧洲国产日本综合| 欧美亚男人的天堂| 国内成人精品2018免费看| 国产精品蜜臀av| 99久久久国产精品免费蜜臀| 亚洲国产va精品久久久不卡综合| 欧美电影免费观看完整版| 高清国产一区二区| 一区二区日韩电影| 精品免费日韩av| 91影院在线免费观看| 久久99深爱久久99精品| 欧美一二三四在线| 懂色av中文字幕一区二区三区| 亚洲精品欧美二区三区中文字幕| 日韩一区二区三区四区| 不卡欧美aaaaa| 精品制服美女久久| 亚洲一区二区三区国产| 欧美高清激情brazzers| 成人午夜激情在线| 日本 国产 欧美色综合| 日韩欧美国产一区二区三区 | 欧美日韩黄视频| 国产91丝袜在线18| 九一九一国产精品| 亚洲chinese男男1069| 国产精品欧美精品| 2020日本不卡一区二区视频| 欧美另类z0zxhd电影| 成人短视频下载| 日韩综合小视频| 欧美午夜免费电影| 日本视频一区二区| 五月婷婷激情综合| 青青国产91久久久久久| 日韩精品一二三四| 日本不卡1234视频| 免费日韩伦理电影| 国产综合久久久久久鬼色 | 中文字幕第一区二区| 国产午夜久久久久| 国产精品麻豆99久久久久久| 国产精品超碰97尤物18| 最新不卡av在线| 亚洲最大色网站| 日韩黄色免费电影| 九九**精品视频免费播放| 寂寞少妇一区二区三区| 狠狠色丁香久久婷婷综| 国产成人精品免费| 一本到不卡精品视频在线观看| 欧美少妇性性性| 5月丁香婷婷综合| 国产欧美一区二区三区沐欲 | 欧美自拍偷拍午夜视频| 欧美伦理影视网| 精品国产乱码久久久久久久久 | 亚洲自拍偷拍图区| 蜜桃一区二区三区四区| 国产91丝袜在线观看| 色国产综合视频| 欧美不卡激情三级在线观看| 国产精品麻豆一区二区| 水蜜桃久久夜色精品一区的特点 | 91丝袜呻吟高潮美腿白嫩在线观看| 日本精品一级二级| 久久综合色之久久综合| 亚洲视频电影在线| 久久精品国产久精国产| 99v久久综合狠狠综合久久| 欧美精品色一区二区三区| 久久久久久久久一| 亚洲国产一区二区三区| 福利一区在线观看| 欧美高清视频一二三区| 国产精品国产自产拍在线| 日韩电影免费在线看| 91污在线观看| 久久久久亚洲综合| 婷婷六月综合网| 色综合久久久久| 日本一区二区三区四区|