Skip to content

Commit

Permalink
Always use the AWS-LC session file regardless of API version. A chang…
Browse files Browse the repository at this point in the history
…e in API version does not necessarily mean the session format will be different
  • Loading branch information
andrewhop committed Oct 20, 2023
1 parent 5a2ce7f commit 1196b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ci/integration/sslproxy_patch/aws-lc-sslproxy.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ index 7dbac6e..58a47d5 100644

#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20501000L
#define TMP_SESS_FILE "pki/session-libressl-2.5.0.pem"
+#elif defined(AWSLC_API_VERSION) && AWSLC_API_VERSION == 22
+#elif defined(OPENSSL_IS_AWSLC)
+#define TMP_SESS_FILE "pki/session-aws-lc-1.15.0.pem"
#else
#define TMP_SESS_FILE "pki/session.pem"
Expand All @@ -19,7 +19,7 @@ index 754b7d3..1cd3294 100644

#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20501000L
#define TMP_SESS_FILE "pki/session-libressl-2.5.0.pem"
+#elif defined(AWSLC_API_VERSION) && AWSLC_API_VERSION == 22
+#elif defined(OPENSSL_IS_AWSLC)
+#define TMP_SESS_FILE "pki/session-aws-lc-1.15.0.pem"
#else
#define TMP_SESS_FILE "pki/session.pem"
Expand Down

0 comments on commit 1196b6c

Please sign in to comment.