diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-09-20 15:54:28 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-09-20 15:54:28 +0200 |
commit | 5b9cdbd21094915172273834528aaf67c5500a44 (patch) | |
tree | 5a61880c24d91dd249adfa897d756c720be0f11e /src/cli.c | |
parent | df373bf9deed993aaa9e39f74afb4801e7e06526 (diff) | |
download | gnutls-5b9cdbd21094915172273834528aaf67c5500a44.tar.gz |
Fix crash.
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -537,8 +537,9 @@ init_tls_session (const char *hostname) #endif #ifdef ENABLE_OPRFI - gnutls_oprfi_enable_client (session, strlen (info.opaque_prf_input), - info.opaque_prf_input); + if (info.opaque_prf_input) + gnutls_oprfi_enable_client (session, strlen (info.opaque_prf_input), + info.opaque_prf_input); #endif return session; |