Initial commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			
		
			
				
	
				Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			
		
			
				
	
				Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			
		
			
				
	
				Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			
		
			
				
	
				Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			
		
			
				
	
				Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			This commit is contained in:
		| @@ -0,0 +1,24 @@ | ||||
| --- a/tools/image-host.c | ||||
| +++ b/tools/image-host.c | ||||
| @@ -1125,6 +1125,7 @@ static int fit_config_add_verification_d | ||||
|   * 2) get public key (X509_get_pubkey) | ||||
|   * 3) provide der format (d2i_RSAPublicKey) | ||||
|   */ | ||||
| +#ifdef CONFIG_TOOLS_LIBCRYPTO | ||||
|  static int read_pub_key(const char *keydir, const void *name, | ||||
|  			unsigned char **pubkey, int *pubkey_len) | ||||
|  { | ||||
| @@ -1178,6 +1179,13 @@ err_cert: | ||||
|  	fclose(f); | ||||
|  	return ret; | ||||
|  } | ||||
| +#else | ||||
| +static int read_pub_key(const char *keydir, const void *name, | ||||
| +			unsigned char **pubkey, int *pubkey_len) | ||||
| +{ | ||||
| +	return -ENOSYS; | ||||
| +} | ||||
| +#endif | ||||
|   | ||||
|  int fit_pre_load_data(const char *keydir, void *keydest, void *fit) | ||||
|  { | ||||
		Reference in New Issue
	
	Block a user
	 domenico
					domenico