Changeset 1272:905b3fd3c02b in roaraudio
- Timestamp:
- 02/27/09 16:39:13 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/pgptest.c
r1270 r1272 47 47 roar_vio_write(&pgp, STRING, strlen(STRING)); 48 48 49 /* 50 while ((len = roar_vio_read(&zcat, buf, BUF_MAX))) 49 roar_vio_close(&pgp); 50 51 52 if ( roar_vio_open_file(&file, FILENAME, O_RDONLY, 0666) == -1 ) { 53 ROAR_ERR("roar_vio_open_file(&file, FILENAME, O_RDONLY, 0666) = -1"); 54 return 1; 55 } 56 57 if ( roar_vio_open_pgp_decrypt(&pgp, &file, PASSWORD) == -1 ) { 58 ROAR_ERR("roar_vio_open_pgp_decrypt(&pgp, &file, PASSWORD) = -1"); 59 return 1; 60 } 61 62 while ((len = roar_vio_read(&pgp, buf, BUF_MAX))) 51 63 write(ROAR_STDOUT, buf, len); 52 */53 64 54 65 roar_vio_close(&pgp);
Note: See TracChangeset
for help on using the changeset viewer.