aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl/files/patch-eng_cryptodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl/files/patch-eng_cryptodev.c')
-rw-r--r--security/openssl/files/patch-eng_cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openssl/files/patch-eng_cryptodev.c b/security/openssl/files/patch-eng_cryptodev.c
index 8b8942c098ff..b8e146cc58be 100644
--- a/security/openssl/files/patch-eng_cryptodev.c
+++ b/security/openssl/files/patch-eng_cryptodev.c
@@ -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) {