boulder/sa
Aaron Gable 0038149c79
Fix profile comparison when looking for authzs to reuse (#8144)
Previously, if the request asked for a profile, we were comparing the
address of that requested profile to the address of the profile field of
the found authz. Obviously these addresses were never the same. Instead,
compare the actual values, with an added nil check for safety.

This fixes a bug reported on the community forum. The updated test fails
without the accompanying code change.
2025-04-25 15:24:50 -07:00
..
db SA: Support profiles associated with authorizations (#7956) 2025-01-27 14:53:30 -08:00
db-next ARI: Store and reflect optional "replaces" value for Orders (#8056) 2025-03-12 15:09:29 -04:00
db-users Deprecate DisableLegacyLimitWrites & UseKvLimitsForNewOrder flags; remove code using certificatesPerName & newOrdersRL tables (#7858) 2025-01-10 12:50:57 -08:00
proto sa: Support new identifier types in authz getting funcs (#8104) 2025-04-10 10:57:17 -07:00
satest ratelimit: Remove legacy registrations per IP implementation (#7760) 2024-11-19 18:39:21 -05:00
testdata Support writing OCSP to Redis on revocation (#6012) 2022-04-01 13:59:56 -06:00
database.go ARI: Store and reflect optional "replaces" value for Orders (#8056) 2025-03-12 15:09:29 -04:00
database_test.go SA: Enforce microsecond granularity for long_query_time and max_statement_time (#7224) 2023-12-21 13:06:30 -05:00
metrics.go sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
migrations.sh test: Support multiple database schemas (#6344) 2022-09-07 14:59:08 -07:00
model.go sa: use internal certificateModel (#8130) 2025-04-21 13:48:29 -07:00
model_test.go sa: use internal certificateModel (#8130) 2025-04-21 13:48:29 -07:00
sa.go sa: Remove DnsNames from NewOrderRequest (#8101) 2025-04-08 12:27:08 -07:00
sa_test.go Fix profile comparison when looking for authzs to reuse (#8144) 2025-04-25 15:24:50 -07:00
saro.go Fix profile comparison when looking for authzs to reuse (#8144) 2025-04-25 15:24:50 -07:00
sysvars.go SA: Check MariaDB system variables at startup (#6791) 2023-04-18 11:02:33 -04:00
sysvars_test.go SA: Check MariaDB system variables at startup (#6791) 2023-04-18 11:02:33 -04:00
type-converter.go sa: truncate times in type converter (#7556) 2024-06-24 11:26:34 -07:00
type-converter_test.go sa: truncate times in type converter (#7556) 2024-06-24 11:26:34 -07:00