diff options
Diffstat (limited to 'epan/dissectors/packet-tls-utils.c')
-rw-r--r-- | epan/dissectors/packet-tls-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tls-utils.c b/epan/dissectors/packet-tls-utils.c index ef2b203fb4..a271be9261 100644 --- a/epan/dissectors/packet-tls-utils.c +++ b/epan/dissectors/packet-tls-utils.c @@ -6322,7 +6322,7 @@ ssldecrypt_uat_fld_fileopen_chk_cb(void* r _U_, const char* p, guint len _U_, co return FALSE; } else { if (ws_stat64(p, &st) != 0) { - *err = g_strdup_printf("File '%s' does not exist or access is denied.", p); + *err = ws_strdup_printf("File '%s' does not exist or access is denied.", p); return FALSE; } } @@ -6345,7 +6345,7 @@ ssldecrypt_uat_fld_password_chk_cb(void *r _U_, const char *p _U_, guint len _U_ gnutls_x509_privkey_t priv_key = rsa_load_pkcs12(fp, p, &msg); if (!priv_key) { fclose(fp); - *err = g_strdup_printf("Could not load PKCS#12 key file: %s", msg); + *err = ws_strdup_printf("Could not load PKCS#12 key file: %s", msg); g_free(msg); return FALSE; } @@ -6353,7 +6353,7 @@ ssldecrypt_uat_fld_password_chk_cb(void *r _U_, const char *p _U_, guint len _U_ gnutls_x509_privkey_deinit(priv_key); fclose(fp); } else { - *err = g_strdup_printf("Leave this field blank if the keyfile is not PKCS#12."); + *err = ws_strdup_printf("Leave this field blank if the keyfile is not PKCS#12."); return FALSE; } } |