Conditionally loading the bridge crt if it exist.
This commit is contained in:
		
							parent
							
								
									efd267df85
								
							
						
					
					
						commit
						14c239d9f5
					
				| 
						 | 
					@ -50,7 +50,12 @@ message-send-mail-function 'smtpmail-send-it
 | 
				
			||||||
smtpmail-auth-credentials "~/.authinfo.gpg"
 | 
					smtpmail-auth-credentials "~/.authinfo.gpg"
 | 
				
			||||||
smtpmail-smtp-server "127.0.0.1"
 | 
					smtpmail-smtp-server "127.0.0.1"
 | 
				
			||||||
smtpmail-smtp-service 1025)
 | 
					smtpmail-smtp-service 1025)
 | 
				
			||||||
(add-to-list 'gnutls-trustfiles "~/.config/mbsync/transient/bridge.crt")
 | 
					
 | 
				
			||||||
 | 
					(let ((bridgecert (expand-file-name "~/.config/mbsync/transient/bridge.crt")))
 | 
				
			||||||
 | 
					  (when (file-exists-p bridgecert)
 | 
				
			||||||
 | 
					    (add-to-list 'gnutls-trustfiles bridgecert)
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					  )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defcustom mu4e-bookmarks
 | 
					(defcustom mu4e-bookmarks
 | 
				
			||||||
  '(( :name  "Unread messages"
 | 
					  '(( :name  "Unread messages"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user