Home GnuPG
Diffusion GpgOL 623b0a478217

Replace usage of deprecated Error::asString()

Description

Replace usage of deprecated Error::asString()

* src/addin-options.cpp (open_gpgolconfig): Call asStdString().c_str()
instead of asString().
* src/addressbook.cpp (open_keyadder): Ditto.
* src/cryptcontroller.cpp (CryptController::resolve_keys,
CryptController::do_crypto): Ditto.
* src/keycache.cpp (do_import, do_populate_protocol, gpgsm_learn):
Ditto.
* src/wks-helper.cpp (check_published, do_check,
WKSHelper::start_publish, WKSHelper::handle_confirmation_notify): Ditto.
* src/mail.cpp (do_crypt): Ditto.
(Mail::getCryptoDetails_o): Call asStdString() instead of asString().
* src/parsecontroller.cpp (format_error): Ditto.

This fixes the deprecation warnings that fly by when building gpg4win.

Details

Provenance
ikloeckerAuthored on Thu, Jan 23, 3:11 PM
Parents
rOc6b5136baf53: build: Explicitly look for gpgmepp
Branches
Unknown
Tags
Unknown
References
HEAD -> master