[shotwell] publishing: Remove reference to external hmac_sha1
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] publishing: Remove reference to external hmac_sha1
- Date: Fri, 5 Aug 2016 22:13:59 +0000 (UTC)
commit db933a76ec9badccef24d02144700fea92465650
Author: Jens Georg <mail jensge org>
Date: Fri Aug 5 23:35:59 2016 +0200
publishing: Remove reference to external hmac_sha1
Flicker had another external reference I overlooked.
Signed-off-by: Jens Georg <mail jensge org>
plugins/shotwell-publishing/FlickrPublishing.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/shotwell-publishing/FlickrPublishing.vala
b/plugins/shotwell-publishing/FlickrPublishing.vala
index 36762d8..415e36a 100644
--- a/plugins/shotwell-publishing/FlickrPublishing.vala
+++ b/plugins/shotwell-publishing/FlickrPublishing.vala
@@ -4,8 +4,6 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
-extern string hmac_sha1(string key, string message);
-
public class FlickrService : Object, Spit.Pluggable, Spit.Publishing.Service {
private const string ICON_FILENAME = "flickr.png";
@@ -1030,7 +1028,7 @@ internal class Session : Publishing.RESTSupport.Session {
debug("signing key = '%s'", signing_key);
// compute the signature
- string signature = hmac_sha1(signing_key, signature_base_string);
+ string signature = RESTSupport.hmac_sha1(signing_key, signature_base_string);
signature = Soup.URI.encode(signature, ENCODE_RFC_3986_EXTRA);
debug("signature = '%s'", signature);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]