* net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
correct data to `gnutls-boot'.
Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
+2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
+ correct data to `gnutls-boot' (Bug#18664).
+ Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
+
2014-10-18 Michal Nazarewicz <mina86@mina86.com>
* whitespace.el (whitespace-style, whitespace-big-indent)
t)
;; if a list, look for hostname matches
((listp gnutls-verify-error)
- (cl-mapcan
- (lambda (check)
- (when (string-match (car check) hostname)
- (copy-sequence (cdr check))))
- gnutls-verify-error))
+ (apply 'append
+ (mapcar
+ (lambda (check)
+ (when (string-match (nth 0 check)
+ hostname)
+ (nth 1 check)))
+ gnutls-verify-error)))
;; else it's nil
(t nil))))
(min-prime-bits (or min-prime-bits gnutls-min-prime-bits))