summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@mandelbit.com>2026-09-15 11:15:48 +0200
committerAntonio Quartulli <antonio@mandelbit.com>2026-09-27 20:01:05 +0200
commit41f7da6633d3270468027ab387e3bfbcab4157c6 (patch)
treef2af347d2b7e9946928bda540f6c3307bface745 /src/migration-scripts
parente7c3eae69237d3e07de7166024b57cf9e75ab573 (diff)
downloadvyos-1x-41f7da6633d3270468027ab387e3bfbcab4157c6.tar.gz
vyos-1x-41f7da6633d3270468027ab387e3bfbcab4157c6.zip
pki: T9323: make the elliptic curve fallback reachable
The "default to SECP256R1" branch stored an instance where the other branch stored the class, so the shared call at the end invoked the instance and raised "'SECP256R1' object is not callable". Any curve size without a matching SECP<size>R1 - the very case the default exists for - aborted instead of falling back. Take the default through getattr() so both paths carry the class.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions