1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

PR: 138881

Obtained from:	openssl-1.0.0
Feature safe:	yes
This commit is contained in:
Dirk Meyer 2009-09-19 05:21:20 +00:00
parent c31ab79606
commit 113bb2e0b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241708
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.8k
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
ftp://ftp.openssl.org/%SUBDIR%/ \

View File

@ -57,8 +57,8 @@
return (-1);
+ if (retfd == -1)
+ retfd = fd;
+ else
+/* close(fd); fix for PR=138881 */
+/* else fix for PR=138881 */
+/* close(fd); fix for PR=138881 */
/* close on exec */
if (fcntl(retfd, F_SETFD, 1) == -1) {