diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-12-15 13:52:20 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-12-15 13:52:20 +0100 |
commit | b8fa2938eb4bc87807cc4ecb9b1a45ac06001dde (patch) | |
tree | 1ab9c0b46aa257964cc93dfc34a505e1d8fd3021 /lib/session_pack.c | |
parent | a0b77271d9dc4a1e27f4ee3adff28c37b43a236e (diff) | |
download | gnutls-b8fa2938eb4bc87807cc4ecb9b1a45ac06001dde.tar.gz |
make sure gnutls_assert is present at the cases where GNUTLS_E_INTERNAL_ERROR is returned
Diffstat (limited to 'lib/session_pack.c')
-rw-r--r-- | lib/session_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/session_pack.c b/lib/session_pack.c index 19229b70d9..e49b32c54f 100644 --- a/lib/session_pack.c +++ b/lib/session_pack.c @@ -136,7 +136,7 @@ _gnutls_session_pack(gnutls_session_t session, } break; default: - return GNUTLS_E_INTERNAL_ERROR; + return gnutls_assert_val(GNUTLS_E_INTERNAL_ERROR); } |