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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? apps.c

?? pkcs12格式文件的編解碼軟件
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* 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) {

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美自拍偷拍一区| 777午夜精品免费视频| 日本一区二区免费在线观看视频 | 亚洲高清不卡在线观看| 在线不卡一区二区| 国产成人福利片| 亚洲永久免费av| 日韩你懂的在线播放| av在线不卡免费看| 久久国产欧美日韩精品| 亚洲三级视频在线观看| 欧美一区二区三区在线观看| 成人视屏免费看| 日本中文一区二区三区| 国产精品三级av| 欧美一区二区视频在线观看| av动漫一区二区| 男女男精品视频网| 亚洲图片激情小说| 久久蜜桃香蕉精品一区二区三区| 99久久精品国产导航| 国模一区二区三区白浆| 亚洲国产毛片aaaaa无费看| 亚洲国产精品av| 日韩欧美国产麻豆| 欧美三级三级三级爽爽爽| 国产成人精品免费视频网站| 日韩国产精品久久久久久亚洲| 国产精品理伦片| 日韩精品资源二区在线| 欧洲精品一区二区| 北岛玲一区二区三区四区| 久久草av在线| 图片区小说区区亚洲影院| **性色生活片久久毛片| 久久久久久免费网| 日韩亚洲欧美高清| 欧美日本一区二区| 91久久精品日日躁夜夜躁欧美| 免费观看一级特黄欧美大片| 亚洲另类在线视频| 中文在线一区二区| 精品国产乱码久久久久久浪潮| 欧美最猛性xxxxx直播| 国产美女精品在线| 日本美女一区二区| 亚洲国产三级在线| 综合久久综合久久| 欧美tickling挠脚心丨vk| 欧美日韩免费不卡视频一区二区三区 | 久国产精品韩国三级视频| 亚洲精品综合在线| 久久久五月婷婷| 欧美一区二区观看视频| 色综合激情久久| 成人开心网精品视频| 精品无人码麻豆乱码1区2区| 丝袜诱惑制服诱惑色一区在线观看 | 菠萝蜜视频在线观看一区| 国产精品一区二区在线观看不卡 | 日韩影院在线观看| 琪琪久久久久日韩精品| 日韩成人午夜电影| 日本三级亚洲精品| 美腿丝袜亚洲一区| 激情综合亚洲精品| 国产在线精品免费av| 国产真实乱对白精彩久久| 经典三级在线一区| 国产精品一二三四五| 成人污污视频在线观看| 91在线国产福利| 欧美亚洲一区二区在线观看| 欧美日韩中文字幕一区二区| 欧美男女性生活在线直播观看| 欧美福利视频一区| 欧美tk丨vk视频| 国产精品视频免费看| 亚洲男人的天堂在线aⅴ视频| 亚洲欧洲av色图| 亚洲一区二三区| 免费高清不卡av| 美日韩一区二区| 激情av综合网| 成人黄色在线网站| 一本久道中文字幕精品亚洲嫩| 91在线观看污| 欧洲精品一区二区| 日韩一区二区中文字幕| 日韩一级片在线播放| 日韩欧美国产不卡| 国产亚洲制服色| 亚洲视频在线一区观看| 亚洲高清在线精品| 日本sm残虐另类| 久久精品国产精品亚洲精品| 成人av综合在线| 欧美精选一区二区| 欧美激情一区在线观看| 亚洲成a人v欧美综合天堂下载 | 一区二区三区国产精品| 久久激五月天综合精品| av一区二区三区四区| 欧美一区二区三区系列电影| 欧美韩国日本综合| 亚洲第一狼人社区| 国产福利不卡视频| 欧美日韩一区二区在线观看| 国产人伦精品一区二区| 日韩主播视频在线| 成人看片黄a免费看在线| 51久久夜色精品国产麻豆| 国产精品美女久久久久久久网站| 亚洲不卡在线观看| 成人精品国产一区二区4080| 91精品免费在线| 亚洲色图制服诱惑| 国产成人免费在线视频| 91麻豆精品国产自产在线观看一区| 亚洲国产精品传媒在线观看| 日本不卡123| 91福利在线看| 国产精品久久久久影院亚瑟| 国内精品写真在线观看| 欧美精品一二三四| 亚洲激情av在线| 丁香天五香天堂综合| 日韩一级精品视频在线观看| 亚洲制服丝袜在线| 成人av网站大全| 国产午夜精品久久久久久免费视 | 亚洲美女在线国产| 成人午夜在线免费| 精品福利av导航| 日韩高清不卡一区二区三区| 色婷婷一区二区三区四区| 国产精品女人毛片| 国产激情一区二区三区桃花岛亚洲| 日韩亚洲欧美在线| 日日欢夜夜爽一区| 欧美性猛交xxxxxx富婆| 自拍av一区二区三区| 成人丝袜18视频在线观看| 久久这里只有精品首页| 激情综合五月婷婷| 欧美一级爆毛片| 全部av―极品视觉盛宴亚洲| 欧美亚洲一区三区| 亚洲成av人片在线| 欧美精品久久99久久在免费线| 一二三区精品视频| 欧美午夜精品久久久久久超碰| 一区二区在线电影| 色悠悠久久综合| 一区二区三区av电影| 91久久精品一区二区三区| 亚洲免费在线视频一区 二区| av中文字幕不卡| 亚洲黄色性网站| 欧美亚洲国产一区在线观看网站| 一区二区三区四区亚洲| 欧美日韩专区在线| 日欧美一区二区| 日韩精品一区在线| 精品一二三四在线| 国产人成亚洲第一网站在线播放| 高清国产午夜精品久久久久久| 亚洲国产精品传媒在线观看| 成人黄色电影在线| 亚洲精品视频在线观看网站| 欧美丝袜丝交足nylons| 视频一区中文字幕国产| 欧美一级精品在线| 国产精品自拍在线| 久久伊99综合婷婷久久伊| 麻豆视频一区二区| 91精品国产综合久久久蜜臀图片| 亚洲成人手机在线| 欧美一区二区在线视频| 九一久久久久久| 中文字幕国产精品一区二区| 色88888久久久久久影院按摩 | av在线综合网| 天天操天天干天天综合网| 日韩午夜三级在线| 成人永久免费视频| 一区二区三区.www| 日韩欧美精品在线| jizz一区二区| 婷婷一区二区三区| 国产日韩欧美亚洲| 在线免费亚洲电影| 久久av中文字幕片| 中文字幕日本不卡| 欧美精品一级二级| www.一区二区| 欧美aaaaaa午夜精品| 国产精品亲子乱子伦xxxx裸| 欧美日本高清视频在线观看| 欧美一区二区三区四区五区|