Changeset 97372 in vbox for trunk/src/libs/openssl-3.0.7/crypto/bio/bio_sock2.c
- Timestamp:
- Nov 2, 2022 7:40:16 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154372
- Location:
- trunk/src/libs/openssl-3.0.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.7
- Property svn:mergeinfo
-
old new 15 15 /vendor/openssl/3.0.2:150728-150729 16 16 /vendor/openssl/3.0.3:151497-151729 17 /vendor/openssl/current:147554-151496 17 /vendor/openssl/3.0.7:154371 18 /vendor/openssl/current:147554-154370
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.7/crypto/bio/bio_sock2.c
r94320 r97372 1 1 /* 2 * Copyright 2016-202 1The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 53 53 return INVALID_SOCKET; 54 54 } 55 # ifndef OPENSSL_NO_KTLS56 {57 /*58 * The new socket is created successfully regardless of ktls_enable.59 * ktls_enable doesn't change any functionality of the socket, except60 * changing the setsockopt to enable the processing of ktls_start.61 * Thus, it is not a problem to call it for non-TLS sockets.62 */63 ktls_enable(sock);64 }65 # endif66 55 67 56 return sock; … … 129 118 return 0; 130 119 } 120 # ifndef OPENSSL_NO_KTLS 121 /* 122 * The new socket is created successfully regardless of ktls_enable. 123 * ktls_enable doesn't change any functionality of the socket, except 124 * changing the setsockopt to enable the processing of ktls_start. 125 * Thus, it is not a problem to call it for non-TLS sockets. 126 */ 127 ktls_enable(sock); 128 # endif 131 129 return 1; 132 130 }
Note:
See TracChangeset
for help on using the changeset viewer.