mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	Improve detection for DES support in OpenSSL, to allow compilation against system OpenSSL without DES. Note that MariaDB needs to be compiled against OpenSSL-like library that itself has DES support which cmake detected. Positive detection is indicated with CMake variable HAVE_des 1. Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@surgut.co.uk>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			247 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			247 B
		
	
	
	
		
			Text
		
	
	
	
	
	
-- source include/have_innodb.inc
 | 
						|
-- source include/have_des.inc
 | 
						|
 | 
						|
CREATE TABLE t1(a int) engine=innodb;
 | 
						|
INSERT INTO t1 VALUES (1);
 | 
						|
 | 
						|
SELECT DISTINCT
 | 
						|
convert((SELECT des_decrypt(2,1) AS a FROM t1 WHERE @a:=1), signed) as d
 | 
						|
FROM t1 ;
 | 
						|
 | 
						|
DROP TABLE t1;
 |