There have been a number of complaints from a number of sources that names
[openssl.git] / apps / dsaparam.c
index 4d4e1ad2b500826af400ae05d50029f7fd6ee6e8..a15d6ea3096714abbdb3e81e67fe1fe9d875316f 100644 (file)
@@ -260,10 +260,10 @@ bad:
                bits_p=BN_num_bits(dsa->p);
                bits_q=BN_num_bits(dsa->q);
                bits_g=BN_num_bits(dsa->g);
-               data=(unsigned char *)Malloc(len+20);
+               data=(unsigned char *)OPENSSL_malloc(len+20);
                if (data == NULL)
                        {
-                       perror("Malloc");
+                       perror("OPENSSL_malloc");
                        goto end;
                        }
                l=BN_bn2bin(dsa->p,data);