Changeset 78a2f1e
- Timestamp:
- 2010-04-26T22:47:35Z (15 years ago)
- Branches:
- master
- Children:
- 288b215
- Parents:
- c42e8b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/oauth.c
rc42e8b9 r78a2f1e 108 108 { 109 109 unsigned char bytes[9]; 110 char *ret; 110 111 111 112 random_bytes( bytes, sizeof( bytes ) ); 112 return base64_encode( bytes, sizeof( bytes ) ); 113 ret = base64_encode( bytes, sizeof( bytes ) ); 114 ret = g_realloc( ret, strlen( ret ) * 3 + 1 ); 115 http_encode( ret ); 116 117 return ret; 113 118 } 114 119
Note: See TracChangeset
for help on using the changeset viewer.