=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/certhash.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/openssl/certhash.c 2015/02/25 04:56:41 1.6 --- src/usr.bin/openssl/certhash.c 2015/02/25 20:06:28 1.7 *************** *** 658,664 **** return (1); } ! if ((cwdfd = open(".", O_DIRECTORY)) == -1) { perror("failed to open current directory"); return (1); } --- 658,664 ---- return (1); } ! if ((cwdfd = open(".", O_RDONLY)) == -1) { perror("failed to open current directory"); return (1); }