Skip to content

Commit 9df1f25

Browse files
authored
Update test certs (#1522)
Motivation: Test certs expired; tests now fail. Modifications: - Add a script to generate a Swift source file which uses the output of the existing `makecert` script. - Fix a warning. Results: Tests pass.
1 parent d7f2a53 commit 9df1f25

File tree

4 files changed

+438
-211
lines changed

4 files changed

+438
-211
lines changed

.swiftformat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# Ignore generated files.
55
--exclude **/LinuxMain.swift,**/XCTestManifests.swift,**/*.grpc.swift,**/*.pb.swift
6+
--exclude Sources/GRPCSampleData/GRPCSwiftCertificate.swift
67

78
--indent 2
89
--maxwidth 100

Sources/GRPC/Serialization.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
import struct Foundation.Data
1617
import NIOCore
1718
import NIOFoundationCompat
1819
import SwiftProtobuf

0 commit comments

Comments
 (0)