mirror of https://github.com/openssl/openssl.git
				
				
				
			Typo, setting the first element of nids[] to NULL instead of setting
*cnids.
This commit is contained in:
		
							parent
							
								
									b3b6720944
								
							
						
					
					
						commit
						132fc53223
					
				|  | @ -260,7 +260,7 @@ get_cryptodev_ciphers(const int **cnids) | ||||||
| 	int fd, i, count = 0; | 	int fd, i, count = 0; | ||||||
| 
 | 
 | ||||||
| 	if ((fd = get_dev_crypto()) < 0) { | 	if ((fd = get_dev_crypto()) < 0) { | ||||||
| 		*nids = NULL; | 		*cnids = NULL; | ||||||
| 		return (0); | 		return (0); | ||||||
| 	} | 	} | ||||||
| 	memset(&sess, 0, sizeof(sess)); | 	memset(&sess, 0, sizeof(sess)); | ||||||
|  | @ -299,7 +299,7 @@ get_cryptodev_digests(const int **cnids) | ||||||
| 	int fd, i, count = 0; | 	int fd, i, count = 0; | ||||||
| 
 | 
 | ||||||
| 	if ((fd = get_dev_crypto()) < 0) { | 	if ((fd = get_dev_crypto()) < 0) { | ||||||
| 		*nids = NULL; | 		*cnids = NULL; | ||||||
| 		return (0); | 		return (0); | ||||||
| 	} | 	} | ||||||
| 	memset(&sess, 0, sizeof(sess)); | 	memset(&sess, 0, sizeof(sess)); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue