;;; -*-Scheme-*-
;;;
-;;; $Id: dosfile.scm,v 1.23 1999/01/14 18:25:09 cph Exp $
+;;; $Id: dosfile.scm,v 1.24 1999/01/14 18:37:44 cph Exp $
;;;
;;; Copyright (c) 1994-1999 Massachusetts Institute of Technology
;;;
(define (read/write-encrypted-file? group pathname)
(and (ref-variable enable-encrypted-files group)
(or (and (equal? "bf" (pathname-type pathname))
- (blowfish-available?))
+ (blowfish-available?)
+ (blowfish-file? pathname))
(equal? "ky" (pathname-type pathname)))))
(define (read-encrypted-file pathname mark)
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.89 1999/01/14 18:25:03 cph Exp $
+;;; $Id: unix.scm,v 1.90 1999/01/14 18:37:50 cph Exp $
;;;
;;; Copyright (c) 1989-1999 Massachusetts Institute of Technology
;;;
(let ((type (pathname-type pathname)))
(and (member type unix/encrypted-file-suffixes)
(if (equal? "bf" type)
- (blowfish-available?)
+ (and (blowfish-available?)
+ (blowfish-file? pathname))
#t)))))
(define unix/encrypted-file-suffixes