commit | d7761bbc118576cf4141d0e33f3c53157da63243 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sat Apr 14 01:42:05 2012 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sat Apr 14 01:42:05 2012 +0000 |
tree | 03ea59fa9925077f49a89305ae36575335d91426 | |
parent | e7452651d473ea45aa985c66ce8e9c95a96c3b5a [diff] [blame] |
diff --git a/MagickWand/operation.c b/MagickWand/operation.c index e904e03..6e12e14 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c
@@ -1277,7 +1277,7 @@ { if (IfMagickFalse(IsGeometry(arg1))) CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); - SeedPseudoRandomGenerator( + SetRandomSecretKey( IfSetOption ? (size_t) StringToUnsignedLong(arg1) : (size_t) time((time_t *) NULL) ); break;