diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-09-30 17:02:20 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-09-30 17:02:20 +0200 |
commit | ed43144eb039f5a1bf9d5609b73e390256fe0c15 (patch) | |
tree | 6ba7bcc33f36f9274d3ce4b7efd766a8845d8bf3 | |
parent | c199a1ec5bfa98c5c9f2779b87565981966da0fa (diff) | |
download | gnutls-ed43144eb039f5a1bf9d5609b73e390256fe0c15.tar.gz |
Don't return from void functions.
Reported by Dagobert Michelsen <dam@opencsw.org>
in <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4566>.
-rw-r--r-- | lib/crypto-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto-api.c b/lib/crypto-api.c index 183fcb36e6..e6a4a5afed 100644 --- a/lib/crypto-api.c +++ b/lib/crypto-api.c @@ -182,7 +182,7 @@ gnutls_hmac (gnutls_hmac_hd_t handle, const void *text, size_t textlen) void gnutls_hmac_output (gnutls_hmac_hd_t handle, void *digest) { - return _gnutls_hmac_output ((digest_hd_st *) handle, digest); + _gnutls_hmac_output ((digest_hd_st *) handle, digest); } /** @@ -303,7 +303,7 @@ gnutls_hash (gnutls_hash_hd_t handle, const void *text, size_t textlen) void gnutls_hash_output (gnutls_hash_hd_t handle, void *digest) { - return _gnutls_hash_output ((digest_hd_st *) handle, digest); + _gnutls_hash_output ((digest_hd_st *) handle, digest); } /** |