osmo-smdpp: case insensitive comp of ES9+ SM-DP+ address

Do what the comment above the line already says..

Change-Id: Ie0738e810572ea3312c885ec8aaa2da4b8b12cd7
This commit is contained in:
Eric Wild
2026-09-23 17:51:04 +02:00
parent 0de8274e99
commit eb8e40948b
+1 -1
View File
@@ -525,7 +525,7 @@ class SmDppHttpServer:
"""See ES9+ InitiateAuthentication SGP.22 Section 5.6.1"""
# Verify that the received address matches its own SM-DP+ address, where the comparison SHALL be
# case-insensitive. Otherwise, the SM-DP+ SHALL return a status code "SM-DP+ Address - Refused".
if content['smdpAddress'] != self.server_hostname:
if content['smdpAddress'].lower() != self.server_hostname.lower():
raise ApiError('8.8.1', '3.8', 'Invalid SM-DP+ Address')
euiccChallenge = b64decode(content['euiccChallenge'])