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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ui_openssl.c

?? openssl包含TLS
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* crypto/ui/ui_openssl.c -*- mode:C; c-file-style: "eay" -*- *//* Written by Richard Levitte (richard@levitte.org) and others * for the OpenSSL project 2001. *//* ==================================================================== * Copyright (c) 2001 The OpenSSL Project.  All rights reserved. * * 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 above 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 acknowledgment: *    "This product includes software developed by the OpenSSL Project *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)" * * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to *    endorse or promote products derived from this software without *    prior written permission. For written permission, please contact *    openssl-core@openssl.org. * * 5. Products derived from this software may not be called "OpenSSL" *    nor may "OpenSSL" appear in their names without prior written *    permission of the OpenSSL Project. * * 6. Redistributions of any form whatsoever must retain the following *    acknowledgment: *    "This product includes software developed by the OpenSSL Project *    for use in the OpenSSL Toolkit (http://www.openssl.org/)" * * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY * EXPRESSED 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 OpenSSL PROJECT OR * ITS 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. * ==================================================================== * * This product includes cryptographic software written by Eric Young * (eay@cryptsoft.com).  This product includes software written by Tim * Hudson (tjh@cryptsoft.com). * *//* The lowest level part of this file was previously in crypto/des/read_pwd.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 <openssl/e_os2.h>#if !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS)# ifdef OPENSSL_UNISTD#  include OPENSSL_UNISTD# else#  include <unistd.h># endif/* If unistd.h defines _POSIX_VERSION, we conclude that we * are on a POSIX system and have sigaction and termios. */# if defined(_POSIX_VERSION)#  define SIGACTION#  if !defined(TERMIOS) && !defined(TERMIO) && !defined(SGTTY)#   define TERMIOS#  endif# endif#endif#ifdef WIN16TTY# undef OPENSSL_SYS_WIN16# undef WIN16# undef _WINDOWS# include <graph.h>#endif/* 06-Apr-92 Luke Brennan    Support for VMS */#include "ui_locl.h"#include "cryptlib.h"#include <signal.h>#include <stdio.h>#include <string.h>#include <errno.h>#ifdef OPENSSL_SYS_VMS		/* prototypes for sys$whatever */# include <starlet.h># ifdef __DECC#  pragma message disable DOLLARID# endif#endif#ifdef WIN_CONSOLE_BUG# include <windows.h>#ifndef OPENSSL_SYS_WINCE# include <wincon.h>#endif#endif/* There are 5 types of terminal interface supported, * TERMIO, TERMIOS, VMS, MSDOS and SGTTY */#if defined(__sgi) && !defined(TERMIOS)# define TERMIOS# undef  TERMIO# undef  SGTTY#endif#if defined(linux) && !defined(TERMIO)# undef  TERMIOS# define TERMIO# undef  SGTTY#endif#ifdef _LIBC# undef  TERMIOS# define TERMIO# undef  SGTTY#endif#if !defined(TERMIO) && !defined(TERMIOS) && !defined(OPENSSL_SYS_VMS) && !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_MACINTOSH_CLASSIC) && !defined(MAC_OS_GUSI_SOURCE)# undef  TERMIOS# undef  TERMIO# define SGTTY#endif#if defined(OPENSSL_SYS_VXWORKS)#undef TERMIOS#undef TERMIO#undef SGTTY#endif#ifdef TERMIOS# include <termios.h># define TTY_STRUCT		struct termios# define TTY_FLAGS		c_lflag# define TTY_get(tty,data)	tcgetattr(tty,data)# define TTY_set(tty,data)	tcsetattr(tty,TCSANOW,data)#endif#ifdef TERMIO# include <termio.h># define TTY_STRUCT		struct termio# define TTY_FLAGS		c_lflag# define TTY_get(tty,data)	ioctl(tty,TCGETA,data)# define TTY_set(tty,data)	ioctl(tty,TCSETA,data)#endif#ifdef SGTTY# include <sgtty.h># define TTY_STRUCT		struct sgttyb# define TTY_FLAGS		sg_flags# define TTY_get(tty,data)	ioctl(tty,TIOCGETP,data)# define TTY_set(tty,data)	ioctl(tty,TIOCSETP,data)#endif#if !defined(_LIBC) && !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS) && !defined(OPENSSL_SYS_MACINTOSH_CLASSIC) && !defined(OPENSSL_SYS_SUNOS)# include <sys/ioctl.h>#endif#ifdef OPENSSL_SYS_MSDOS# include <conio.h>#endif#ifdef OPENSSL_SYS_VMS# include <ssdef.h># include <iodef.h># include <ttdef.h># include <descrip.h>struct IOSB {	short iosb$w_value;	short iosb$w_count;	long  iosb$l_info;	};#endif#ifdef OPENSSL_SYS_SUNOS	typedef int sig_atomic_t;#endif#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(MAC_OS_GUSI_SOURCE)/* * This one needs work. As a matter of fact the code is unoperational * and this is only a trick to get it compiled. *					<appro@fy.chalmers.se> */# define TTY_STRUCT int#endif#ifndef NX509_SIG# define NX509_SIG 32#endif/* Define globals.  They are protected by a lock */#ifdef SIGACTIONstatic struct sigaction savsig[NX509_SIG];#elsestatic void (*savsig[NX509_SIG])(int );#endif#ifdef OPENSSL_SYS_VMSstatic struct IOSB iosb;static $DESCRIPTOR(terminal,"TT");static long tty_orig[3], tty_new[3]; /* XXX   Is there any guarantee that this will always suffice for the actual structures? */static long status;static unsigned short channel = 0;#else#if !defined(OPENSSL_SYS_MSDOS) || defined(__DJGPP__)static TTY_STRUCT tty_orig,tty_new;#endif#endifstatic FILE *tty_in, *tty_out;static int is_a_tty;/* Declare static functions */#if !defined(OPENSSL_SYS_WIN16) && !defined(OPENSSL_SYS_WINCE)static void read_till_nl(FILE *);static void recsig(int);static void pushsig(void);static void popsig(void);#endif#if defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_WIN16)static int noecho_fgets(char *buf, int size, FILE *tty);#endifstatic int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl);static int read_string(UI *ui, UI_STRING *uis);static int write_string(UI *ui, UI_STRING *uis);static int open_console(UI *ui);static int echo_console(UI *ui);static int noecho_console(UI *ui);static int close_console(UI *ui);static UI_METHOD ui_openssl =	{	"OpenSSL default user interface",	open_console,	write_string,	NULL,			/* No flusher is needed for command lines */	read_string,	close_console,	NULL	};/* The method with all the built-in thingies */UI_METHOD *UI_OpenSSL(void)	{	return &ui_openssl;	}/* The following function makes sure that info and error strings are printed   before any prompt. */static int write_string(UI *ui, UI_STRING *uis)	{	switch (UI_get_string_type(uis))		{	case UIT_ERROR:	case UIT_INFO:		fputs(UI_get0_output_string(uis), tty_out);		fflush(tty_out);		break;	default:		break;		}	return 1;	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
777色狠狠一区二区三区| 1000部国产精品成人观看| 欧美激情资源网| 三级精品在线观看| 色婷婷久久综合| 亚洲国产高清不卡| 精品一区二区免费看| 欧美在线看片a免费观看| 国产日本一区二区| 久久精品国内一区二区三区| 欧美吻胸吃奶大尺度电影| 欧美国产日韩亚洲一区| 精品在线免费观看| 欧美精品亚洲二区| 亚洲va欧美va人人爽午夜| 日本黄色一区二区| 亚洲激情六月丁香| 91在线一区二区三区| 国产清纯白嫩初高生在线观看91| 精品在线视频一区| 精品日韩在线一区| 极品美女销魂一区二区三区| 日韩一区二区麻豆国产| 日本不卡的三区四区五区| 欧美日韩大陆在线| 亚洲综合小说图片| 欧美日韩视频在线观看一区二区三区 | 欧美女孩性生活视频| 亚洲一区二区三区在线看| 91福利小视频| 天天影视涩香欲综合网| 欧美巨大另类极品videosbest| 一区二区三区四区亚洲| 在线这里只有精品| 婷婷丁香激情综合| 欧美一级黄色片| 免费日本视频一区| 国产日产欧产精品推荐色| 粉嫩嫩av羞羞动漫久久久| 国产精品久久三| 91麻豆国产香蕉久久精品| 亚洲免费av观看| 欧美日韩一区视频| 麻豆免费精品视频| 国产亚洲精品中文字幕| 成a人片亚洲日本久久| 夜夜精品视频一区二区| 7777精品伊人久久久大香线蕉的 | 日韩欧美国产三级| 国产福利一区二区| 国产精品国产三级国产aⅴ中文 | 国产精品入口麻豆原神| 91美女片黄在线观看91美女| 亚洲一区欧美一区| 精品三级在线看| www.在线成人| 五月激情六月综合| 久久久久99精品国产片| 91麻豆国产香蕉久久精品| 日韩成人一区二区| 国产精品免费丝袜| 欧美日韩国产电影| 国产成人精品1024| 午夜视频一区在线观看| 久久久久久9999| 欧美日韩免费观看一区二区三区 | 麻豆一区二区在线| 亚洲图片你懂的| 日韩欧美国产电影| 日本韩国一区二区三区| 国产一区二区美女| 亚洲va韩国va欧美va精品| 欧美精彩视频一区二区三区| 欧美精品一卡两卡| 91免费观看视频在线| 九色综合狠狠综合久久| 亚洲成a人片在线观看中文| 国产精品丝袜一区| 精品播放一区二区| 欧美精品乱码久久久久久| 北岛玲一区二区三区四区| 久久精品国产久精国产| 一区二区三区在线免费视频| 国产亚洲成aⅴ人片在线观看| 欧美日韩高清一区二区不卡| 国产69精品久久久久777| 男男gaygay亚洲| 亚洲国产日韩a在线播放性色| 日本一区二区三区在线观看| 欧美一区二区视频网站| 91视频免费观看| 成人免费不卡视频| 国产91色综合久久免费分享| 久久精品国产成人一区二区三区| 亚洲国产日日夜夜| 亚洲在线观看免费视频| 亚洲精品中文字幕在线观看| 中文字幕一区二区三区四区| 日本一区免费视频| 中文字幕欧美三区| 亚洲国产精品精华液ab| 国产亚洲欧美色| 国产午夜精品一区二区三区视频 | 91精品国产aⅴ一区二区| 欧美少妇bbb| 在线日韩一区二区| 91蜜桃传媒精品久久久一区二区| 成人综合婷婷国产精品久久蜜臀| 国产精品69毛片高清亚洲| 国产精品综合视频| 国产999精品久久| 不卡电影免费在线播放一区| 成人午夜伦理影院| 不卡一区中文字幕| 91黄视频在线| 欧美日韩国产美| 欧美一级高清片| 精品国内片67194| 欧美激情综合网| 日韩美女视频一区| 亚洲国产美国国产综合一区二区| 亚洲精品你懂的| 日韩成人精品在线观看| 麻豆精品视频在线| 国产精品一区二区久久精品爱涩| 懂色av中文字幕一区二区三区| 成人午夜私人影院| 一本久久精品一区二区 | 91色综合久久久久婷婷| 欧亚洲嫩模精品一区三区| 这里只有精品视频在线观看| 精品日本一线二线三线不卡| 国产日韩一级二级三级| 亚洲日本欧美天堂| 日韩精品乱码免费| 狠狠色狠狠色综合| 成人免费高清在线| 欧美日韩在线三级| 精品99一区二区三区| 日本一区二区高清| 午夜精品免费在线| 国产91露脸合集magnet| 在线视频你懂得一区| 精品人在线二区三区| 亚洲天堂2016| 麻豆精品国产传媒mv男同| 成人av动漫在线| 91麻豆精品国产91久久久| 久久精品一区二区三区不卡| 亚洲一二三四区| 国产一区二三区| 欧美四级电影网| 久久综合九色欧美综合狠狠| 一区二区三区免费看视频| 久久97超碰色| 欧美综合一区二区| 国产亚洲婷婷免费| 日本中文字幕一区二区视频| 成人高清av在线| 欧美va在线播放| 亚洲国产中文字幕在线视频综合| 国产九色精品成人porny| 欧美日韩电影一区| 亚洲欧洲日产国码二区| 久久er精品视频| 欧美日韩一区二区三区高清| 欧美国产日韩a欧美在线观看| 日韩国产精品久久久久久亚洲| eeuss鲁片一区二区三区在线看| 欧美一区二区三区成人| 亚洲女性喷水在线观看一区| 国内精品伊人久久久久影院对白| 欧美亚洲综合色| 亚洲女同ⅹxx女同tv| 成人美女在线视频| 日韩精品一区二区三区老鸭窝| 艳妇臀荡乳欲伦亚洲一区| 亚洲人成人一区二区在线观看| 亚洲国产成人av好男人在线观看| 国产馆精品极品| 26uuu国产日韩综合| 日本成人在线不卡视频| 欧美日韩视频在线观看一区二区三区| 亚洲欧洲日产国产综合网| 成人黄页毛片网站| 久久久精品免费免费| 国产主播一区二区| 欧美电影免费观看高清完整版在线观看| 亚洲成人综合网站| 欧美性xxxxxxxx| 香蕉成人啪国产精品视频综合网 | av中文字幕在线不卡| 国产精品午夜久久| 亚洲欧美日韩国产成人精品影院 | 欧美日韩一本到| 日产国产高清一区二区三区 | 欧美伦理视频网站| 久久精品99国产国产精| 久久久久久久久久久电影| 色综合天天综合在线视频|