From be9d24cd8beddc1d48e63d774164e983f5f68dd1 Mon Sep 17 00:00:00 2001 From: "Maxim [maxirmx] Samsonov" Date: Mon, 3 Jun 2024 11:47:44 +0300 Subject: [PATCH] libsexpp update (3) --- src/librekey/key_store_g10.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librekey/key_store_g10.cpp b/src/librekey/key_store_g10.cpp index fd90479240..2f3ef08fb7 100644 --- a/src/librekey/key_store_g10.cpp +++ b/src/librekey/key_store_g10.cpp @@ -805,7 +805,7 @@ g23_parse_seckey(pgp_key_pkt_t &seckey, return false; } - auto & alg_bt = alg_s_exp->sexp_string_at(0)->get_string().as_string(); + auto alg_bt = alg_s_exp->sexp_string_at(0)->get_string().as_string(); pgp_pubkey_alg_t alg = static_cast( id_str_pair::lookup(g10_alg_aliases, alg_bt.c_str(), PGP_PKA_NOTHING)); if (alg == PGP_PKA_NOTHING) {