diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-04 13:02:02 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-04 13:02:02 +0000 |
commit | b7a24d3f0b00b212cf3b575cd0e45ea4a07e971f (patch) | |
tree | c2b2fd15a38b7b510914c10641376f628162ebee /lib/gnutls_ui.c | |
parent | 4b04282504153b2d33ebd039c6422b7f2666f182 (diff) | |
download | gnutls-b7a24d3f0b00b212cf3b575cd0e45ea4a07e971f.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib/gnutls_ui.c')
-rw-r--r-- | lib/gnutls_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index d0329e3e44..9f84f19992 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -293,7 +293,7 @@ int gnutls_fingerprint(gnutls_digest_algorithm algo, const gnutls_datum* data, GNUTLS_HASH_HANDLE td; int hash_len = _gnutls_hash_get_algo_len(algo); - if (hash_len < 0 || hash_len > *result_size || + if (hash_len < 0 || (uint)hash_len > *result_size || result==NULL) { *result_size = hash_len; |