| 
									
										
										
										
											2017-02-26 07:17:43 +08:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2018-12-06 20:59:46 +08:00
										 |  |  |  * Licensed under the Apache License 2.0 (the "License").  You may not use | 
					
						
							| 
									
										
										
										
											2017-02-26 07:17:43 +08:00
										 |  |  |  * 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
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-28 06:45:40 +08:00
										 |  |  | #include "ui_local.h"
 | 
					
						
							| 
									
										
										
										
											2017-02-26 07:17:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | static const UI_METHOD ui_null = { | 
					
						
							|  |  |  |     "OpenSSL NULL UI", | 
					
						
							|  |  |  |     NULL,                        /* opener */ | 
					
						
							|  |  |  |     NULL,                        /* writer */ | 
					
						
							|  |  |  |     NULL,                        /* flusher */ | 
					
						
							|  |  |  |     NULL,                        /* reader */ | 
					
						
							|  |  |  |     NULL,                        /* closer */ | 
					
						
							|  |  |  |     NULL | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* The method with all the built-in thingies */ | 
					
						
							|  |  |  | const UI_METHOD *UI_null(void) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     return &ui_null; | 
					
						
							|  |  |  | } |