Commits

Andreas Tscharner committed 715a4fe

Updated ExtractText exmaple with a password from file

Comments (0)

Files changed (3)

src/example/ExtractText.cxx

 
 int main(int argc, char **argv)
 {
-	const unsigned char PWD[] = "Yadda";
+	const unsigned char PWD[] = "MyVeryVerySecret$%734Password\n";
 
 	ResourceManager *texts;
 	Resource *singleText;

src/example/Makefile.am

 ShowImage_DEPENDENCIES = OSLogos.rdf
 if !NO_ENCRYPTION
 ShowImage_DEPENDENCIES += logos.rdf
-ExtractText_LRC_OPTS = -e Serpent -p Yadda
+ExtractText_LRC_OPTS = -e Serpent -p @Password
 else
 ExtractText_LRC_OPTS =
 endif
 
 #
 # Add all data into package
-EXTRA_DIST = RIFExample.sh logos.rc texts.rc OSLogos.rif Password.txt data
+EXTRA_DIST = RIFExample.sh logos.rc texts.rc OSLogos.rif Password.txt Password data
 
 #
 # Create text.rdf files from text.rc

src/example/Password

+Password.txt