llc: Log error loading gprs chiper plugins

Change-Id: Ie0438b444c2aff8991736806256fb67b59ee8bcc
This commit is contained in:
Pau Espin 2023-01-09 18:41:50 +01:00
parent f4256b74d3
commit df5a72f556
1 changed files with 3 additions and 1 deletions

View File

@ -126,8 +126,10 @@ int osmo_gprs_llc_init(enum osmo_gprs_llc_location location, const char *cipher_
int rc;
OSMO_ASSERT(location == OSMO_GPRS_LLC_LOCATION_MS || location == OSMO_GPRS_LLC_LOCATION_SGSN)
if ((rc = gprs_cipher_load(cipher_plugin_path)) != 0)
if ((rc = gprs_cipher_load(cipher_plugin_path)) != 0) {
LOGLLC(LOGL_NOTICE, "Failed loading GPRS cipher plugins from %s\n", cipher_plugin_path);
return rc;
}
if (g_ctx)
talloc_free(g_ctx);