diff --git a/Cargo.toml b/Cargo.toml index 98175a2..051e55f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustls-pki-types" -version = "1.10.0" +version = "1.10.1" edition = "2021" rust-version = "1.60" license = "MIT OR Apache-2.0" diff --git a/tests/data/rsa-key-no-trailing-newline.pem b/tests/data/rsa-key-no-trailing-newline.pem new file mode 100644 index 0000000..54eafa3 --- /dev/null +++ b/tests/data/rsa-key-no-trailing-newline.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCrOnJjNc/rt+EA +5V5w6Jq+d6WzukJqrFrEVogUI3ByMagTGx5YYABtbqnJXZ5Ad5gUxZzihqCvNzEP +IPS4OGIfhvzKhRno1qIK4u/luoVdc/kItZ5gNE7OIW6hmgD6X1JRQjnc6GNoOINX +2wmL7zePhD6mCqNIwlqQjjDh+GHkPdlhn/XXnv/LgRYpb52lfVmihqcAej5mIr6g +5xdyV1ql53QwdOEx0IJayOVuCvVSt2l7y8vqolHQ4CwNc4XN+rTYXdia8akysFiH +dMeUQi46TqWarvK+0s3hcq5NNzesg6p5miNywpUVffAYLmd6Rr9vDOkFTwQzIX8U +3Pi05TNtAgMBAAECggEALEZWoZSeiMLpKUQl4Wgj6zAg5pI47kBW0AHX+e0X/E8e +uKIAfLWGJsXAnVLZwq2p42Udpe1Ny0CoLNNGtAPQS3qqDuvPwUcOa2Y2xd4u8fU0 +5a2goBumbOJ0KtEZg6P2MxC+yYJFggNq4uK+WzKl2TRGxsRlaEDpDgvWU/fXyB5Q +pkMVkHU8VWKtSG+rZ0nMZnGuRFKFdTmtLcTYJip4qY4EqqkmhNYdkQrBDOCGEU4o +cV/Nx48iNs78SP06ZLl3rp0xxI436ZTFvPw6E1B3j0Bsh2ufYU37RtuiUTbXABkw +X67Lt5evvomxWHovpD3zXg8dP8DEOBZMkc1HFJAIuQKBgQDxH3uWrA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