New upstream release
[debian/bti.git] / debian / patches / identi.ca-oauth.patch
1 Description: s/http/https/ in identi.ca OAuth URIs
2 Origin: https://github.com/amir/bti/commit/7ac5a2449ed44f84193a6cf42bfea3282608a77c
3 Bug-Debian: http://bugs.debian.org/602507
4 Author: Amir Mohammad Saied <amirsaied@gmail.com>
5 Reviewed-by: gregor herrmann <gregoa@debian.org>
6 Last-Update: 2011-10-25
7
8 --- a/bti.c
9 +++ b/bti.c
10 @@ -255,9 +255,9 @@
11  static const char twitter_request_token_uri[]  = "http://twitter.com/oauth/request_token";
12  static const char twitter_access_token_uri[]   = "http://twitter.com/oauth/access_token";
13  static const char twitter_authorize_uri[]      = "http://twitter.com/oauth/authorize?oauth_token=";
14 -static const char identica_request_token_uri[] = "http://identi.ca/api/oauth/request_token?oauth_callback=oob";
15 -static const char identica_access_token_uri[]  = "http://identi.ca/api/oauth/access_token";
16 -static const char identica_authorize_uri[]     = "http://identi.ca/api/oauth/authorize?oauth_token=";
17 +static const char identica_request_token_uri[] = "https://identi.ca/api/oauth/request_token?oauth_callback=oob";
18 +static const char identica_access_token_uri[]  = "https://identi.ca/api/oauth/access_token";
19 +static const char identica_authorize_uri[]     = "https://identi.ca/api/oauth/authorize?oauth_token=";
20  
21  static const char user_uri[]     = "/user_timeline/";
22  static const char update_uri[]   = "/update.xml";