mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-10-26 02:17:35 +03:00 
			
		
		
		
	- All files have prominent copyright and SPDX identifier - If not embedded in the file, in the .reuse/dep5 file - All used licenses are in LICENSES/ (not shipped in tarballs) - A new REUSE CI job verify that all files are OK Assisted-by: Viktor Szakats Closes #1084
		
			
				
	
	
		
			23 lines
		
	
	
		
			543 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			543 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* Copyright (C) The libssh2 project and its contributors.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-3-Clause
 | |
|  */
 | |
| 
 | |
| #include "runner.h"
 | |
| 
 | |
| int test(LIBSSH2_SESSION *session)
 | |
| {
 | |
| #if LIBSSH2_ECDSA && \
 | |
|     (defined(LIBSSH2_OPENSSL) || defined(LIBSSH2_WOLFSSL))
 | |
|     /* set in Dockerfile */
 | |
|     return test_auth_pubkey(session, 0,
 | |
|                             "libssh2",
 | |
|                             NULL,
 | |
|                             "key_ecdsa_signed-cert.pub",
 | |
|                             "key_ecdsa_signed");
 | |
| #else
 | |
|     (void)session;
 | |
|     return 0;
 | |
| #endif
 | |
| }
 |