Change function call according to current API.
authorBodo Möller <bodo@openssl.org>
Thu, 27 May 1999 20:49:27 +0000 (20:49 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 27 May 1999 20:49:27 +0000 (20:49 +0000)
CHANGES
demos/prime/prime.c

diff --git a/CHANGES b/CHANGES
index 99bfa908d7206335ac2a07803ee7a4ec6f9bc8e8..a57b85e9613a5356b52b5f772815ff9c2626dd39 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,21 @@
  _______________
 
 
+ Changes between 0.9.3 and 0.9.3a [?]  [xx May? 1999]
+
+  *) Updates for Win32 to assembler version of MD5.
+     [Steve Henson]
+
+  *) Set #! path to perl in apps/der_chop to where we found it
+     instead of using a fixed path.
+     [Bodo Moeller]
+
+  *) SHA library changes for irix64-mips4-cc.
+     [Andy Polyakov]
+
+  *) Improvements for VMS support.
+     [Richard Levitte]
+
  Changes between 0.9.2b and 0.9.3  [24 May 1999]
 
   *) Bignum library bug fix. IRIX 6 passes "make test" now!
index a1bf507b7c44f33d314b8df6f02012f8dc3c1659..103e0efc0cda6d34db18f1fc8499e2ea558ad753 100644 (file)
@@ -57,6 +57,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <openssl/bn.h>    
 
 void callback(type,num)
@@ -87,8 +88,8 @@ char *argv[];
                }
 
        fprintf(stderr,"generate a strong prime\n");
-       rand=BN_generate_prime(num,1,NULL,NULL,callback);
-       /* change the second parameter to 1 for a strong prime */
+        rand=BN_generate_prime(NULL,num,1,NULL,NULL,callback,NULL);
+       /* change the third parameter to 1 for a strong prime */
        fprintf(stderr,"\n");
 
        BN_print_fp(stdout,rand);