Changeset 4787:6f1eddd188c1 in roaraudio
- Timestamp:
- 03/11/11 03:02:58 (13 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/authfile.h
r4708 r4787 77 77 struct roar_authfile_key * roar_authfile_lookup_key(struct roar_authfile * authfile, int type, int minindex, const char * address); 78 78 79 struct roar_authfile_key * roar_authfile_key_new_random(int type, size_t len, const char * addr); 80 79 81 #endif 80 82 -
libroar/authfile.c
r4786 r4787 263 263 } 264 264 265 struct roar_authfile_key * roar_authfile_key_new_random(int type, size_t len, const char * addr) { 266 struct roar_authfile_key * ret = roar_authfile_key_new(type, len, addr); 267 268 if ( ret == NULL ) 269 return NULL; 270 271 roar_random_gen_nonce(ret->data, ret->len); 272 273 return ret; 274 } 275 265 276 //ll
Note: See TracChangeset
for help on using the changeset viewer.